Copyright © 2005-2019 MultiMedia Soft

CuePointsSaveToMemoryStream method

Previous pageReturn to chapter overviewNext page

Remarks

 

Saves existing cue points into a memory stream in XML format. These cue points can be loaded at a later time through the CuePointsLoadFromMemoryStream method.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function CuePointsSaveToMemoryStream (

nPlayerIndex as Int16,

ms as MemoryStream

) as enumErrorCodes


 

[C#]

public enumErrorCodes CuePointsSaveToMemoryStream (

Int16 nPlayerIndex,

MemoryStream ms

);


 

[C++]

public: enumErrorCodes CuePointsSaveToMemoryStream (

Int16 nPlayerIndex,

MemoryStream ms

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

ms

Memory stream for storing Cue Points in XML format

 

 

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.