<!--
{
  "availability" : [
    "DriverKit: 19.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USBDriverKit",
  "identifier" : "/documentation/USBDriverKit/IOUSBHostDevice/CurrentMicroframe",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "USBDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUSBHostDevice@F@CurrentMicroframe#*k#S0_#"
  },
  "title" : "CurrentMicroframe"
}
-->

# CurrentMicroframe

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

## Parameters

`microframeNumber`

uint64_t pointer to be updated with the current microframe number

`theTime`

If not NULL, this will be updated with the system time assosiated with the returned microframe

## Return Value

KERN_SUCCESS is successful see IOReturn.h for error codes.

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)