All MCDs have commands passed to them in the same way, regardless of whether they support streaming or nonstreaming devices. Applications call either the mciSendCommand or mciSendString functions to pass commands to the MCD entry point, mciDriverEntry. In addition, some commands are generated by the MDM itself. These are the commands for saving and restoring an instance and synchronization messages-messages periodically generated by the master device for routing to the slave devices in the group.

Although streaming and nonstreaming devices have commands passed to them in the same way, they process the commands they receive from the MDM differently. These differences are described in the sections that follow and are summarized in the following table.

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³When the MDM sends: ³The waveform audio  ³The CD audio MCD:   ³
³                    ³MCD:                ³                    ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³MCI_SET messages    ³Routes the messages ³Uses IOCtls to      ³
³that set audio      ³to the amp mixer.   ³process the         ³
³attributes          ³                    ³messages.           ³
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³Messages that       ³Routes the messages ³Uses IOCtls to      ³
³control playback    ³to the SSM.         ³process the         ³
³(for example, SEEK, ³                    ³messages.           ³
³PLAY, PAUSE, STOP)  ³                    ³                    ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ


[Back] [Next]