The KSEVENT_DEVICE_PREEMPTED event is triggered when a device has been preempted.
|Get||Set||Target||Event descriptor type||Event value type|
A preemption event is triggered in the following scenario.
- Initially only one camera is attached to the system, and a Windows Store app is streaming video from the camera.
- A second Windows Store 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 Store apps.