Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaEngine
IMFMediaEngine::SetAutoPlay

 

 

Community Additions

Show:
© 2014 Microsoft