The MCISpy Sample (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 debugging aid.
To begin monitoring messages and saving them in a log file:
As you interact with the application, information is displayed in the MCISpy window and written to the default log file MCISPY.LOG. MCISpy monitors both the string interface and the command message interface.
For the command message interface, the information consists of:
To specify a log file other than the default log file, select Open. Use the Edit functions to manage the contents of the log file.
The View menu provides views of useful information. The Installed Devices view lists the logical and physical device names and product information for each installed multimedia device. The MCI Flag Values view shows you the text string equivalents for the hexadecimal flag values that accompany the messages displayed by MCISpy during the monitoring process.
The Filter menu offers a variety of filters for the messages that are displayed in the log file. You can filter the messages by:
Initially no filters are in effect and therefore all messages are displayed.