WdfDeviceReadFromHardware, fonction (wdfdevice.h)
La méthode WdfDeviceReadFromHardware est utilisée en interne par l’infrastructure. N’utilisez pas.
Utilisez plutôt les fonctions d’inscription/d’accès aux ports 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
Exigences
Exigence | Valeur |
---|---|
plateforme cible | Universel |
version minimale de KMDF | 1.11 |
version minimale de UMDF | 2.0 |
d’en-tête | wdfdevice.h (include Wdf.h) |
bibliothèque | Wdf01000.sys (voir Versioning de la bibliothèque Framework.) |
IRQL | PASSIVE_LEVEL |