Muistiinpano
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoa.
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoa.
Gets the current mirroring state of the video preview stream.
Syntax
HRESULT GetMirrorState(
[in] DWORD dwStreamIndex,
[out] BOOL *pfMirrorState
);
Parameters
[in] dwStreamIndex
The zero-based index of the stream.
[out] pfMirrorState
Receives the value TRUE if mirroring is enabled, or FALSE if mirroring is disabled.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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 |