HWN_CLIENT_QUERY_DEVICE_INFORMATION fonction de rappel (hwnclx.h)

Implémenté par le pilote client pour récupérer les attributs du composant de notification matérielle.

Syntaxe

HWN_CLIENT_QUERY_DEVICE_INFORMATION HwnClientQueryDeviceInformation;

NTSTATUS HwnClientQueryDeviceInformation(
  [in]  PVOID Context,
  [out] PCLIENT_DEVICE_INFORMATION Information
)
{...}

Paramètres

[in] Context

Pointeur vers les informations de contexte du pilote client. Cet espace mémoire est disponible pour être utilisé par le pilote client. Il est alloué dans le cadre de l’espace de contexte de l’objet du framework par WdfDeviceCreate. Pour plus d’informations, consultez HWN_CLIENT_REGISTRATION_PACKET et Framework Object Context Space.

[out] Information

Pointeur vers une mémoire tampon qui reçoit les attributs du contrôleur.

Valeur retournée

Retournez STATUS_SUCCESS si l’opération réussit. Sinon, retournez un code d’erreur NTSTATUS approprié.

Remarques

Inscrivez votre implémentation de cette fonction de rappel en définissant le membre approprié de HWN_CLIENT_REGISTRATION_PACKET , puis en appelant HwNRegisterClient.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 10, version 1709
Serveur minimal pris en charge Windows Server 2016
Plateforme cible Windows
En-tête hwnclx.h
IRQL PASSIVE_LEVEL

Voir aussi

Prise en charge des notifications matérielles

Informations de référence sur les notifications matérielles