Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NdisRawReadPortBufferUlong

NdisRawReadPortBufferUlong function

NdisRawReadPortBufferUlong reads a specified number of ULONGs into a caller-supplied buffer.

Syntax


VOID NdisRawReadPortBufferUlong(
  _In_  ULONG_PTR Port,
  _Out_ PULONG    Buffer,
  _In_  ULONG     Length
);

Parameters

Port [in]

Specifies the I/O port. This address falls in a range that was mapped during initialization with NdisMRegisterIoPortRange.

Buffer [out]

Pointer to a caller-allocated buffer, in resident memory, into which the ULONGs will be transferred from the NIC. The caller must allocate a buffer at least ( sizeof(ULONG) * Length ).

Length [in]

Specifies how many ULONGs to transfer from the NIC.

Return value

None

Remarks

NdisRawReadPortBufferUlong reads each ULONG value, one at a time, from the given I/O port into the given buffer.

Requirements

Target platform

Desktop

Version

Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisRawReadPortBufferUlong (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisRawReadPortBufferUlong (NDIS 5.1)) in Windows XP.

Header

Ndis.h (include Ndis.h)

IRQL

Any level

See also

MiniportInitializeEx
NdisMRegisterIoPortRange
NdisRawReadPortBufferUchar
NdisRawReadPortBufferUshort
NdisRawReadPortUlong
NdisRawWritePortBufferUlong

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft