KSEVENT_DEVICE_PREEMPTED

The KSEVENT_DEVICE_PREEMPTED event is triggered when a device has been preempted.

Usage Summary Table

GetSetTargetEvent descriptor typeEvent value type

No

Yes

Filter

KSEVENT

KSEVENTDATA

 

Remarks

A preemption event is triggered in the following scenario.

  1. Initially only one camera is attached to the system, and a Windows Store app is streaming video from the camera.
  2. A second Windows Store app requests that the capture stack preempt the device from the first app and give control to the second app.
  3. When this request is issued, the driver sends the KSEVENT_DEVICE_PREEMPTED event to both Windows Store apps.

See also

KSEVENT_DEVICE
KSEVENT_DEVICE_LOST

 

 

Send comments about this topic to Microsoft

Show: