NdisWritePortBufferUchar (Compact 2013)

3/26/2014

This function is called by the miniport driver to write UCHARs from a buffer to a network adapter.

Syntax

VOID
  NdisWritePortBufferUchar(
    IN NDIS_HANDLE  NdisAdapterHandle,
    IN ULONG  Port,
    IN PUCHAR  Buffer,
    IN ULONG  Length
    );

Parameters

  • NdisAdapterHandle
    Specifies the handle that the NDIS interface library associates with the network adapter.
  • Port
    Specifies the I/O port.
  • Buffer
    Pointer to the caller-supplied buffer from which this function writes the UCHAR values to Port.
  • Length
    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

Header

ndis.h

Library

ndis.dll

See Also

Reference

NDIS I/O Port Interface
NdisRawWritePortBufferUchar
NdisReadPortBufferUchar
NdisWritePortUchar