// uart.h
UART_HARDWARE_WRITE_USHORT UartHardwareWriteUshort;
VOID UartHardwareWriteUshort(
PUSHORT Address,
USHORT Value
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Writes a USHORT value to the specified port or register.
AddressA pointer to a variable that contains the port or register address.
ValueA USHORT value to be written to the port or register.
//Declaration
UART_HARDWARE_WRITE_USHORT UartHardwareWriteUshort;
// Definition
VOID UartHardwareWriteUshort
(
PUSHORT Address
USHORT Value
)
{...}
Register your implementation of this callback function by setting the appropriate member of the _UART_HARDWARE_ACCESS structure.