Copyright © 2008-2014 MultiMedia Soft

GetMemoryPtr method

Previous pageReturn to chapter overviewNext page

Remarks

 

If an editing session is set to store sound data in memory, this method will return the memory address (pointer) of the buffer containing sound data. The actual size of the memory buffer can be retrieved using the GetMemorySize method.

The store mode can be retrieved through the GetStoreMode method and set through the SetStoreMode method.

 

 

Syntax

 

[Visual Basic]

control.GetMemoryPtr (

) as long


 

[C++]

long control.GetMemoryPtr (

);


 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

> 0

The buffer's memory address