WDF_WRITE_REGISTER_BUFFER_USHORT function

[Applies to UMDF only]

The WDF_WRITE_REGISTER_BUFFER_USHORT routine writes a number of USHORT values from a buffer to the specified register.

Syntax

void WDF_WRITE_REGISTER_BUFFER_USHORT(
  WDFDEVICE Device,
  PUSHORT   Register,
  PUSHORT   Buffer,
  ULONG     Count
);

Parameters

Device

A handle to a framework device object.

Register

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

Buffer

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

Count

Specifies the number of USHORT values to write to the register.

Return Value

This function does not return a value.

Remarks

The size of the buffer must be large enough to contain at least the specified number of bytes.

Requirements

   
Windows version Windows 8.1
Target Platform Universal
Minimum UMDF version 2.0
Header wdfhwaccess.h