IMFVirtualCamera::Shutdown method (mfvirtualcamera.h)
Releases all of the virtual camera's internal resources.
Returns an HRESULT value, including but not limited to the following values:
When Shutdown is called, all objects created through the IMFVirtualCamera APIs will also be shutdown. This includes IMFCameraSyncObject objects obtained through calls to IMFVirtualCamera::CreateSyncEvent or CreateSyncSemaphore and IMFMediaSource objects obtained through a call to IMFVirtualCamera::GetMediaSource. Attempts to use any object obtained from the IMFVirtualCamera after Shutdown has been called will result in an MF_E_SHUTDOWN error.
For virtual cameras created with a lifetime value of MFVirtualCameraLifeTime_Session, when Shutdown is called, the virtual camera will be removed from the system. Any application using the virtual camera will receive the device invalidated error MF_E_VIDEO_RECORDING_DEVICE_INVALIDATED.
|Minimum supported client||Windows Build 22000|