MCISPY (located in \TOOLKIT\SAMPLES\MM\MCISPY) monitors media control interface
messages that are exchanged between applications and the OS/2 multimedia
subsystem.
In addition to teaching you about multimedia messages, MCISPY also serves
as a powerful debugging aid.
The MCISPY sample must be manually set up. To do so, follow these steps:
- Copy the MDM.DLL file located in the \MMOS2\DLL
subdirectory to the \TOOLKIT\DLL subdirectory.
- Use the DLLRNAME tool (available with C Set ++
or VisualAge C++) to rename the copy to MCI.DLL. To do this, type:
DLLRNAME MDM.DLL MDM=MCI
- Create the executable (MCISPY.EXE) and the stub
DLL (MDM.DLL) by running the MCISPY makefile.
- Place the stub MDM.DLL, built by the MCISPY makefile,
in the LIBPATH so that it is recognized prior to the MDM.DLL file located
in the \MMOS2\DLL subdirectory. The source code for the stub MDM.DLL is
included in the MCISPY sample.
- Restart your system.
Note: Driver notifications might not be visible in releases prior
to OS/2 Warp Version 3. These notifications include all multimedia messages
routed through mdmDriverNotify().
Hardware requirements:
- Computer capable of running OS/2 Warp
Software requirements:
- Multimedia support
OS/2
Warp
Note: The files for the samples will be installed when the samples
are selected, but Workplace Shell objects will not be created for them if
the installed operating system is not OS/2 Warp.
[Back]
[Next]