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.

  1. Initially only one camera is attached to the system, and a Windows app is streaming video from the camera.

  2. A second Windows 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 apps.

See also

KSEVENT_DEVICE

KSEVENT_DEVICE_LOST