Compartir a través de


NdisWritePortBufferUchar 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.

NdisWritePortBufferUchar is called by the miniport driver to write UCHARs from a buffer to a NIC.

Syntax

VOID NdisWritePortBufferUchar(
  _In_ NDIS_HANDLE NdisAdapterHandle,
  _In_ ULONG       Port,
  _In_ PUCHAR      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 UCHAR values to Port.

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

Return value

None

Remarks

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

Requirements

Target platform

Desktop

Version

Not supported for NDIS 6.0 drivers in Windows Vista. Supported for NDIS 5.1 drivers (see NdisWritePortBufferUchar (NDIS 5.1)) in Windows XP.

Header

Ndis.h (include Ndis.h)

IRQL

Any level

See also

NdisRawWritePortBufferUchar

NdisReadPortBufferUchar

NdisWritePortUchar

 

 

Send comments about this topic to Microsoft