ReactOS 0.4.16-dev-329-g9223134
ntddser.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SERIAL_BAUD_RATE
 
struct  _SERIAL_CHARS
 
struct  _SERIAL_STATUS
 
struct  _SERIAL_HANDFLOW
 
struct  _SERIAL_LINE_CONTROL
 
struct  _SERIAL_COMMPROP
 
struct  _SERIALPERF_STATS
 
struct  _SERIAL_TIMEOUTS
 
struct  _SERIAL_QUEUE_SIZE
 
struct  _SERIAL_XOFF_COUNTER
 
struct  _SERIAL_BASIC_SETTINGS
 
struct  _SERENUM_PORT_DESC
 
struct  _SERENUM_PORT_PARAMETERS
 
struct  _SERIALCONFIG
 

Macros

#define GUID_CLASS_COMPORT   GUID_DEVINTERFACE_COMPORT
 
#define GUID_SERENUM_BUS_ENUMERATOR   GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR
 
#define IOCTL_SERIAL_CLEAR_STATS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 36, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_CLR_DTR    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 10, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_CLR_RTS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 13, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_CONFIG_SIZE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 32, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_BAUD_RATE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 20, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_CHARS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 22, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_COMMSTATUS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 27, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_DTRRTS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 30, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_HANDFLOW    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 24, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_LINE_CONTROL    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 21, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_MODEM_CONTROL    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 37, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_MODEMSTATUS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 26, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_PROPERTIES    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 29, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_STATS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 35, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_TIMEOUTS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_GET_WAIT_MASK    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 16, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_IMMEDIATE_CHAR    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_LSRMST_INSERT    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 31, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_PURGE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 19, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_RESET_DEVICE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 11, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_BAUD_RATE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_BREAK_ON    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_BREAK_OFF    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_CHARS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 23, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_DTR    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 9, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_FIFO_CONTROL    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 39, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_HANDFLOW    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 25, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_LINE_CONTROL    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_MODEM_CONTROL    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 38, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_QUEUE_SIZE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_RTS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_TIMEOUTS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_WAIT_MASK    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 17, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_XOFF    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 14, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_SET_XON    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 15, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_WAIT_ON_MASK    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 18, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_XOFF_COUNTER    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 28, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_INTERNAL_BASIC_SETTINGS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_INTERNAL_CANCEL_WAIT_WAKE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_INTERNAL_DO_WAIT_WAKE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERIAL_INTERNAL_RESTORE_SETTINGS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERENUM_PORT_DESC    CTL_CODE (FILE_DEVICE_SERENUM, 130, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SERENUM_GET_PORT_NAME    CTL_CODE (FILE_DEVICE_SERENUM, 131, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_INTERNAL_SERENUM_REMOVE_SELF    CTL_CODE (FILE_DEVICE_SERENUM, 129, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define SERIAL_BAUD_075   0x00000001
 
#define SERIAL_BAUD_110   0x00000002
 
#define SERIAL_BAUD_134_5   0x00000004
 
#define SERIAL_BAUD_150   0x00000008
 
#define SERIAL_BAUD_300   0x00000010
 
#define SERIAL_BAUD_600   0x00000020
 
#define SERIAL_BAUD_1200   0x00000040
 
#define SERIAL_BAUD_1800   0x00000080
 
#define SERIAL_BAUD_2400   0x00000100
 
#define SERIAL_BAUD_4800   0x00000200
 
#define SERIAL_BAUD_7200   0x00000400
 
#define SERIAL_BAUD_9600   0x00000800
 
#define SERIAL_BAUD_14400   0x00001000
 
#define SERIAL_BAUD_19200   0x00002000
 
#define SERIAL_BAUD_38400   0x00004000
 
#define SERIAL_BAUD_56K   0x00008000
 
#define SERIAL_BAUD_128K   0x00010000
 
#define SERIAL_BAUD_115200   0x00020000
 
#define SERIAL_BAUD_57600   0x00040000
 
#define SERIAL_BAUD_USER   0x10000000
 
#define SERIAL_DTR_MASK   0x00000003
 
#define SERIAL_DTR_CONTROL   0x00000001
 
#define SERIAL_DTR_HANDSHAKE   0x00000002
 
#define SERIAL_CTS_HANDSHAKE   0x00000008
 
#define SERIAL_DSR_HANDSHAKE   0x00000010
 
#define SERIAL_DCD_HANDSHAKE   0x00000020
 
#define SERIAL_OUT_HANDSHAKEMASK   0x00000038
 
#define SERIAL_DSR_SENSITIVITY   0x00000040
 
#define SERIAL_ERROR_ABORT   0x80000000
 
#define SERIAL_CONTROL_INVALID   0x7fffff84
 
#define SERIAL_AUTO_TRANSMIT   0x00000001
 
#define SERIAL_AUTO_RECEIVE   0x00000002
 
#define SERIAL_ERROR_CHAR   0x00000004
 
#define SERIAL_NULL_STRIPPING   0x00000008
 
#define SERIAL_BREAK_CHAR   0x00000010
 
#define SERIAL_RTS_MASK   0x000000c0
 
#define SERIAL_RTS_CONTROL   0x00000040
 
#define SERIAL_RTS_HANDSHAKE   0x00000080
 
#define SERIAL_TRANSMIT_TOGGLE   0x000000c0
 
#define SERIAL_XOFF_CONTINUE   0x80000000
 
#define SERIAL_FLOW_INVALID   0x7fffff20
 
#define STOP_BIT_1   0x00
 
#define STOP_BITS_1_5   0x01
 
#define STOP_BITS_2   0x02
 
#define NO_PARITY   0x00
 
#define ODD_PARITY   0x01
 
#define EVEN_PARITY   0x02
 
#define MARK_PARITY   0x03
 
#define SPACE_PARITY   0x04
 
#define SERIAL_IOC_MCR_DTR   0x00000001
 
#define SERIAL_IOC_MCR_RTS   0x00000002
 
#define SERIAL_IOC_MCR_OUT1   0x00000004
 
#define SERIAL_IOC_MCR_OUT2   0x00000008
 
