WdfDeviceReadFromHardware method

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_opt_ PVOID                           Buffer,
  _In_opt_  ULONG                           Count
);

Parameters

Device [in]
Type [in]
Size [in]
TargetAddress [in]
Buffer [out, optional]
Count [in, optional]

Requirements

Target platform

Universal

Minimum KMDF version

1.11

Minimum UMDF version

2.0

Header

Wdfdevice.h (include Wdf.h);
Wdfhwaccess.h

Library

Wdf01000.sys (see Framework Library Versioning.)

IRQL

PASSIVE_LEVEL

See also

ReadFromHardware

 

 

Send comments about this topic to Microsoft

Show: