Copyright © 2001-2018 MultiMedia Soft

CuePointsSaveToFile method

Previous pageReturn to chapter overviewNext page



Saves existing cue points into a destination CUE file.

CUE files are in XML format and contain settings for defining a pool of pre-defined cue points: CUE files can be loaded through a call to the CuePointsLoadFromFile method or automatically, when a sound is loaded, if the sound's filename and the CUE file's filename match: if for example the loaded sound file should be named MySong.mp3, the corresponding XML file containing cue points should be named MySong.cue


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





[Visual Basic]

control.CuePointsSaveToFile (

nPlayer as Integer,

strPathname as String

) as enumErrorCodes



short control.CuePointsSaveToFile (

short nPlayer,

LPCTSTR strPathname









Number representing the zero-based index of the involved player


String containing the absolute pathname of the destination CUE file.



Return value






Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.