UART_HARDWARE_READ_USHORT - NtDoc

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

UART_HARDWARE_READ_USHORT UartHardwareReadUshort;

USHORT UartHardwareReadUshort(
  PUSHORT Address
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

UART_HARDWARE_READ_USHORT callback function

Description

Reads a USHORT value from the specified port or register.

Parameters

Address

A pointer to a variable that contains the port or register address.

Return value

Returns USHORT that is read from the specified port or register.

Prototype

//Declaration

UART_HARDWARE_READ_USHORT UartHardwareReadUshort;

// Definition

USHORT UartHardwareReadUshort
(
    PUSHORT Address
)
{...}

Remarks

Register your implementation of this callback function by setting the ReadPort16 or ReadRegister16 member of the _UART_HARDWARE_ACCESS structure.

See also

uart.h