次の方法で共有


NdisRawWritePortBufferUlong (Compact 2013)

3/26/2014

This function writes a specified number of ULONG values from a caller-supplied buffer to a given I/O port.

Syntax

VOID NdisRawWritePortBufferUlong(
    ULONG Port,
  PULONG Buffer,
  ULONG Length
);

Parameters

  • Port
    [in] Specifies the I/O port. This address falls in a range that was mapped during initialization with the NdisMRegisterIoPortRange function.
  • Buffer
    [in] Pointer to a caller-allocated resident buffer that contains the ULONGs to be written.
  • Length
    [in] Specifies the number of ULONGs to write to the I/O port.

Return Value

None.

Remarks

A miniport driver calls NdisRawWritePortBufferUlong to transfer a sequence of ULONGs, one at a time, to a network adapter.

NdisRawWritePortBufferUlong runs fast because it does not have to map a bus-relative port address onto a host-dependent logical port address at every call.

Requirements

Header

ndis.h

See Also

Reference

NDIS I/O Port Raw Interface
MiniportInitializeEx
NdisMRegisterIoPortRange
NdisRawReadPortBufferUlong
NdisRawWritePortBufferUchar
NdisRawWritePortBufferUshort
NdisRawWritePortUlong