VOID
NdisImmediateReadPortUshort(
IN NDIS_HANDLE WrapperConfigurationContext,
IN ULONG Port,
OUT PUSHORT Data
);
NdisImmediateReadPortUshort reads a USHORT from a given bus-relative I/O port.
NdisImmediateReadPortUshort determines how the host accesses the given I/O port, maps the bus-relative port address, and then reads a USHORT-type value from the device.
A miniport driver can call NdisImmediateReadPortUshort during initialization to read data from 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 NdisImmediateReadPortUshort run at IRQL PASSIVE_LEVEL.
MiniportInitialize, NdisImmediateReadPortUchar, NdisImmediateReadPortUlong, NdisImmediateWritePortUshort, NdisMRegisterIoPortRange, NdisRawReadPortUshort