#define SERIAL_IOC_MCR_LOOP   0x00000010
 
#define SERIAL_SP_PARITY   0x0001
 
#define SERIAL_SP_BAUD   0x0002
 
#define SERIAL_SP_DATABITS   0x0004
 
#define SERIAL_SP_STOPBITS   0x0008
 
#define SERIAL_SP_HANDSHAKING   0x0010
 
#define SERIAL_SP_PARITY_CHECK   0x0020
 
#define SERIAL_SP_CARRIER_DETECT   0x0040
 
#define SERIAL_PCF_DTRDSR   0x00000001
 
#define SERIAL_PCF_RTSCTS   0x00000002
 
#define SERIAL_PCF_CD   0x00000004
 
#define SERIAL_PCF_PARITY_CHECK   0x00000008
 
#define SERIAL_PCF_XONXOFF   0x00000010
 
#define SERIAL_PCF_SETXCHAR   0x00000020
 
#define SERIAL_PCF_TOTALTIMEOUTS   0x00000040
 
#define SERIAL_PCF_INTTIMEOUTS   0x00000080
 
#define SERIAL_PCF_SPECIALCHARS   0x00000100
 
#define SERIAL_PCF_16BITMODE   0x00000200
 
#define SERIAL_DATABITS_5   0x0001
 
#define SERIAL_DATABITS_6   0x0002
 
#define SERIAL_DATABITS_7   0x0004
 
#define SERIAL_DATABITS_8   0x0008
 
#define SERIAL_DATABITS_16   0x0010
 
#define SERIAL_DATABITS_16X   0x0020
 
#define SERIAL_STOPBITS_10   0x0001
 
#define SERIAL_STOPBITS_15   0x0002
 
#define SERIAL_STOPBITS_20   0x0004
 
#define SERIAL_PARITY_NONE   0x0100
 
#define SERIAL_PARITY_ODD   0x0200
 
#define SERIAL_PARITY_EVEN   0x0400
 
#define SERIAL_PARITY_MARK   0x0800
 
#define SERIAL_PARITY_SPACE   0x1000
 
#define SERIAL_EV_RXCHAR   0x0001
 
#define SERIAL_EV_RXFLAG   0x0002
 
#define SERIAL_EV_TXEMPTY   0x0004
 
#define SERIAL_EV_CTS   0x0008
 
#define SERIAL_EV_DSR   0x0010
 
#define SERIAL_EV_RLSD   0x0020
 
#define SERIAL_EV_BREAK   0x0040
 
#define SERIAL_EV_ERR   0x0080
 
#define SERIAL_EV_RING   0x0100
 
#define SERIAL_EV_PERR   0x0200
 
#define SERIAL_EV_RX80FULL   0x0400
 
#define SERIAL_EV_EVENT1   0x0800
 
#define SERIAL_EV_EVENT2   0x1000
 
#define SERIAL_LSRMST_LSR_DATA   0x01
 
#define SERIAL_LSRMST_LSR_NODATA   0x02
 
#define SERIAL_LSRMST_MST   0x03
 
#define SERIAL_LSRMST_ESCAPE   0x00
 
#define SERIAL_PURGE_TXABORT   0x00000001
 
#define SERIAL_PURGE_RXABORT   0x00000002
 
#define SERIAL_PURGE_TXCLEAR   0x00000004
 
#define SERIAL_PURGE_RXCLEAR   0x00000008
 
#define SERIAL_IOC_FCR_FIFO_ENABLE   0x00000001
 
#define SERIAL_IOC_FCR_RCVR_RESET   0x00000002
 
#define SERIAL_IOC_FCR_XMIT_RESET   0x00000004
 
#define SERIAL_IOC_FCR_DMA_MODE   0x00000008
 
#define SERIAL_IOC_FCR_RES1   0x00000010
 
#define SERIAL_IOC_FCR_RES2   0x00000020
 
#define SERIAL_IOC_FCR_RCVR_TRIGGER_LSB   0x00000040
 
#define SERIAL_IOC_FCR_RCVR_TRIGGER_MSB   0x00000080
 
#define SERIAL_ERROR_BREAK   0x00000001
 
#define SERIAL_ERROR_FRAMING   0x00000002
 
#define SERIAL_ERROR_OVERRUN   0x00000004
 
#define SERIAL_ERROR_QUEUEOVERRUN   0x00000008
 
#define SERIAL_ERROR_PARITY   0x00000010
 
#define SERIAL_SP_UNSPECIFIED   0x00000000
 
#define SERIAL_SP_RS232   0x00000001
 
#define SERIAL_SP_PARALLEL   0x00000002
 
#define SERIAL_SP_RS422   0x00000003
 
#define SERIAL_SP_RS423   0x00000004
 
#define SERIAL_SP_RS449   0x00000005
 
#define SERIAL_SP_MODEM   0X00000006
 
#define SERIAL_SP_FAX   0x00000021
 
#define SERIAL_SP_SCANNER   0x00000022
 
#define SERIAL_SP_BRIDGE   0x00000100
 
#define SERIAL_SP_LAT   0x00000101
 
#define SERIAL_SP_TELNET   0x00000102
 
#define SERIAL_SP_X25   0x00000103
 
#define SERIAL_SP_SERIALCOMM   0x00000001
 
#define SERIAL_TX_WAITING_FOR_CTS   0x00000001
 
#define SERIAL_TX_WAITING_FOR_DSR   0x00000002
 
#define SERIAL_TX_WAITING_FOR_DCD   0x00000004
 
#define SERIAL_TX_WAITING_FOR_XON   0x00000008
 
#define SERIAL_TX_WAITING_XOFF_SENT   0x00000010
 
#define SERIAL_TX_WAITING_ON_BREAK   0x00000020
 
#define SERIAL_RX_WAITING_FOR_DSR   0x00000040
 
#define SERIAL_DTR_STATE   0x00000001
 
#define SERIAL_RTS_STATE   0x00000002
 
#define SERIAL_CTS_STATE   0x00000010
 
#define SERIAL_DSR_STATE   0x00000020
 
