JVCL Help:TJvSoundControl.LastError

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Read LastError to determine if the last operation was successful.


Pascal

 propertyLastError: Integer;


Description

Read LastError after getting or setting a value to property Balance or Volume, to determine if the operation was successful. LastError returns MMSYSERR_NOERROR if the last operation was successful or an error otherwise. Possible error values include the following:

Value Description
MMSYSERR_INVALHANDLE Specified device handle is invalid.
MMSYSERR_NODRIVER No device driver is present.
MMSYSERR_NOMEM Unable to allocate or lock memory.
MMSYSERR_NOTSUPPORTED Function isn't supported.


See Also

TJvSoundValue.Balance, TJvSoundValue.Volume


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page