Previous Next

NdisRawWritePortUlong

NdisRawWritePortUlong writes a ULONG value to an I/O port on the NIC.

VOID
  NdisRawWritePortUlong(
    IN ULONG_PTR  Port,
    IN ULONG  Data
    );

Parameters

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

Headers

Declared in Ndis.h. Include Ndis.h.

Comments

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

Callers of NdisRawWritePortUlong can run at any IRQL.

See Also

MiniportInitialize, NdisMRegisterIoPortRange, NdisRawReadPortUlong, NdisRawWritePortBufferUlong, NdisRawWritePortUchar, NdisRawWritePortUshort