// hwnclx.h
HWN_CLIENT_QUERY_DEVICE_INFORMATION HwnClientQueryDeviceInformation;
NTSTATUS HwnClientQueryDeviceInformation(
[in] PVOID Context,
[out] PCLIENT_DEVICE_INFORMATION Information
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Implemented by the client driver to retrieve hardware notification component attributes.
Context [in]Pointer to the client driver's context information. This memory space is available for use by the client driver. It is allocated as part of the framework object context space by WdfDeviceCreate. For more information, see HWN_CLIENT_REGISTRATION_PACKET and Framework Object Context Space.
Information [out]Pointer to a buffer that receives the controller’s attributes.
Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS error code.
HWN_CLIENT_QUERY_DEVICE_INFORMATION HwnClientQueryDeviceInformation;
NTSTATUS HwnClientQueryDeviceInformation(
_In_ PVOID Context,
_Out_ PCLIENT_DEVICE_INFORMATION Information
)
{ ... }
typedef HWN_CLIENT_QUERY_DEVICE_INFORMATION PHWN_CLIENT_QUERY_DEVICE_INFORMATION;
Register your implementation of this callback function by setting the appropriate member of HWN_CLIENT_REGISTRATION_PACKET and then calling HwNRegisterClient.
Hardware notifications support
Hardware notifications reference