#define SERIAL_RI_STATE   0x00000040
 
#define SERIAL_DCD_STATE   0x00000080
 

Typedefs

typedef struct _SERIAL_BAUD_RATE SERIAL_BAUD_RATE
 
typedef struct _SERIAL_BAUD_RATEPSERIAL_BAUD_RATE
 
typedef struct _SERIAL_CHARS SERIAL_CHARS
 
typedef struct _SERIAL_CHARSPSERIAL_CHARS
 
typedef struct _SERIAL_STATUS SERIAL_STATUS
 
typedef struct _SERIAL_STATUSPSERIAL_STATUS
 
typedef struct _SERIAL_HANDFLOW SERIAL_HANDFLOW
 
typedef struct _SERIAL_HANDFLOWPSERIAL_HANDFLOW
 
typedef struct _SERIAL_LINE_CONTROL SERIAL_LINE_CONTROL
 
typedef struct _SERIAL_LINE_CONTROLPSERIAL_LINE_CONTROL
 
typedef struct _SERIAL_COMMPROP SERIAL_COMMPROP
 
typedef struct _SERIAL_COMMPROPPSERIAL_COMMPROP
 
typedef struct _SERIALPERF_STATS SERIALPERF_STATS
 
typedef struct _SERIALPERF_STATSPSERIALPERF_STATS
 
typedef struct _SERIAL_TIMEOUTS SERIAL_TIMEOUTS
 
typedef struct _SERIAL_TIMEOUTSPSERIAL_TIMEOUTS
 
typedef struct _SERIAL_QUEUE_SIZE SERIAL_QUEUE_SIZE
 
typedef struct _SERIAL_QUEUE_SIZEPSERIAL_QUEUE_SIZE
 
typedef struct _SERIAL_XOFF_COUNTER SERIAL_XOFF_COUNTER
 
typedef struct _SERIAL_XOFF_COUNTERPSERIAL_XOFF_COUNTER
 
typedef struct _SERIAL_BASIC_SETTINGS SERIAL_BASIC_SETTINGS
 
typedef struct _SERIAL_BASIC_SETTINGSPSERIAL_BASIC_SETTINGS
 
typedef struct _SERENUM_PORT_DESC SERENUM_PORT_DESC
 
typedef struct _SERENUM_PORT_DESCPSERENUM_PORT_DESC
 
typedef UCHAR(NTAPIPSERENUM_READPORT) (PVOID SerPortAddress)
 
typedef VOID(NTAPIPSERENUM_WRITEPORT) (PVOID SerPortAddress, UCHAR Value)
 
typedef enum _SERENUM_PORTION SERENUM_PORTION
 
typedef struct _SERENUM_PORT_PARAMETERS SERENUM_PORT_PARAMETERS
 
typedef struct _SERENUM_PORT_PARAMETERSPSERENUM_PORT_PARAMETERS
 
typedef struct _SERIALCONFIG SERIALCONFIG
 
typedef struct _SERIALCONFIGPSERIALCONFIG
 

Enumerations

enum  _SERENUM_PORTION { SerenumFirstHalf , SerenumSecondHalf , SerenumWhole }
 

Functions

 DEFINE_GUID (GUID_DEVINTERFACE_COMPORT, 0x86e0d1e0L, 0x8089, 0x11d0, 0x9c, 0xe4, 0x08, 0x00, 0x3e, 0x30, 0x1f, 0x73)
 
 DEFINE_GUID (GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR, 0x4D36E978L, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18)
 

Macro Definition Documentation

◆ EVEN_PARITY

#define EVEN_PARITY   0x02

Definition at line 222 of file ntddser.h.

◆ GUID_CLASS_COMPORT

#define GUID_CLASS_COMPORT   GUID_DEVINTERFACE_COMPORT

Definition at line 35 of file ntddser.h.

◆ GUID_SERENUM_BUS_ENUMERATOR

#define GUID_SERENUM_BUS_ENUMERATOR   GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR

Definition at line 40 of file ntddser.h.

◆ IOCTL_INTERNAL_SERENUM_REMOVE_SELF

#define IOCTL_INTERNAL_SERENUM_REMOVE_SELF    CTL_CODE (FILE_DEVICE_SERENUM, 129, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 131 of file ntddser.h.

◆ IOCTL_SERENUM_GET_PORT_NAME

#define IOCTL_SERENUM_GET_PORT_NAME    CTL_CODE (FILE_DEVICE_SERENUM, 131, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 128 of file ntddser.h.

◆ IOCTL_SERENUM_PORT_DESC

#define IOCTL_SERENUM_PORT_DESC    CTL_CODE (FILE_DEVICE_SERENUM, 130, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 126 of file ntddser.h.

◆ IOCTL_SERIAL_CLEAR_STATS

#define IOCTL_SERIAL_CLEAR_STATS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 36, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 42 of file ntddser.h.

◆ IOCTL_SERIAL_CLR_DTR

Definition at line 44 of file ntddser.h.

◆ IOCTL_SERIAL_CLR_RTS

Definition at line 46 of file ntddser.h.

◆ IOCTL_SERIAL_CONFIG_SIZE

#define IOCTL_SERIAL_CONFIG_SIZE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 32, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 48 of file ntddser.h.

◆ IOCTL_SERIAL_GET_BAUD_RATE

#define IOCTL_SERIAL_GET_BAUD_RATE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 20, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 50 of file ntddser.h.

◆ IOCTL_SERIAL_GET_CHARS

Definition at line 52 of file ntddser.h.

◆ IOCTL_SERIAL_GET_COMMSTATUS

#define IOCTL_SERIAL_GET_COMMSTATUS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 27, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 54 of file ntddser.h.

◆ IOCTL_SERIAL_GET_DTRRTS

#define IOCTL_SERIAL_GET_DTRRTS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 30, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 56 of file ntddser.h.

◆ IOCTL_SERIAL_GET_HANDFLOW

#define IOCTL_SERIAL_GET_HANDFLOW    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 24, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 58 of file ntddser.h.

◆ IOCTL_SERIAL_GET_LINE_CONTROL

