Partager via


structure HWN_CLIENT_REGISTRATION_PACKET (hwnclx.h)

Paquet d’inscription de pilote client notification matérielle transmis à l’extension de classe lorsqu’un pilote client est inscrit. Contient des informations de version et des fonctions de rappel de pilote client.

Syntaxe

typedef struct _HWN_CLIENT_REGISTRATION_PACKET {
  USHORT                                Version;
  USHORT                                Size;
  ULONG                                 DeviceContextSize;
  ULONG                                 Reserved;
  PHWN_CLIENT_INITIALIZE_DEVICE         ClientInitializeDevice;
  PHWN_CLIENT_UNINITIALIZE_DEVICE       ClientUnInitializeDevice;
  PHWN_CLIENT_QUERY_DEVICE_INFORMATION  ClientQueryDeviceInformation;
  PHWN_CLIENT_START_DEVICE              ClientStartDevice;
  PHWN_CLIENT_STOP_DEVICE               ClientStopDevice;
  PHWN_CLIENT_SET_STATE                 ClientSetHwNState;
  PHWN_CLIENT_GET_STATE                 ClientGetHwNState;
} HWN_CLIENT_REGISTRATION_PACKET, HWN_CLIENT_REGISTRATION_PACKET;

Membres

Version

Version de cette structure.

Size

Taille de cette structure.

DeviceContextSize

Taille de la structure de contexte définie par le pilote.

Reserved

Réservé.

ClientInitializeDevice

Pointeur vers l’implémentation du pilote client de la fonction de rappel HWN_CLIENT_INITIALIZE_DEVICE.

ClientUnInitializeDevice

Pointeur vers l’implémentation du pilote client de la fonction de rappel HWN_CLIENT_UNINITIALIZE_DEVICE.

ClientQueryDeviceInformation

Pointeur vers l’implémentation du pilote client de la fonction de rappel HWN_CLIENT_QUERY_DEVICE_INFORMATION.

ClientStartDevice

Pointeur vers l’implémentation du pilote client de la fonction de rappel HWN_CLIENT_START_DEVICE.

ClientStopDevice

Pointeur vers l’implémentation du pilote client de la fonction de rappel HWN_CLIENT_STOP_DEVICE.

ClientSetHwNState

Pointeur vers l’implémentation du pilote client de la fonction de rappel HWN_CLIENT_SET_STATE.

ClientGetHwNState

Pointeur vers l’implémentation du pilote client de la fonction de rappel HWN_CLIENT_GET_STATE.

Exigences

Exigence Valeur
client minimum pris en charge Windows 10, version 1709
serveur minimum pris en charge Windows Server 2016
d’en-tête hwnclx.h

Voir aussi

notifications matérielles prennent en charge les

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