Skip to main content

Windows Dev Center

IMFMediaEngine::GetLoop method

Queries whether the Media Engine will loop playback.

Syntax


BOOL GetLoop();

Parameters

This method has no parameters.

Return value

Returns TRUE if looping is enabled, or FALSE otherwise.

Remarks

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

If looping is enabled, the Media Engine seeks to the start of the content when playback reaches the end.

Windows Phone 8: This API is supported.

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