Copyright © 2001-2019 MultiMedia Soft

CuePointsLoadFromFile method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a set of cue points from a CUE file.

CUE files are in XML format and contain settings for defining a pool of pre-defined cue points: CUE files can be created through your own code or through a call to the CuePointsSaveToFile method.

 

See the How to add Triggers and Cue Points to a player section for further details about cue points.

 

 

Syntax

 

[Visual Basic]

control.CuePointsLoadFromFile (

nPlayer as Integer,

strPathname as String

) as enumErrorCodes


 

[C++]

short control.CuePointsLoadFromFile (

short nPlayer,

LPCTSTR strPathname

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

strPathname

String containing the absolute pathname of the source CUE file.

An empty string will force the control to search for a CUE file having the same filename of the loaded sound but with extension .cue: if for example the loaded sound file should be named MySong.mp3, the corresponding searched CUE file would be named MySong.cue

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.