// uart.h
UART_HARDWARE_WRITE_INDEXED_UCHAR UartHardwareWriteIndexedUchar;
VOID UartHardwareWriteIndexedUchar(
[_In_] PCPPORT Port,
const UCHAR Index,
const UCHAR Value
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Implemented by the client driver to ...
Port [_In_]A pointer to a _CPPORT structure that was received during port initialization.
IndexA zero-based index for the port.
ValueSpecifies a byte to be written to the register.
//Declaration
UART_HARDWARE_WRITE_INDEXED_UCHAR UartHardwareWriteIndexedUchar;
// Definition
VOID UartHardwareWriteIndexedUchar
(
PCPPORT Port
const UCHAR Index
const UCHAR Value
)
{...}
Register your implementation of this callback function by setting the appropriate member of the _CPPORT structure.