Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisReadPortBufferUshort is called by the miniport driver to read a specified number of USHORTs from a NIC into a buffer.
VOID NdisReadPortBufferUshort( _In_ NDIS_HANDLE NdisAdapterHandle, _In_ ULONG Port, _Out_ PUSHORT Buffer, _In_ ULONG Length );
Specifies the handle that the NDIS interface library associates with the network interface card.
Specifies the I/O port.
Pointer to the caller-supplied buffer in which this function writes the USHORT values read from Port.
Specifies the number of pieces of data to read from Port to Buffer.
NdisReadPortBufferUshort reads sequentially each ULONG from the port. It determines how the host accesses the I/O port and processes the read request accordingly.
Not supported for NDIS 6.0 drivers in Windows Vista. Supported for NDIS 5.1 drivers (see NdisReadPortBufferUshort (NDIS 5.1)) in Windows XP.
|Ndis.h (include Ndis.h)|