RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.DeviceType Property

Specifies a multimedia device type to open the media player.

Pascal
property DeviceType: TMPDeviceTypes;
C++
__property TMPDeviceTypes DeviceType;

DeviceType specifies a multimedia device type to open with the Open method. The default is dtAutoSelect. 

If DeviceType is dtAutoSelect, the device type is determined by the file extension specified in the FileName property. If no device type is associated with the extension, the correct device type must be explicitly specified by setting DeviceType to a value other than dtAutoSelect. 

A multimedia device is typically associated with an appropriate file name extension when the device is installed. Associations are specified in the registry or SYSTEM.INI file. See the documentation for the specific device for instructions about how to associate file name extensions with the device. 

 

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