|
Device Names
For each device type, there might be several MCI drivers that share the
command set but operate on different data formats. To uniquely identify an MCI
driver, MCI uses device names.
Device names are identified either in the [mci] section of the SYSTEM.INI file
or in the appropriate part of the registry. This information identifies all
MCI drivers to Windows. The entries in the [mci] section use the following form:
device_name = driver_filename.extension
The following example shows a typical [mci] section from SYSTEM.INI:
[mci]
cdaudio=mcicda.drv
sequencer=mciseq.drv
waveaudio=mciwave.drv
avivideo=mciavi.drv
If an MCI driver is installed using a device name that already exists in
SYSTEM.INI or the registry, the system appends an integer to the device name of the
new driver, creating a unique device name. In the preceding example, an
additional driver installed using the "cdaudio" device name would be assigned the
device name "cdaudio1".
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|