/*
* DDK definitions for serial port
*
* Copyright (C) 2006 Eric Pouech
* From w32api package
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef _NTDDSER_H_
#define _NTDDSER_H_
#ifdef __cplusplus
extern "C" {
#endif
#define IOCTL_SERIAL_CLEAR_STATS \
#define IOCTL_SERIAL_CLR_DTR \
#define IOCTL_SERIAL_CLR_RTS \
#define IOCTL_SERIAL_CONFIG_SIZE \
#define IOCTL_SERIAL_GET_BAUD_RATE \
#define IOCTL_SERIAL_GET_CHARS \
#define IOCTL_SERIAL_GET_COMMSTATUS \
#define IOCTL_SERIAL_GET_DTRRTS \
#define IOCTL_SERIAL_GET_HANDFLOW \
#define IOCTL_SERIAL_GET_LINE_CONTROL \
#define IOCTL_SERIAL_GET_MODEM_CONTROL \
#define IOCTL_SERIAL_GET_MODEMSTATUS \
#define IOCTL_SERIAL_GET_PROPERTIES \
#define IOCTL_SERIAL_GET_STATS \
#define IOCTL_SERIAL_GET_TIMEOUTS \
#define IOCTL_SERIAL_GET_WAIT_MASK \
#define IOCTL_SERIAL_IMMEDIATE_CHAR \
#ifndef IOCTL_SERIAL_LSRMST_INSERT
/* it's already defined in winioctl.h */
#define IOCTL_SERIAL_LSRMST_INSERT \
#endif
#define IOCTL_SERIAL_PURGE \
#define IOCTL_SERIAL_RESET_DEVICE \
#define IOCTL_SERIAL_SET_BAUD_RATE \
#define IOCTL_SERIAL_SET_BREAK_ON \
#define IOCTL_SERIAL_SET_BREAK_OFF \
#define IOCTL_SERIAL_SET_CHARS \
#define IOCTL_SERIAL_SET_DTR \
#define IOCTL_SERIAL_SET_FIFO_CONTROL \
#define IOCTL_SERIAL_SET_HANDFLOW \
#define IOCTL_SERIAL_SET_LINE_CONTROL \
#define IOCTL_SERIAL_SET_MODEM_CONTROL \
#define IOCTL_SERIAL_SET_QUEUE_SIZE \
#define IOCTL_SERIAL_SET_RTS \
#define IOCTL_SERIAL_SET_TIMEOUTS \
#define IOCTL_SERIAL_SET_WAIT_MASK \
#define IOCTL_SERIAL_SET_XOFF \
#define IOCTL_SERIAL_SET_XON \
#define IOCTL_SERIAL_WAIT_ON_MASK \
#define IOCTL_SERIAL_XOFF_COUNTER \
typedef struct _SERIAL_BAUD_RATE
{
/* SERIAL_BAUD_RATE.BaudRate constants */
typedef struct _SERIAL_CHARS
{
typedef struct _SERIAL_STATUS
{
typedef struct _SERIAL_HANDFLOW
{
typedef struct _SERIAL_LINE_CONTROL
{
/* SERIAL_LINE_CONTROL.StopBits constants */
/* SERIAL_LINE_CONTROL.Parity constants */
/* IOCTL_SERIAL_(GET_MODEM_CONTROL, SET_MODEM_CONTROL) flags */
typedef struct _SERIAL_COMMPROP
{
/* SERIAL_COMMPROP.SettableParams flags */
/* SERIAL_COMMPROP.ProvCapabilities flags */
/* SERIAL_COMMPROP.SettableData flags */
/* SERIAL_COMMPROP.SettableStopParity flags */
typedef struct _SERIALPERF_STATS
{
typedef struct _SERIAL_TIMEOUTS
{
/* IOCTL_SERIAL_(GET_WAIT_MASK, SET_WAIT_MASK, WAIT_ON_MASK) flags */
/* IOCTL_SERIAL_LSRMST_INSERT constants */
/* IOCTL_SERIAL_PURGE constants */
/* IOCTL_SERIAL_SET_FIFO_CONTROL constants */
typedef struct _SERIAL_QUEUE_SIZE
{
typedef struct _SERIAL_XOFF_COUNTER
{
typedef struct _SERIAL_BASIC_SETTINGS
{
typedef struct _SERIALCONFIG
{
#ifdef __cplusplus
}
#endif
#endif /* _NTDDSER_H_ */