Copyright © 2013-2014 MultiMedia Soft

SettingsLoadFromMemory method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads graphic settings of the waveform analyzer from a memory buffer containing a XML file previously saved through the SettingsSave method.

 

The XML file contains all settings stored inside the various waveform analyzer data structures: WANALYZER_GENERAL_SETTINGS, WANALYZER_RULERS_SETTINGS, WANALYZER_SCROLLBARS_SETTINGS and WANALYZER_WAVEFORM_SETTINGS.

 

 

Syntax

 

[Visual Basic]

control.SettingsLoadFromMemory (

pBuffer as variant,

nBufferLength as long

) as enumWanErrorCodes


 

[C++]

short control.SettingsLoadFromMemory (

const VARIANT FAR& pBuffer,

long nBufferLength

);


 

 

Parameter

Description

 

 

pBuffer

Input buffer containing the waveform analyzer settings in XML format.

nBufferLength

Length of the input buffer expressed in bytes

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful.