UsbPm_RetrieveHubProperties - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-usbpmapi-usbpm_retrievehubproperties)

UsbPm_RetrieveHubProperties function

Description

Retrieves the properties of a hub. The properties are static, which do not change during the lifecycle of a hub.

Parameters

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.

Return value

Returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS value.

Remarks

See also

UsbPm_Register

EVT_USBPM_EVENT_CALLBACK