#define IOCTL_SERIAL_GET_LINE_CONTROL    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 21, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 60 of file ntddser.h.

◆ IOCTL_SERIAL_GET_MODEM_CONTROL

#define IOCTL_SERIAL_GET_MODEM_CONTROL    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 37, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 62 of file ntddser.h.

◆ IOCTL_SERIAL_GET_MODEMSTATUS

#define IOCTL_SERIAL_GET_MODEMSTATUS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 26, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 64 of file ntddser.h.

◆ IOCTL_SERIAL_GET_PROPERTIES

#define IOCTL_SERIAL_GET_PROPERTIES    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 29, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 66 of file ntddser.h.

◆ IOCTL_SERIAL_GET_STATS

Definition at line 68 of file ntddser.h.

◆ IOCTL_SERIAL_GET_TIMEOUTS

#define IOCTL_SERIAL_GET_TIMEOUTS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 70 of file ntddser.h.

◆ IOCTL_SERIAL_GET_WAIT_MASK

#define IOCTL_SERIAL_GET_WAIT_MASK    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 16, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 72 of file ntddser.h.

◆ IOCTL_SERIAL_IMMEDIATE_CHAR

#define IOCTL_SERIAL_IMMEDIATE_CHAR    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 74 of file ntddser.h.

◆ IOCTL_SERIAL_INTERNAL_BASIC_SETTINGS

#define IOCTL_SERIAL_INTERNAL_BASIC_SETTINGS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 117 of file ntddser.h.

◆ IOCTL_SERIAL_INTERNAL_CANCEL_WAIT_WAKE

#define IOCTL_SERIAL_INTERNAL_CANCEL_WAIT_WAKE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 119 of file ntddser.h.

◆ IOCTL_SERIAL_INTERNAL_DO_WAIT_WAKE

#define IOCTL_SERIAL_INTERNAL_DO_WAIT_WAKE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 121 of file ntddser.h.

◆ IOCTL_SERIAL_INTERNAL_RESTORE_SETTINGS

#define IOCTL_SERIAL_INTERNAL_RESTORE_SETTINGS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 123 of file ntddser.h.

◆ IOCTL_SERIAL_LSRMST_INSERT

#define IOCTL_SERIAL_LSRMST_INSERT    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 31, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 76 of file ntddser.h.

◆ IOCTL_SERIAL_PURGE

Definition at line 78 of file ntddser.h.

◆ IOCTL_SERIAL_RESET_DEVICE

#define IOCTL_SERIAL_RESET_DEVICE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 11, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 80 of file ntddser.h.

◆ IOCTL_SERIAL_SET_BAUD_RATE

#define IOCTL_SERIAL_SET_BAUD_RATE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 82 of file ntddser.h.

◆ IOCTL_SERIAL_SET_BREAK_OFF

#define IOCTL_SERIAL_SET_BREAK_OFF    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 86 of file ntddser.h.

◆ IOCTL_SERIAL_SET_BREAK_ON

#define IOCTL_SERIAL_SET_BREAK_ON    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 84 of file ntddser.h.

◆ IOCTL_SERIAL_SET_CHARS

Definition at line 88 of file ntddser.h.

◆ IOCTL_SERIAL_SET_DTR

Definition at line 90 of file ntddser.h.

◆ IOCTL_SERIAL_SET_FIFO_CONTROL

#define IOCTL_SERIAL_SET_FIFO_CONTROL    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 39, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 92 of file ntddser.h.

◆ IOCTL_SERIAL_SET_HANDFLOW

#define IOCTL_SERIAL_SET_HANDFLOW    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 25, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 94 of file ntddser.h.

◆ IOCTL_SERIAL_SET_LINE_CONTROL

#define IOCTL_SERIAL_SET_LINE_CONTROL    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 96 of file ntddser.h.

◆ IOCTL_SERIAL_SET_MODEM_CONTROL

#define IOCTL_SERIAL_SET_MODEM_CONTROL    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 38, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 98 of file ntddser.h.

◆ IOCTL_SERIAL_SET_QUEUE_SIZE

#define IOCTL_SERIAL_SET_QUEUE_SIZE    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 100 of file ntddser.h.

◆ IOCTL_SERIAL_SET_RTS

Definition at line 102 of file ntddser.h.

◆ IOCTL_SERIAL_SET_TIMEOUTS

#define IOCTL_SERIAL_SET_TIMEOUTS    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 104 of file ntddser.h.

◆ IOCTL_SERIAL_SET_WAIT_MASK

#define IOCTL_SERIAL_SET_WAIT_MASK    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 17, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 106 of file ntddser.h.

◆ IOCTL_SERIAL_SET_XOFF

Definition at line 108 of file ntddser.h.

◆ IOCTL_SERIAL_SET_XON

Definition at line 110 of file ntddser.h.

◆ IOCTL_SERIAL_WAIT_ON_MASK

#define IOCTL_SERIAL_WAIT_ON_MASK    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 18, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 112 of file ntddser.h.

◆ IOCTL_SERIAL_XOFF_COUNTER

#define IOCTL_SERIAL_XOFF_COUNTER    CTL_CODE (FILE_DEVICE_SERIAL_PORT, 28, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 114 of file ntddser.h.

◆ MARK_PARITY

#define MARK_PARITY   0x03

Definition at line 223 of file ntddser.h.

◆ NO_PARITY

#define NO_PARITY   0x00

Definition at line 220 of file ntddser.h.

◆ ODD_PARITY

#define ODD_PARITY   0x01

Definition at line 221 of file ntddser.h.

◆ SERIAL_AUTO_RECEIVE

#define SERIAL_AUTO_RECEIVE   0x00000002

Definition at line 197 of file ntddser.h.

◆ SERIAL_AUTO_TRANSMIT

#define SERIAL_AUTO_TRANSMIT   0x00000001

Definition at line 196 of file ntddser.h.

◆ SERIAL_BAUD_075

#define SERIAL_BAUD_075   0x00000001

Definition at line 140 of file ntddser.h.

◆ SERIAL_BAUD_110

