The following figure illustrates the interaction between OS/2 multimedia
system components and the Media Control Interface String Test Sample program.
Source code is located in the \TOOLKIT\SAMPLES\MM\MCISTRNG subdirectory.
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ String Test ³
³Sample Program³
ÀÄÄÄÄÄÄÄÄÄÂÄÄÄÄÙ
³
(4)³ (1)
ÚÄÄÁÄÄÄÄÄÄÄÄÄÄÄ¿ÄÄÄÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ Media Device ³(2) ³ Command ³
³ Manager ³ÄÄij Table ³
ÀÄÄÄÄÄÄÄÄÄÂÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
³
(4)³ (3)
ÚÄÄÁÄÄÄÄÄÄÄÄÄÄÄ¿
³ Media Driver ³
³ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
- String Test waits for you to enter a string
command. When you select Send, the program calls mciSendString to
send the string command to the Media Device Manager (MDM).
- The MDM receives the string command and uses
the command table to parse the string and convert it to the media control
interface command format.
- The Media Device Manager passes the command
to the appropriate media driver, which acts on the command.
- Notification messages are sent back to the
application from the media device to indicate such operations as completion
of a device function or the passing of device ownership from one process
to another. These messages can be viewed in the Display Messages dialog
box of the String Test Sample.
[Back]
[Next]