<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoDevice/StopIO",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoDevice@F@StopIO#$@N@VideoDriverKit@E@IOUserVideoStartStopFlags#"
  },
  "title" : "StopIO"
}
-->

# StopIO

Tells the device to stop IO.

```
virtual kern_return_t StopIO(IOUserVideoStartStopFlags in_flags);
```

## Parameters

`in_flags`

IOUserVideoStartStopFlags to indicate how IO is stopping.

## Discussion

The default implementation always returns `kIOReturnSuccess`.
Subclass and override this method to handle any hardware specific things when IO is stopping, then
call the superclass implementation to update IO state.
StopIO will also be called for all streams that were added to the device.

---

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)