VOID
NdisImmediateWritePortUlong(
IN NDIS_HANDLE WrapperConfigurationContext,
IN ULONG Port,
IN ULONG Data
);
NdisImmediateWritePortUlong writes a ULONG to a given bus-relative I/O port.
NdisImmediateWritePortUlong determines how the host accesses the given I/O port, maps the bus-relative port address, and then writes the given ULONG to the device.
A miniport driver can call NdisImmediateWritePortUlong during initialization to write data to a device I/O port when that driver has not yet called NdisMRegisterIoPortRange to obtain mapped device memory ranges. After its call to NdisMRegisterIoPortRange, the driver uses the faster NdisRawXxx functions to communicate with its NIC.
Callers of NdisImmediateWritePortUlong run at IRQL PASSIVE_LEVEL.
MiniportInitialize, NdisImmediateReadPortUlong, NdisImmediateWritePortUchar, NdisImmediateWritePortUshort, NdisMRegisterIoPortRange, NdisRawWritePortUlong