WDF_WRITE_REGISTER_BUFFER_UCHAR function (wdfhwaccess.h)

[Applies to UMDF only]

The WDF_WRITE_REGISTER_BUFFER_UCHAR function writes a number of bytes from a buffer to the specified register.

Syntax

void WDF_WRITE_REGISTER_BUFFER_UCHAR(
  [in] WDFDEVICE Device,
  [in] PUCHAR    Register,
  [in] PUCHAR    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.

[in] Buffer

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

[in] Count

Specifies the number of bytes to write to the register.

Return value

None

Remarks

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

Requirements

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