#define SERIAL_BAUD_110   0x00000002

Definition at line 141 of file ntddser.h.

◆ SERIAL_BAUD_115200

#define SERIAL_BAUD_115200   0x00020000

Definition at line 157 of file ntddser.h.

◆ SERIAL_BAUD_1200

#define SERIAL_BAUD_1200   0x00000040

Definition at line 146 of file ntddser.h.

◆ SERIAL_BAUD_128K

#define SERIAL_BAUD_128K   0x00010000

Definition at line 156 of file ntddser.h.

◆ SERIAL_BAUD_134_5

#define SERIAL_BAUD_134_5   0x00000004

Definition at line 142 of file ntddser.h.

◆ SERIAL_BAUD_14400

#define SERIAL_BAUD_14400   0x00001000

Definition at line 152 of file ntddser.h.

◆ SERIAL_BAUD_150

#define SERIAL_BAUD_150   0x00000008

Definition at line 143 of file ntddser.h.

◆ SERIAL_BAUD_1800

#define SERIAL_BAUD_1800   0x00000080

Definition at line 147 of file ntddser.h.

◆ SERIAL_BAUD_19200

#define SERIAL_BAUD_19200   0x00002000

Definition at line 153 of file ntddser.h.

◆ SERIAL_BAUD_2400

#define SERIAL_BAUD_2400   0x00000100

Definition at line 148 of file ntddser.h.

◆ SERIAL_BAUD_300

#define SERIAL_BAUD_300   0x00000010

Definition at line 144 of file ntddser.h.

◆ SERIAL_BAUD_38400

#define SERIAL_BAUD_38400   0x00004000

Definition at line 154 of file ntddser.h.

◆ SERIAL_BAUD_4800

#define SERIAL_BAUD_4800   0x00000200

Definition at line 149 of file ntddser.h.

◆ SERIAL_BAUD_56K

#define SERIAL_BAUD_56K   0x00008000

Definition at line 155 of file ntddser.h.

◆ SERIAL_BAUD_57600

#define SERIAL_BAUD_57600   0x00040000

Definition at line 158 of file ntddser.h.

◆ SERIAL_BAUD_600

#define SERIAL_BAUD_600   0x00000020

Definition at line 145 of file ntddser.h.

◆ SERIAL_BAUD_7200

#define SERIAL_BAUD_7200   0x00000400

Definition at line 150 of file ntddser.h.

◆ SERIAL_BAUD_9600

#define SERIAL_BAUD_9600   0x00000800

Definition at line 151 of file ntddser.h.

◆ SERIAL_BAUD_USER

#define SERIAL_BAUD_USER   0x10000000

Definition at line 159 of file ntddser.h.

◆ SERIAL_BREAK_CHAR

#define SERIAL_BREAK_CHAR   0x00000010

Definition at line 200 of file ntddser.h.

◆ SERIAL_CONTROL_INVALID

#define SERIAL_CONTROL_INVALID   0x7fffff84

Definition at line 195 of file ntddser.h.

◆ SERIAL_CTS_HANDSHAKE

#define SERIAL_CTS_HANDSHAKE   0x00000008

Definition at line 189 of file ntddser.h.

◆ SERIAL_CTS_STATE

#define SERIAL_CTS_STATE   0x00000010

Definition at line 429 of file ntddser.h.

◆ SERIAL_DATABITS_16

#define SERIAL_DATABITS_16   0x0010

Definition at line 280 of file ntddser.h.

◆ SERIAL_DATABITS_16X

#define SERIAL_DATABITS_16X   0x0020

Definition at line 281 of file ntddser.h.

◆ SERIAL_DATABITS_5

#define SERIAL_DATABITS_5   0x0001

Definition at line 276 of file ntddser.h.

◆ SERIAL_DATABITS_6

#define SERIAL_DATABITS_6   0x0002

Definition at line 277 of file ntddser.h.

◆ SERIAL_DATABITS_7

#define SERIAL_DATABITS_7   0x0004

Definition at line 278 of file ntddser.h.

◆ SERIAL_DATABITS_8

#define SERIAL_DATABITS_8   0x0008

Definition at line 279 of file ntddser.h.

◆ SERIAL_DCD_HANDSHAKE

#define SERIAL_DCD_HANDSHAKE   0x00000020

Definition at line 191 of file ntddser.h.

◆ SERIAL_DCD_STATE

#define SERIAL_DCD_STATE   0x00000080

Definition at line 432 of file ntddser.h.

◆ SERIAL_DSR_HANDSHAKE

#define SERIAL_DSR_HANDSHAKE   0x00000010

Definition at line 190 of file ntddser.h.

◆ SERIAL_DSR_SENSITIVITY

#define SERIAL_DSR_SENSITIVITY   0x00000040

Definition at line 193 of file ntddser.h.

◆ SERIAL_DSR_STATE

#define SERIAL_DSR_STATE   0x00000020

Definition at line 430 of file ntddser.h.

◆ SERIAL_DTR_CONTROL

#define SERIAL_DTR_CONTROL   0x00000001

Definition at line 187 of file ntddser.h.

◆ SERIAL_DTR_HANDSHAKE

#define SERIAL_DTR_HANDSHAKE   0x00000002

Definition at line 188 of file ntddser.h.

◆ SERIAL_DTR_MASK

#define SERIAL_DTR_MASK   0x00000003

Definition at line 186 of file ntddser.h.

◆ SERIAL_DTR_STATE

#define SERIAL_DTR_STATE   0x00000001

Definition at line 427 of file ntddser.h.

◆ SERIAL_ERROR_ABORT

#define SERIAL_ERROR_ABORT   0x80000000

Definition at line 194 of file ntddser.h.

◆ SERIAL_ERROR_BREAK

#define SERIAL_ERROR_BREAK   0x00000001

Definition at line 398 of file ntddser.h.

◆ SERIAL_ERROR_CHAR

#define SERIAL_ERROR_CHAR   0x00000004

Definition at line 198 of file ntddser.h.

◆ SERIAL_ERROR_FRAMING

#define SERIAL_ERROR_FRAMING   0x00000002

