Export (0) Print
Expand All

IMFCaptureSource::SetMirrorState method

Enables or disables mirroring of the video preview stream.

Syntax


HRESULT SetMirrorState(
  [in]  DWORD dwStreamIndex,
  [in]   fMirrorState
);

Parameters

dwStreamIndex [in]

The zero-based index of the stream.

fMirrorState [in]

If TRUE, mirroring is enabled; if FALSE, mirroring is disabled.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

E_NOTIMPL

The device stream does not have mirroring capability.

MF_E_INVALIDREQUEST

The source is not initialized.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mfcaptureengine.h

See also

IMFCaptureSource

 

 

Community Additions

ADD
Show:
© 2014 Microsoft