WdfDeviceReadFromHardware function (wdfdevice.h)

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

Instead, use the WDF Register/Port Access Functions.

Syntax

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

Parameters

[in] Device

[in] Type

[in] Size

[in] TargetAddress

[out, optional] Buffer

[in, optional] Count

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

ReadFromHardware