18#define CP_GET_SUCCESS 0
19#define CP_GET_NODATA 1
25#define CPPORT_FLAG_MODEM_CONTROL 0x02
VOID NTAPI CpPutByte(IN PCPPORT Port, IN UCHAR Byte)
NTSTATUS NTAPI CpInitialize(IN PCPPORT Port, IN PUCHAR Address, IN ULONG BaudRate)
VOID NTAPI CpEnableFifo(IN PUCHAR Address, IN BOOLEAN Enable)
USHORT NTAPI CpGetByte(IN PCPPORT Port, OUT PUCHAR Byte, IN BOOLEAN Wait, IN BOOLEAN Poll)
VOID NTAPI CpSetBaud(IN PCPPORT Port, IN ULONG BaudRate)
BOOLEAN NTAPI CpDoesPortExist(IN PUCHAR Address)
UCHAR NTAPI CpReadLsr(IN PCPPORT Port, IN UCHAR ExpectedValue)
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
_In_ WDFDPC _In_ BOOLEAN Wait