Previous Next

NdisRawWritePortUchar

NdisRawWritePortUchar writes a byte to an I/O port on the NIC.

VOID
  NdisRawWritePortUchar(
    IN ULONG_PTR  Port,
    IN UCHAR  Data
    );

Parameters

Port
Specifies the I/O port. This address falls in a range that was mapped during initialization with NdisMRegisterIoPortRange.
Data
Specifies the byte to be written.

Headers

Declared in Ndis.h. Include Ndis.h.

Comments

NdisRawWritePortUchar runs faster than NdisImmediateWritePortUchar because it need not map a bus-relative I/O port address onto a host-dependent logical port address at every call.

Callers of NdisRawWritePortUchar can run at any IRQL.

See Also

MiniportInitialize, NdisMRegisterIoPortRange, NdisRawReadPortUchar, NdisRawWritePortBufferUchar, NdisRawWritePortUlong, NdisRawWritePortUshort