KSEVENT_DEVICE_PREEMPTED
The KSEVENT_DEVICE_PREEMPTED event is triggered when a device has been preempted.
Usage Summary Table
Get | Set | Target | Event descriptor type | Event value type |
---|---|---|---|---|
No | Yes | Filter | KSEVENT | KSEVENTDATA |
Remarks
A preemption event is triggered in the following scenario.
Initially only one camera is attached to the system, and a Windows app is streaming video from the camera.
A second Windows app requests that the capture stack preempt the device from the first app and give control to the second app.
When this request is issued, the driver sends the KSEVENT_DEVICE_PREEMPTED event to both Windows apps.