UART_HARDWARE_READ_INDEXED_UCHAR - NtDoc

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

UART_HARDWARE_READ_INDEXED_UCHAR UartHardwareReadIndexedUchar;

UCHAR UartHardwareReadIndexedUchar(
  [_In_] PCPPORT Port,
         const UCHAR Index
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

UART_HARDWARE_READ_INDEXED_UCHAR callback function

Description

Reads a byte from the specified port.

Parameters

Port [_In_]

A pointer to a _CPPORT structure that was received during port initialization.

Index

A zero-based index for the port.

Return value

Returns the byte that is read from the specified port address.

Prototype

//Declaration

UART_HARDWARE_READ_INDEXED_UCHAR UartHardwareReadIndexedUchar;

// Definition

UCHAR UartHardwareReadIndexedUchar
(
    PCPPORT Port
     const UCHAR Index
)
{...}

Remarks

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

See also

uart.h