WDF_READ_REGISTER_BUFFER_USHORT function (wdfhwaccess.h)

[Applies to UMDF only]

The WDF_READ_REGISTER_BUFFER_USHORT function reads a number of USHORT values from the specified register address into a buffer.

Syntax

void WDF_READ_REGISTER_BUFFER_USHORT(
  [in]  WDFDEVICE Device,
  [in]  PUSHORT   Register,
  [out] PUSHORT   Buffer,
  [in]  ULONG     Count
);

Parameters

[in] Device

A handle to a framework device object.

[in] Register

A pointer to the register, which must be a mapped range in memory space.

[out] Buffer

A pointer to a buffer into which an array of USHORT values is read.

[in] Count

Specifies the number of USHORT values to be read into 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