Retrieves the properties of a hub. The properties are static, which do not change during the lifecycle of a hub.
NTSTATUS UsbPm_RetrieveHubProperties( USBPM_CLIENT ClientHandle, USBPM_HUB HubHandle, PUSBPM_HUB_PROPERTIES HubProperties );
[In] The handle that the client driver received in a previous call to UsbPm_Register.
[In] The hub handle provided by Policy Manager when it calls the driver's implementation of EVT_USBPM_EVENT_CALLBACK. The handle is set in the EventData.HubArrivalRemoval.HubHandle member of the Params value.
Returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS value.
|Minimum supported client||Windows 10, version 1809|
|Minimum KMDF version||1.27|
|Minimum UMDF version||2.27|
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.