Поделиться через


NdisWritePortBufferUshort (Compact 2013)

3/26/2014

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

Syntax

VOID
  NdisWritePortBufferUshort(
    IN NDIS_HANDLE  NdisAdapterHandle,
    IN ULONG  Port,
    IN PUSHORT  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 USHORT values to Port.
  • Length
    Specifies the number of USHORTs to write to Port.

Return Value

None

Remarks

NdisWritePortBufferUshort sequentially writes each USHORT 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
NdisRawWritePortBufferUshort
NdisReadPortBufferUshort
NdisWritePortUshort