RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.Open Method

Opens a multimedia device.

Pascal
procedure Open;
C++
__fastcall Open();

Use Open to open a multimedia device. The multimedia device type must be specified in the DeviceType property before a device can be opened. 

Upon completion, Open stores a numerical error code in the Error property, and the corresponding error message in the ErrorMessage property. 

The Wait property determines whether control is returned to the application before the Open method is completed. The Notify property determines whether Open generates an OnNotify event. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!