IXStudioPlayback::SetLoopCount Method

Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Sets the loop count, which indicates how many times the file is played back.

Syntax

public:
HRESULT SetLoopCount(
         UINT32 loopCount
)  

Parameters

loopCount
Type: UINT32 

The loop count.

Return value

Type: HRESULT 

S_OK if successful; an error code otherwise.

Remarks

A loop count of 1 will cause the file to be played back twice.

Requirements

Header: Declared in xstudio.h.

Library: Use xstudioclient.lib (console) or xstudioservice.lib (desktop).