42#define TIMEOUT_COUNT 1024 * 200
217 }
while (++
Byte != 0);
238 if (!(Lsr & ExpectedValue))
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)
static BOOLEAN ComPortTest2(IN PUCHAR Address)
static BOOLEAN ComPortTest1(IN PUCHAR Address)
BOOLEAN NTAPI CpDoesPortExist(IN PUCHAR Address)
UCHAR NTAPI CpReadLsr(IN PCPPORT Port, IN UCHAR ExpectedValue)
#define CPPORT_FLAG_MODEM_CONTROL
#define TRANSMIT_HOLDING_REGISTER
#define DIVISOR_LATCH_MSB
#define INTERRUPT_ENABLE_REGISTER
#define SERIAL_FCR_ENABLE
#define SERIAL_FCR_DISABLE
#define FIFO_CONTROL_REGISTER
#define SERIAL_FCR_RCVR_RESET
#define MODEM_CONTROL_REGISTER
#define SERIAL_NONE_PARITY
#define RECEIVE_BUFFER_REGISTER
#define DIVISOR_LATCH_LSB
#define LINE_CONTROL_REGISTER
#define LINE_STATUS_REGISTER
#define SERIAL_FCR_TXMT_RESET
#define MODEM_STATUS_REGISTER
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
#define READ_PORT_UCHAR(p)
#define WRITE_PORT_UCHAR(p, d)
#define STATUS_INVALID_PARAMETER
_In_ WDFDPC _In_ BOOLEAN Wait