WDF_WRITE_PORT_USHORT function (wdfhwaccess.h)

[Applies to UMDF only]

The WDF_WRITE_PORT_USHORT function writes a USHORT value to the specified port address.

Syntax

void WDF_WRITE_PORT_USHORT(
  [in] WDFDEVICE Device,
  [in] PUSHORT   Port,
  [in] USHORT    Value
);

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] Value

Specifies a USHORT value to be written to the port.

Return value

None

Requirements

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