WdfDeviceWriteToHardware function (wdfdevice.h)

The WdfDeviceWriteToHardware method is used internally by the framework. Do not use.

Instead, use the WDF Register/Port Access Functions.

Syntax

void WdfDeviceWriteToHardware(
  [in]           WDFDEVICE                       Device,
  [in]           WDF_DEVICE_HWACCESS_TARGET_TYPE Type,
  [in]           WDF_DEVICE_HWACCESS_TARGET_SIZE Size,
  [in]           PVOID                           TargetAddress,
  [in]           SIZE_T                          Value,
  [in, optional] PVOID                           Buffer,
  [in, optional] ULONG                           Count
);

Parameters

[in] Device

[in] Type

[in] Size

[in] TargetAddress

[in] Value

[in, optional] Buffer

[in, optional] Count

Return value

None

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.11
Minimum UMDF version 2.0
Header wdfdevice.h (include Wdf.h)
Library Wdf01000.sys (see Framework Library Versioning.)
IRQL PASSIVE_LEVEL

See also

WriteToHardware