Copyright © 2008-2018 MultiMedia Soft

GetMemorySize method

Previous pageReturn to chapter overviewNext page



If an editing session is set to store sound data in memory, this method will return the size in bytes of the buffer. The buffer's address in memory can be retrieved through the GetMemoryPtr64 method.

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





[Visual Basic]

control.GetMemorySize (

) as long



long control.GetMemorySize (




Return value






Negative value

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

> 0

The buffer's size expressed in bytes