UART_SET_BAUD - NtDoc

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

UART_SET_BAUD UartSetBaud;

BOOLEAN UartSetBaud(
  [_Inout_] PCPPORT Port,
            ULONG Rate
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

UART_SET_BAUD callback function

Description

Changes the baud rate of 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.

Rate:

The baud rate to set in bits per second.

Return value

Returns TRUE if the baud rate was programmed, FALSE otherwise.

Prototype

//Declaration

UART_SET_BAUD UartSetBaud;

// Definition

BOOLEAN UartSetBaud
(
    PCPPORT Port
    ULONG Rate
)
{...}

Remarks

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

See also

UART_HARDWARE_DRIVER

_CPPORT

uart.h