HWN_CLIENT_REGISTRATION_PACKET structure (hwnclx.h)
Hardware Notification client driver registration packet that is passed to the class extension when a client driver is registered. Contains version information and client driver callback functions.
Syntax
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;
Members
Version
Version of this structure.
Size
Size of this structure.
DeviceContextSize
Size of the driver-defined context structure.
Reserved
Reserved.
ClientInitializeDevice
A pointer to the client driver's implementation of the HWN_CLIENT_INITIALIZE_DEVICE callback function.
ClientUnInitializeDevice
A pointer to the client driver's implementation of the HWN_CLIENT_UNINITIALIZE_DEVICE callback function.
ClientQueryDeviceInformation
A pointer to the client driver's implementation of the HWN_CLIENT_QUERY_DEVICE_INFORMATION callback function.
ClientStartDevice
A pointer to the client driver's implementation of the HWN_CLIENT_START_DEVICE callback function.
ClientStopDevice
A pointer to the client driver's implementation of the HWN_CLIENT_STOP_DEVICE callback function.
ClientSetHwNState
A pointer to the client driver's implementation of the HWN_CLIENT_SET_STATE callback function.
ClientGetHwNState
A pointer to the client driver's implementation of the HWN_CLIENT_GET_STATE callback function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709 |
Minimum supported server | Windows Server 2016 |
Header | hwnclx.h |