Hardware Dev Center

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(
  _In_ WDFDEVICE Device,
  _In_ PUSHORT   Register,
  _In_ PUSHORT   Buffer,
  _In_ ULONG     Count 
);

Parameters

Device [in]

A handle to a framework device object.

Register [in]

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

Buffer [in]

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

Count [in]

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

Target platform

Universal

Minimum support

Windows 8.1

Minimum UMDF version

2.0

Header

Wdfhwaccess.h

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft