Windows apps
Collapse the table of content
Expand the table of content
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::SetLoop method

Specifies whether the Media Engine loops playback.

Syntax


HRESULT SetLoop(
  [in] BOOL Loop
);

Parameters

Loop [in]

Specify TRUE to enable looping, or FALSE to disable looping.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If Loop is TRUE, playback loops back to the beginning when it reaches the end of the source.

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

Requirements

Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8

Header

Mfmediaengine.h

See also

IMFMediaEngine

 

 

Show:
© 2018 Microsoft