UART_GET_BYTE - NtDoc

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

UART_GET_BYTE UartGetByte;

UART_STATUS UartGetByte(
  [_Inout_] PCPPORT Port,
  [_Out_]   PUCHAR Byte
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

UART_GET_BYTE callback function

Description

Reads a data byte from the UART device.

Parameters

Port [_Inout_]

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

Byte: [_Out_]

A pointer to a variable that contains received byte.

Return value

Returns UART_STATUS-type value that indicates success or failure of the operation.

Prototype

//Declaration

UART_GET_BYTE UartGetByte;

// Definition

UART_STATUS UartGetByte
(
    PCPPORT Port
    PUCHAR Byte
)
{...}

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