Some multimedia subsystems require unique information in the MMPM2.INI file. This file is used by the media device manager (MDM) to maintain a database of installed multimedia components and devices.
The following structures are used to make changes to the MMPM2.INI file.
MciInstallDrv Structure
The MciInstallDrv structure shown in the following example allows you to install MCDs on your system.
MciInstallDrv =
(
DrvInstallName = "internalname"
DrvDeviceType = devicetypecode
DrvDeviceFlag = deviceflag
DrvVersionNumber = "verno"
DrvProductInfo = "name2"
DrvMCDDriver = "mcdname"
DrvVSDDriver = "vsdname"
DrvPDDName = "pddname"
DrvMCDTable = "mcdtablename"
DrvVSDTable = "vsdtablename"
DrvShareType = number1
DrvResourceName = "resname"
DrvResourceUnits = number2
DrvClassArray[num] =
(
(DrvClassNumber = number3)
)
)
internalname
The MciInstallAlias structure shown in the following example allows you to specify an alternate name for a driver installed on your system.
MciInstallAlias =
(
AliasInstallName = "internalname"
AliasString = "aliasstring"
)
internalname
Each implementation of a media driver defines certain paths of information flow into and out of the device. These paths are known as connectors. Connectors have defined connector types, and each connector type has an associated connector-type name. The MciInstallConn structure shown in the following example allows you to install the media connectors on your system.
MciInstallConn =
(
ConnInstallName = "internalname"
ConnArray [num1]
(
(
ConnType = num2
ConnInstallTo = "connto"
ConnIndexTo = num3
)
)
)
internalname
MciInstallExt Structure
When an element name is specified as the device name on an MCI_OPEN message and no device type is specified, the device type is identified by the file extension. For example, if the .WAV extension is associated with an internal driver name, that driver will be used if a file ending in .WAV is opened.
The MciInstallExt structure shown below allows you to define media control interface file extensions on your system.
MciInstallExt = (
ExtInstallName = "internalname"
ExtArray[num] =
(
(ExtString = "string")
)
)
internalname
MciInstallParm Structure
The MciInstallParm structure shown below allows you to define device-specific parameters that provide additional information about the driver to your MCD. For example, this structure is used to define to the MIDI MCD which MIDI map table to use for each sequencer.
MciInstallParm = ( ParmInstallName = "internalname" ParmString = "device specific parameters" )
internalname