00001 #ifndef CD_H
00002 #define CD_H
00003
00004 #include <Windows.H>
00005
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009
00010 UINT OpenCDPlayer(void);
00011 void StopCDPlayer(UINT id);
00012 void CloseCDPlayer(UINT id);
00013 BOOL GetCDPosition(UINT Id, INT *Track, INT *Minute, INT *Second);
00014
00015 DWORD PlayCDTrack(UINT wDeviceID,
00016 HWND hWndNotify,
00017 BYTE bTrack,
00018 int startMin,
00019 int startSec,
00020 int stopMin,
00021 int stopSec);
00022
00023 #ifndef SINGLE_BUILD_FOR_TEST
00024 void TestCd(void);
00025 #endif
00026
00027 #ifdef __cplusplus
00028 }
00029 #endif
00030
00031 #endif