---
title: CurrentMicroframe
framework: usbdriverkit
role: symbol
role_heading: Instance Method
path: usbdriverkit/iousbhostinterface/currentmicroframe
---

# CurrentMicroframe

## Declaration

```occ
virtual kern_return_t CurrentMicroframe(uint64_t *microframeNumber, uint64_t *theTime);
```

## Parameters

- `microframeNumber`: uint64_t pointer to be updated with the current frame number
- `theTime`: If not NULL, this will be updated with the system time assosiated with the returned microframe

## Return Value

Return Value KERN_SUCCESS is successful see IOReturn.h for error codes.

## Discussion

Discussion Return the current microframe number of the USB controller This method will return the current microframe number of the USB controller. This is most useful for scheduling future isochronous requests.
