// usbbusif.h
typedef NTSTATUS
(USB_BUSIFFN *PUSB_BUSIFFN_QUERY_BUS_TIME) (
IN PVOID,
IN PULONG
);
View the official Windows Driver Kit DDI referenceNo description available.
The QueryBusTime function gets the current 32-bit USB frame number.
typedef NTSTATUS
(USB_BUSIFFN *PUSB_BUSIFFN_QUERY_BUS_TIME) (
IN PVOID,
IN PULONG
);
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.
Returns STATUS_SUCCESS on success, and the appropriate error code on failure.
This routine replaces the USBD_QueryBusTime library function provided by usbd.sys.