Definition at line 399 of file ntddser.h.

◆ SERIAL_ERROR_OVERRUN

#define SERIAL_ERROR_OVERRUN   0x00000004

Definition at line 400 of file ntddser.h.

◆ SERIAL_ERROR_PARITY

#define SERIAL_ERROR_PARITY   0x00000010

Definition at line 402 of file ntddser.h.

◆ SERIAL_ERROR_QUEUEOVERRUN

#define SERIAL_ERROR_QUEUEOVERRUN   0x00000008

Definition at line 401 of file ntddser.h.

◆ SERIAL_EV_BREAK

#define SERIAL_EV_BREAK   0x0040

Definition at line 317 of file ntddser.h.

◆ SERIAL_EV_CTS

#define SERIAL_EV_CTS   0x0008

Definition at line 314 of file ntddser.h.

◆ SERIAL_EV_DSR

#define SERIAL_EV_DSR   0x0010

Definition at line 315 of file ntddser.h.

◆ SERIAL_EV_ERR

#define SERIAL_EV_ERR   0x0080

Definition at line 318 of file ntddser.h.

◆ SERIAL_EV_EVENT1

#define SERIAL_EV_EVENT1   0x0800

Definition at line 322 of file ntddser.h.

◆ SERIAL_EV_EVENT2

#define SERIAL_EV_EVENT2   0x1000

Definition at line 323 of file ntddser.h.

◆ SERIAL_EV_PERR

#define SERIAL_EV_PERR   0x0200

Definition at line 320 of file ntddser.h.

◆ SERIAL_EV_RING

#define SERIAL_EV_RING   0x0100

Definition at line 319 of file ntddser.h.

◆ SERIAL_EV_RLSD

#define SERIAL_EV_RLSD   0x0020

Definition at line 316 of file ntddser.h.

◆ SERIAL_EV_RX80FULL

#define SERIAL_EV_RX80FULL   0x0400

Definition at line 321 of file ntddser.h.

◆ SERIAL_EV_RXCHAR

#define SERIAL_EV_RXCHAR   0x0001

Definition at line 311 of file ntddser.h.

◆ SERIAL_EV_RXFLAG

#define SERIAL_EV_RXFLAG   0x0002

Definition at line 312 of file ntddser.h.

◆ SERIAL_EV_TXEMPTY

#define SERIAL_EV_TXEMPTY   0x0004

Definition at line 313 of file ntddser.h.

◆ SERIAL_FLOW_INVALID

#define SERIAL_FLOW_INVALID   0x7fffff20

Definition at line 206 of file ntddser.h.

◆ SERIAL_IOC_FCR_DMA_MODE

#define SERIAL_IOC_FCR_DMA_MODE   0x00000008

Definition at line 341 of file ntddser.h.

◆ SERIAL_IOC_FCR_FIFO_ENABLE

#define SERIAL_IOC_FCR_FIFO_ENABLE   0x00000001

Definition at line 338 of file ntddser.h.

◆ SERIAL_IOC_FCR_RCVR_RESET

#define SERIAL_IOC_FCR_RCVR_RESET   0x00000002

Definition at line 339 of file ntddser.h.

◆ SERIAL_IOC_FCR_RCVR_TRIGGER_LSB

#define SERIAL_IOC_FCR_RCVR_TRIGGER_LSB   0x00000040

Definition at line 344 of file ntddser.h.

◆ SERIAL_IOC_FCR_RCVR_TRIGGER_MSB

#define SERIAL_IOC_FCR_RCVR_TRIGGER_MSB   0x00000080

Definition at line 345 of file ntddser.h.

◆ SERIAL_IOC_FCR_RES1

#define SERIAL_IOC_FCR_RES1   0x00000010

Definition at line 342 of file ntddser.h.

◆ SERIAL_IOC_FCR_RES2

#define SERIAL_IOC_FCR_RES2   0x00000020

Definition at line 343 of file ntddser.h.

◆ SERIAL_IOC_FCR_XMIT_RESET

#define SERIAL_IOC_FCR_XMIT_RESET   0x00000004

Definition at line 340 of file ntddser.h.

◆ SERIAL_IOC_MCR_DTR

#define SERIAL_IOC_MCR_DTR   0x00000001

Definition at line 227 of file ntddser.h.

◆ SERIAL_IOC_MCR_LOOP

#define SERIAL_IOC_MCR_LOOP   0x00000010

Definition at line 231 of file ntddser.h.

◆ SERIAL_IOC_MCR_OUT1

#define SERIAL_IOC_MCR_OUT1   0x00000004

Definition at line 229 of file ntddser.h.

◆ SERIAL_IOC_MCR_OUT2

#define SERIAL_IOC_MCR_OUT2   0x00000008

Definition at line 230 of file ntddser.h.

◆ SERIAL_IOC_MCR_RTS

#define SERIAL_IOC_MCR_RTS   0x00000002

Definition at line 228 of file ntddser.h.

◆ SERIAL_LSRMST_ESCAPE

#define SERIAL_LSRMST_ESCAPE   0x00

Definition at line 329 of file ntddser.h.

◆ SERIAL_LSRMST_LSR_DATA

#define SERIAL_LSRMST_LSR_DATA   0x01

Definition at line 326 of file ntddser.h.

◆ SERIAL_LSRMST_LSR_NODATA

#define SERIAL_LSRMST_LSR_NODATA   0x02

Definition at line 327 of file ntddser.h.

◆ SERIAL_LSRMST_MST

#define SERIAL_LSRMST_MST   0x03

Definition at line 328 of file ntddser.h.

◆ SERIAL_NULL_STRIPPING

#define SERIAL_NULL_STRIPPING   0x00000008

Definition at line 199 of file ntddser.h.

◆ SERIAL_OUT_HANDSHAKEMASK

#define SERIAL_OUT_HANDSHAKEMASK   0x00000038

Definition at line 192 of file ntddser.h.

◆ SERIAL_PARITY_EVEN

#define SERIAL_PARITY_EVEN   0x0400

Definition at line 289 of file ntddser.h.

