Controlling the CD Using mciSendCommand()

ID: Q81871


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) 3.1


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 files are available for download from the Microsoft Download Center. Click the file names below to download the files:


Playcd.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

Additional query words: softlib PLAYCD.EXE

Keywords : kbfile kbmm kbsample kb16bitonly kbWinOS310 MMCDROM
Version : WINDOWS:3.1
Platform : WINDOWS
Issue type :


Last Reviewed: December 8, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.