PUSB_BUSIFFN_QUERY_BUS_TIME - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbbusif.h

typedef NTSTATUS
  (USB_BUSIFFN *PUSB_BUSIFFN_QUERY_BUS_TIME) (
    IN PVOID,
    IN PULONG
  );
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-usbbusif-pusb_busiffn_query_bus_time)

PUSB_BUSIFFN_QUERY_BUS_TIME callback function

Description

The QueryBusTime function gets the current 32-bit USB frame number.

Syntax

typedef NTSTATUS
  (USB_BUSIFFN *PUSB_BUSIFFN_QUERY_BUS_TIME) (
    IN PVOID,
    IN PULONG
  );

Parameters

unnamedParam1 [in]

Handle returned in the BusContext member of the USB_BUS_INTERFACE_USBDI_V0 structure by an IRP_MN_QUERY_INTERFACE request.

unnamedParam2 [out, optional]

Receives the current USB frame number.

Return value

Returns STATUS_SUCCESS on success, and the appropriate error code on failure.

Remarks

This routine replaces the USBD_QueryBusTime library function provided by usbd.sys.

See also