RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.Shareable Property

Determines whether more than one application can share a multimedia device.

Pascal
property Shareable: Boolean;
C++
__property Boolean Shareable;

If Shareable is false, no other components or applications can access the device. If Shareable is true, more than one component or application can access the device. Shareable defaults to false. 

Be sure to set Shareable before opening a device. 

Some devices are not shareable. If Shareable is set to true for a device that isn't shareable, the Open method fails and the error code is returned to the Error property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!