- 4.47.2.28. -
Table of Contents
4. Standard Units
4.47. MMedia - Multimedia Devices support unit
4.47.2. TMMedia Object Methods
4.47.2.28. SetDevice
4.47.2.28. SetDevice
Targets: Win32 only
MMedia Unit
Sets a multimedia device type to open the media.
Declaration:
procedure SetDevice(Device: DWORD);
Remarks:
The valid values for Device are MCI_AutoSelect, MCI_AVIVideo,
MCI_CDAudio, MCI_DAT, MCI_DigitalVideo, MCI_MMMovie, MCI_Other, MCI_Overlay,
MCI_Scanner, MCI_Sequencer, MCI_VCR, MCI_VideoDisc, MCI_WaveAudio.
If Device specified as MCI_AutoSelect, the device type is determined
by the file extension during the Open
method.
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 on how to associate file-name extensions with the
device.
- 4.47.2.28. -