MFVirtualCameraLifetime enumeration (mfvirtualcamera.h)

Specifies the lifetime of a virtual camera.

Syntax

typedef enum __MIDL___MIDL_itf_mfvirtualcamera_0000_0000_0002 {
  MFVirtualCameraLifetime_Session,
  MFVirtualCameraLifetime_System
} MFVirtualCameraLifetime, *PMFVirtualCameraLifetime;

Constants

 
MFVirtualCameraLifetime_Session
The camera persists until the IMFVirtualCamera object is disposed or IMFVirtualCamera::Shutdown is called. Afterwards, the virtual camera will no longer be enumerable or activatable on the device.
MFVirtualCameraLifetime_System
The virtual camera persists across sessions and reboots.

Remarks

Values from this enumeration are passed into MFCreateVirtualCamera.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Header mfvirtualcamera.h

See also

MFCreateVirtualCamera