Share via


NdisWritePortBufferUlong (NDIS 5.1) function

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.

NdisWritePortBufferUlong is called by the NIC driver to write ULONGs from a buffer to its NIC.

Syntax

VOID NdisWritePortBufferUlong(
  _In_ NDIS_HANDLE NdisAdapterHandle,
  _In_ ULONG       Port,
  _In_ PULONG      Buffer,
  _In_ ULONG       Length
);

Parameters

  • NdisAdapterHandle [in]
    Specifies the handle that the NDIS interface library associates with the network interface card.

  • Port [in]
    Specifies the I/O port.

  • Buffer [in]
    Pointer to the caller-supplied buffer from which this function writes the ULONG values to Port.

  • Length [in]
    Specifies the number of ULONGs to write to Port.

Return value

None

Remarks

NdisWritePortBufferUlong sequentially writes each ULONG to the port. It determines how the host accesses the I/O port and processes the write request accordingly.

Requirements

Target platform

Desktop

Version

See NdisWritePortBufferUlong.

Header

Ndis.h (include Ndis.h)

IRQL

Any level

See also

NdisRawWritePortBufferUlong

NdisReadPortBufferUlong

NdisWritePortUlong

 

 

Send comments about this topic to Microsoft