Copyright © 2008-2018 MultiMedia Soft

LoadSoundFromClipboard method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a sound file contained inside the system clipboard. In order to understand if a CF_WAVE format sound is available inside the clipboard you can call the IsSoundAvailableInClipboard method.

You can manage how loaded sound will be added to the existing editing session through a previous call to the SetLoadingMode method.

You can limit the range of sound data that will be loaded from the given sound file with a previous call to the SetLoadingRange method.

 

A successful call to this method will fire the SoundLoadingStarted event followed by a number of SoundLoadingPerc events and finally by the SoundLoadingDone event.

 

 

Syntax

 

[Visual Basic]

Public Function LoadSoundFromClipboard (

) as enumErrorCodes


 

[C#]

public enumErrorCodes LoadSoundFromClipboard (

);


 

[C++]

public: enumErrorCodes LoadSoundFromClipboard (

);


 

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.