WdfDeviceReadFromHardware, fonction (wdfdevice.h)

La méthode WdfDeviceReadFromHardware est utilisée en interne par l’infrastructure. Ne pas utiliser.

Utilisez plutôt les fonctions d’accès au port/au registre WDF.

Syntaxe

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

Paramètres

[in] Device

[in] Type

[in] Size

[in] TargetAddress

[out, optional] Buffer

[in, optional] Count

Configuration requise

Condition requise Valeur
Plateforme cible Universal
Version KMDF minimale 1.11
Version UMDF minimale 2.0
En-tête wdfdevice.h (include Wdf.h)
Bibliothèque Wdf01000.sys (consultez Gestion de version de la bibliothèque d’infrastructure.)
IRQL PASSIVE_LEVEL

Voir aussi

ReadFromHardware