Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Allows apps to retrieve an instance of IMFExtendedCameraControl, which is used to configure a capture device's extended properties.
Inheritance
The IMFExtendedCameraController interface inherits from the IUnknown interface.
Methods
The IMFExtendedCameraController interface has these methods.
IMFExtendedCameraController::GetExtendedCameraControl Gets an instance of IMFExtendedCameraControl, which allows an app to get the current capture device's extended property controls. |
Remarks
The IMFExtendedCameraController interface can be obtained through the IMFMediaSource that represents the video capture device and its IMFGetService implementation.
In this case, guidService parameter of the IMFGetService::GetService function must be GUID_NULL
, please see following code snippet.
HRESULT GetExtendedCameraController(_In_ IMFMediaSource* pCameraSource)
{
wil::com_ptr_nothrow<IMFExtendedCameraController> spExtCameraController;
wil::com_ptr_nothrow<IMFGetService> spGetService;
RETURN_IF_FAILED(pCameraSource->QueryInterface(IID_PPV_ARGS(&spGetService)));
RETURN_IF_FAILED(spGetService->GetService(GUID_NULL, IID_PPV_ARGS(&spExtCameraController)));
// Use the IMFExtendedCameraController to check for support of a specific IMFExtendedCameraControl using GetExtendedCameraControl()
return S_OK;
}
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 19041 |
Minimum supported server | Windows 10 Build 19041 |
Header | mfidl.h |