SAMPLE: Controlling the CD Using mciSendCommand()

ID: Q81871

The information in this article applies to:

SUMMARY

Playcd.exe is a file in the Microsoft Software Library that demonstrates how an application developed for Microsoft Windows can play a music CD (compact disk) in a CD-ROM (compact disk read-only memory) drive. Playcd.exe has two parts: the PLAYCD application and the PLYCD dynamic-link library (DLL).

The Playcd.exe application does very little by itself. It calls functions in the PLYCD DLL to play the CD.

The PLYCD DLL contains code to control the CD-ROM player. PLYCD includes functions to play the CD, pause, move forward and backward by tracks, determine the position within the CD, and eject the CD from the drive. PLYCD interacts with the Media Control Interface (MCI) using the mciSendCommand() API.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ playcd.exe (size: 26013 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE : How to Obtain Microsoft Support Files from Online Services

Additional query words: softlib PLAYCD.EXE
Keywords          : kbmm kbsample kb16bitonly kbWinOS310 MMCDROM 
Version           : 3.10
Platform          : WINDOWS

Last Reviewed: December 12, 1998