◆ SERIAL_PARITY_MARK

#define SERIAL_PARITY_MARK   0x0800

Definition at line 290 of file ntddser.h.

◆ SERIAL_PARITY_NONE

#define SERIAL_PARITY_NONE   0x0100

Definition at line 287 of file ntddser.h.

◆ SERIAL_PARITY_ODD

#define SERIAL_PARITY_ODD   0x0200

Definition at line 288 of file ntddser.h.

◆ SERIAL_PARITY_SPACE

#define SERIAL_PARITY_SPACE   0x1000

Definition at line 291 of file ntddser.h.

◆ SERIAL_PCF_16BITMODE

#define SERIAL_PCF_16BITMODE   0x00000200

Definition at line 273 of file ntddser.h.

◆ SERIAL_PCF_CD

#define SERIAL_PCF_CD   0x00000004

Definition at line 266 of file ntddser.h.

◆ SERIAL_PCF_DTRDSR

#define SERIAL_PCF_DTRDSR   0x00000001

Definition at line 264 of file ntddser.h.

◆ SERIAL_PCF_INTTIMEOUTS

#define SERIAL_PCF_INTTIMEOUTS   0x00000080

Definition at line 271 of file ntddser.h.

◆ SERIAL_PCF_PARITY_CHECK

#define SERIAL_PCF_PARITY_CHECK   0x00000008

Definition at line 267 of file ntddser.h.

◆ SERIAL_PCF_RTSCTS

#define SERIAL_PCF_RTSCTS   0x00000002

Definition at line 265 of file ntddser.h.

◆ SERIAL_PCF_SETXCHAR

#define SERIAL_PCF_SETXCHAR   0x00000020

Definition at line 269 of file ntddser.h.

◆ SERIAL_PCF_SPECIALCHARS

#define SERIAL_PCF_SPECIALCHARS   0x00000100

Definition at line 272 of file ntddser.h.

◆ SERIAL_PCF_TOTALTIMEOUTS

#define SERIAL_PCF_TOTALTIMEOUTS   0x00000040

Definition at line 270 of file ntddser.h.

◆ SERIAL_PCF_XONXOFF

#define SERIAL_PCF_XONXOFF   0x00000010

Definition at line 268 of file ntddser.h.

◆ SERIAL_PURGE_RXABORT

#define SERIAL_PURGE_RXABORT   0x00000002

Definition at line 333 of file ntddser.h.

◆ SERIAL_PURGE_RXCLEAR

#define SERIAL_PURGE_RXCLEAR   0x00000008

Definition at line 335 of file ntddser.h.

◆ SERIAL_PURGE_TXABORT

#define SERIAL_PURGE_TXABORT   0x00000001

Definition at line 332 of file ntddser.h.

◆ SERIAL_PURGE_TXCLEAR

#define SERIAL_PURGE_TXCLEAR   0x00000004

Definition at line 334 of file ntddser.h.

◆ SERIAL_RI_STATE

#define SERIAL_RI_STATE   0x00000040

Definition at line 431 of file ntddser.h.

◆ SERIAL_RTS_CONTROL

#define SERIAL_RTS_CONTROL   0x00000040

Definition at line 202 of file ntddser.h.

◆ SERIAL_RTS_HANDSHAKE

#define SERIAL_RTS_HANDSHAKE   0x00000080

Definition at line 203 of file ntddser.h.

◆ SERIAL_RTS_MASK

#define SERIAL_RTS_MASK   0x000000c0

Definition at line 201 of file ntddser.h.

◆ SERIAL_RTS_STATE

#define SERIAL_RTS_STATE   0x00000002

Definition at line 428 of file ntddser.h.

◆ SERIAL_RX_WAITING_FOR_DSR

#define SERIAL_RX_WAITING_FOR_DSR   0x00000040

Definition at line 425 of file ntddser.h.

◆ SERIAL_SP_BAUD

#define SERIAL_SP_BAUD   0x0002

Definition at line 256 of file ntddser.h.

◆ SERIAL_SP_BRIDGE

#define SERIAL_SP_BRIDGE   0x00000100

Definition at line 413 of file ntddser.h.

◆ SERIAL_SP_CARRIER_DETECT

#define SERIAL_SP_CARRIER_DETECT   0x0040

Definition at line 261 of file ntddser.h.

◆ SERIAL_SP_DATABITS

#define SERIAL_SP_DATABITS   0x0004

Definition at line 257 of file ntddser.h.

◆ SERIAL_SP_FAX

#define SERIAL_SP_FAX   0x00000021

Definition at line 411 of file ntddser.h.

◆ SERIAL_SP_HANDSHAKING

#define SERIAL_SP_HANDSHAKING   0x0010

Definition at line 259 of file ntddser.h.

◆ SERIAL_SP_LAT

#define SERIAL_SP_LAT   0x00000101

Definition at line 414 of file ntddser.h.

◆ SERIAL_SP_MODEM

#define SERIAL_SP_MODEM   0X00000006

Definition at line 410 of file ntddser.h.

◆ SERIAL_SP_PARALLEL

#define SERIAL_SP_PARALLEL   0x00000002

Definition at line 406 of file ntddser.h.

◆ SERIAL_SP_PARITY

#define SERIAL_SP_PARITY   0x0001

Definition at line 255 of file ntddser.h.

◆ SERIAL_SP_PARITY_CHECK

#define SERIAL_SP_PARITY_CHECK   0x0020

Definition at line 260 of file ntddser.h.

◆ SERIAL_SP_RS232

#define SERIAL_SP_RS232   0x00000001

Definition at line 405 of file ntddser.h.

◆ SERIAL_SP_RS422

#define SERIAL_SP_RS422   0x00000003

Definition at line 407 of file ntddser.h.

◆ SERIAL_SP_RS423

#define SERIAL_SP_RS423   0x00000004

Definition at line 408 of file ntddser.h.

◆ SERIAL_SP_RS449

#define SERIAL_SP_RS449   0x00000005

Definition at line 409 of file ntddser.h.

◆ SERIAL_SP_SCANNER

