IltmfConvert::ToggleFullScreenMode

Summary

Toggles the state of the full screen mode for conversion preview.

Syntax

#include "ltmf.h"

Language Syntax
C HRESULT IltmfConvert_ToggleFullScreenMode(pConvert)
C++ HRESULT ToggleFullScreenMode()

Parameters

IltmfConvert *pConvert

Pointer to an IltmfConvert interface.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the MediaFoundation documentation.

Comments

This is a convenient function to toggle the full screen mode on and off.

Use the IltmfConvert::get_FullScreenMode function to query whether the video renderer for preview is in full-screen mode.

Use the IltmfConvert::put_FullScreenMode function to enable or disable full-screen mode for the preview video renderer.

Use the IltmfConvert::ToggleFullScreenMode function to toggle the state of the full screen mode for conversion preview.

Video renderer

The MediaFoundation component responsible for playing the video. Some renderers might have useful settings you can adjust if you have problems playing the video.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For a C++ example, refer to IltmfConvert::SaveStillBitmap

Help Version 22.0.2023.7.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Foundation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.