Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Rotates the video preview stream.
Syntax
HRESULT SetRotation(
[in] DWORD dwStreamIndex,
[in] DWORD dwRotationValue
);
Parameters
[in] dwStreamIndex
The zero-based index of the stream to rotate. You must specify a video stream.
[in] dwRotationValue
The amount to rotate the video, in degrees. Valid values are 0, 90, 180, and 270. The value zero restores the video to its original orientation.
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 |