UART_RX_READY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// uart.h

UART_RX_READY UartRxReady;

BOOLEAN UartRxReady(
  [_Inout_] PCPPORT Port
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-uart-uart_rx_ready)

UART_RX_READY callback function

Description

Determines whether there is data pending in the UART hardware.

Parameters

Port [_Inout_]

A pointer to a _CPPORT structure that contains the address of the port object that describes the UART hardware.

Return value

Returns TRUE if data is available, FALSE otherwise.

Prototype

//Declaration

UART_RX_READY UartRxReady;

// Definition

BOOLEAN UartRxReady
(
    PCPPORT Port
)
{...}

Remarks

Register your implementation of this callback function by setting the appropriate member of UART_HARDWARE_DRIVER.

See also

UART_HARDWARE_DRIVER

_CPPORT

UART_STATUS

uart.h