Copyright © 2005-2018 MultiMedia Soft

CuePointsLoadFromMemoryStream method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a set of cue points from a memory stream containing the needed XML code into the given player. Existing cue points can be saved inside a memory stream through the CuePointsSaveToMemoryStream 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 CuePointsLoadFromMemoryStream (

nPlayerIndex as Int16,

ms as MemoryStream

) as enumErrorCodes


 

[C#]

public enumErrorCodes CuePointsLoadFromMemoryStream (

Int16 nPlayerIndex,

MemoryStream ms

);


 

[C++]

public: enumErrorCodes CuePointsLoadFromMemoryStream (

Int16 nPlayerIndex,

MemoryStream ms

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

ms

Memory stream containing 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.