Skip to main content
IMFMediaEngine::GetAutoPlay method

Queries whether the Media Engine automatically begins playback.

Syntax


BOOL GetAutoPlay();

Parameters

This method has no parameters.

Return value

Returns TRUE if the Media Engine automatically begins playback, or FALSE otherwise.

Remarks

This method corresponds to the autoplay attribute of the HTMLMediaElement interface in HTML5.

If this method returns TRUE, playback begins automatically after the IMFMediaEngine::Load method completes. Otherwise, playback begins when the application calls IMFMediaEngine::Play.

Requirements

Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Header

Mfmediaengine.h

See also

IMFMediaEngine
IMFMediaEngine::SetAutoPlay