Partager via


NdisRawWritePortBufferUshort (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

VOID NdisRawWritePortBufferUshort(
  ULONG Port,
  PUSHORT 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 containing the USHORTs to be written.
  • Length
    [in] Specifies the number of USHORTs to write to the I/O port.

Return Value

None.

Remarks

An NIC driver calls this functionto transfer a sequence of USHORTs, one at a time, to its NIC.

Requirements

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisMRegisterIoPortRange
NdisRawReadPortBufferUshort
NdisRawWritePortBufferUchar
NdisRawWritePortBufferUlong
NdisRawWritePortUshort