// usbpmapi.h
NTSTATUS UsbPm_RetrieveHubProperties(
[In] USBPM_CLIENT ClientHandle,
[In] USBPM_HUB HubHandle,
[Out] PUSBPM_HUB_PROPERTIES HubProperties
);
View the official Windows Driver Kit DDI referenceNo description available.
Retrieves the properties of a hub. The properties are static, which do not change during the lifecycle of a hub.
ClientHandle [In]The handle that the client driver received in a previous call to UsbPm_Register.
HubHandle [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.
HubProperties [Out]A pointer to a driver-provided USBPM_HUB_PROPERTIES structure that receives the hub properties. Initialize the structure by calling USBPM_HUB_PROPERTIES_INIT.
Returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS value.