#define SERIAL_SP_SCANNER   0x00000022

Definition at line 412 of file ntddser.h.

◆ SERIAL_SP_SERIALCOMM

#define SERIAL_SP_SERIALCOMM   0x00000001

Definition at line 417 of file ntddser.h.

◆ SERIAL_SP_STOPBITS

#define SERIAL_SP_STOPBITS   0x0008

Definition at line 258 of file ntddser.h.

◆ SERIAL_SP_TELNET

#define SERIAL_SP_TELNET   0x00000102

Definition at line 415 of file ntddser.h.

◆ SERIAL_SP_UNSPECIFIED

#define SERIAL_SP_UNSPECIFIED   0x00000000

Definition at line 404 of file ntddser.h.

◆ SERIAL_SP_X25

#define SERIAL_SP_X25   0x00000103

Definition at line 416 of file ntddser.h.

◆ SERIAL_STOPBITS_10

#define SERIAL_STOPBITS_10   0x0001

Definition at line 284 of file ntddser.h.

◆ SERIAL_STOPBITS_15

#define SERIAL_STOPBITS_15   0x0002

Definition at line 285 of file ntddser.h.

◆ SERIAL_STOPBITS_20

#define SERIAL_STOPBITS_20   0x0004

Definition at line 286 of file ntddser.h.

◆ SERIAL_TRANSMIT_TOGGLE

#define SERIAL_TRANSMIT_TOGGLE   0x000000c0

Definition at line 204 of file ntddser.h.

◆ SERIAL_TX_WAITING_FOR_CTS

#define SERIAL_TX_WAITING_FOR_CTS   0x00000001

Definition at line 419 of file ntddser.h.

◆ SERIAL_TX_WAITING_FOR_DCD

#define SERIAL_TX_WAITING_FOR_DCD   0x00000004

Definition at line 421 of file ntddser.h.

◆ SERIAL_TX_WAITING_FOR_DSR

#define SERIAL_TX_WAITING_FOR_DSR   0x00000002

Definition at line 420 of file ntddser.h.

◆ SERIAL_TX_WAITING_FOR_XON

#define SERIAL_TX_WAITING_FOR_XON   0x00000008

Definition at line 422 of file ntddser.h.

◆ SERIAL_TX_WAITING_ON_BREAK

#define SERIAL_TX_WAITING_ON_BREAK   0x00000020

Definition at line 424 of file ntddser.h.

◆ SERIAL_TX_WAITING_XOFF_SENT

#define SERIAL_TX_WAITING_XOFF_SENT   0x00000010

Definition at line 423 of file ntddser.h.

◆ SERIAL_XOFF_CONTINUE

#define SERIAL_XOFF_CONTINUE   0x80000000

Definition at line 205 of file ntddser.h.

◆ SPACE_PARITY

#define SPACE_PARITY   0x04

Definition at line 224 of file ntddser.h.

◆ STOP_BIT_1

#define STOP_BIT_1   0x00

Definition at line 215 of file ntddser.h.

◆ STOP_BITS_1_5

#define STOP_BITS_1_5   0x01

Definition at line 216 of file ntddser.h.

◆ STOP_BITS_2

#define STOP_BITS_2   0x02

Definition at line 217 of file ntddser.h.

Typedef Documentation

◆ PSERENUM_PORT_DESC

◆ PSERENUM_PORT_PARAMETERS

◆ PSERENUM_READPORT

typedef UCHAR(NTAPI * PSERENUM_READPORT) (PVOID SerPortAddress)

Definition at line 372 of file ntddser.h.

◆ PSERENUM_WRITEPORT

typedef VOID(NTAPI * PSERENUM_WRITEPORT) (PVOID SerPortAddress, UCHAR Value)

Definition at line 376 of file ntddser.h.

◆ PSERIAL_BASIC_SETTINGS

◆ PSERIAL_BAUD_RATE

◆ PSERIAL_CHARS

◆ PSERIAL_COMMPROP

◆ PSERIAL_HANDFLOW

◆ PSERIAL_LINE_CONTROL

◆ PSERIAL_QUEUE_SIZE

◆ PSERIAL_STATUS

◆ PSERIAL_TIMEOUTS

◆ PSERIAL_XOFF_COUNTER

◆ PSERIALCONFIG

◆ PSERIALPERF_STATS

◆ SERENUM_PORT_DESC

◆ SERENUM_PORT_PARAMETERS

◆ SERENUM_PORTION

◆ SERIAL_BASIC_SETTINGS

◆ SERIAL_BAUD_RATE

◆ SERIAL_CHARS

◆ SERIAL_COMMPROP

◆ SERIAL_HANDFLOW

◆ SERIAL_LINE_CONTROL

◆ SERIAL_QUEUE_SIZE

◆ SERIAL_STATUS

◆ SERIAL_TIMEOUTS

◆ SERIAL_XOFF_COUNTER

◆ SERIALCONFIG

◆ SERIALPERF_STATS

Enumeration Type Documentation

◆ _SERENUM_PORTION

Enumerator
SerenumFirstHalf 
SerenumSecondHalf 
SerenumWhole 

Definition at line 381 of file ntddser.h.

381 {
enum _SERENUM_PORTION SERENUM_PORTION
@ SerenumFirstHalf
Definition: ntddser.h:382
@ SerenumWhole
Definition: ntddser.h:384
@ SerenumSecondHalf
Definition: ntddser.h:383

Function Documentation

◆ DEFINE_GUID() [1/2]

DEFINE_GUID ( GUID_DEVINTERFACE_COMPORT  ,
0x86e0d1e0L  ,
0x8089  ,
0x11d0  ,
0x9c  ,
0xe4  ,
0x08  ,
0x00  ,
0x3e  ,
0x30  ,
0x1f  ,
0x73   
)

◆ DEFINE_GUID() [2/2]

DEFINE_GUID ( GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR  ,
0x4D36E978L  ,
0xE325  ,
0x11CE  ,
0xBF  ,
0xC1  ,
0x08  ,
0x00  ,
0x2B  ,
0xE1  ,
0x03  ,
0x18   
)