IMFCaptureSource::SetMirrorState method (mfcaptureengine.h)
Enables or disables mirroring of the video preview stream.
Syntax
HRESULT SetMirrorState(
[in] DWORD dwStreamIndex,
[in] BOOL fMirrorState
);
Parameters
[in] dwStreamIndex
The zero-based index of the stream.
[in] fMirrorState
If TRUE, mirroring is enabled; if FALSE, mirroring is disabled.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
The device stream does not have mirroring capability. |
|
The source is not initialized. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | mfcaptureengine.h |