Previous: Save To the Table of Content Next: SetDisplayRect

- 4.47.2.28 -
Standard Units
MMedia Unit
TMMedia Object Methods

TMMedia.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.


Previous: Save To the Table of Content Next: SetDisplayRect
Save Table of Content SetDisplayRect

- 4.47.2.28 -