Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Represents a virtual camera that can be plugged into the Media Foundation frame server pipeline. This allows developers to create a user-mode software component that can be discovered and used by apps as if it was a hardware capture device.
Inheritance
The IMFVirtualCamera interface inherits from the IMFAttributes interface.
Methods
The IMFVirtualCamera interface has these methods.
| IMFVirtualCamera::AddDeviceSourceInfo Informs the pipeline the virtual camera will require exclusive control to the physical camera specified by the specified device symbolic name. |
| IMFVirtualCamera::AddProperty Adds custom device interface properties to the virtual camera. |
| IMFVirtualCamera::AddRegistryEntry Adds a custom registry entry to the device interface registry key. |
| IMFVirtualCamera::CreateSyncEvent A wrapper around the IKsControl::KsEvent method, which enables or disables an event. |
| IMFVirtualCamera::CreateSyncSemaphore A wrapper around the IKsControl::KsEvent method, which enables or disables a semaphore. |
| IMFVirtualCamera::GetMediaSource Gets an IMFMediaSource that provides media data from the virtual camera. |
| IMFVirtualCamera::Remove Disables and unregisters the virtual camera from the system. |
| IMFVirtualCamera::SendCameraProperty A wrapper around the internal IKsControl::KsProperty method. |
| IMFVirtualCamera::Shutdown Releases all of the virtual camera's internal resources. |
| IMFVirtualCamera::Start Creates and registers the virtual camera. |
| IMFVirtualCamera::Stop Disables the registered virtual camera, blocking apps from being able to enumerate or activate the virtual camera. |
Remarks
Create an instance of IMFVirtualCamera by calling MFCreateVirtualCamera. When this interface is returned from MFCreateVirtualCamera for the first time, the interface represents a set of configuration options. The caller is responsible for configuring the different settings on the virtual camera before starting the camera. Calling the IMFVirtualCamera::Start method allows the camera to be discoverable and activatable on the device.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Build 22000 |
| Header | mfvirtualcamera.h |