// uart.h
UART_RX_READY UartRxReady;
BOOLEAN UartRxReady(
[_Inout_] PCPPORT Port
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Determines whether there is data pending in the UART hardware.
Port [_Inout_]A pointer to a _CPPORT structure that contains the address of the port object that describes the UART hardware.
Returns TRUE if data is available, FALSE otherwise.
//Declaration
UART_RX_READY UartRxReady;
// Definition
BOOLEAN UartRxReady
(
PCPPORT Port
)
{...}
Register your implementation of this callback function by setting the appropriate member of UART_HARDWARE_DRIVER.