UART_PUT_BYTE - NtDoc

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

UART_PUT_BYTE UartPutByte;

UART_STATUS UartPutByte(
  [_Inout_] PCPPORT Port,
            UCHAR Byte,
            BOOLEAN BusyWait
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

UART_PUT_BYTE callback function

Description

Writes a data byte to 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

The byte to write to the UART hardware.

BusyWait

A flag to control whether this routine will busy-wait (spin) for the UART hardware to be ready to transmit.

Return value

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

Prototype

//Declaration

UART_PUT_BYTE UartPutByte;

// Definition

UART_STATUS UartPutByte
(
    PCPPORT Port
    UCHAR Byte
    BOOLEAN BusyWait
)
{...}

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