Fungsi WdfDeviceReadFromHardware (wdfdevice.h)

Metode WdfDeviceReadFromHardware digunakan secara internal oleh kerangka kerja. Jangan gunakan.

Sebagai gantinya, gunakan Fungsi Akses Register/Port WDF.

Sintaks

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
);

Parameter

[in] Device

[in] Type

[in] Size

[in] TargetAddress

[out, optional] Buffer

[in, optional] Count

Persyaratan

   
Target Platform Universal
Versi KMDF minimum 1.11
Versi UMDF minimum 2.0
Header wdfdevice.h (termasuk Wdf.h)
Pustaka Wdf01000.sys (lihat Penerapan Versi Pustaka Kerangka Kerja.)
IRQL PASSIVE_LEVEL

Lihat juga

ReadFromHardware