WDF_WRITE_PORT_BUFFER_USHORT function (wdfhwaccess.h)

[Applies to UMDF only]

The WDF_WRITE_PORT_BUFFER_USHORT function writes a number of USHORT values from a buffer to the specified port address.

Syntax

void WDF_WRITE_PORT_BUFFER_USHORT(
  [in] WDFDEVICE Device,
  [in] PUSHORT   Port,
  [in] PUSHORT   Buffer,
  [in] ULONG     Count
);

Parameters

[in] Device

A handle to a framework device object.

[in] Port

A pointer to the port, which must be a mapped memory range in I/O space.

[in] Buffer

A pointer to a buffer from which an array of USHORT values is to be written.

[in] Count

Specifies the number of USHORT values to be written to the buffer.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 8.1
Target Platform Universal
Minimum UMDF version 2.0
Header wdfhwaccess.h