/* Include file for CD player */ #include #include #include #define CDDIALOG 100 #define IDM_EXIT 1000 #define IDM_STATUS 1101 #define IDM_PLAY 1102 #define IDM_PAUSE 1103 #define IDM_RESUME 1104 #define IDM_STOP 1105 #define IDM_BACK 1106 #define IDM_FORWARD 1107 #define IDM_EJECT 1108 #define IDM_VOLUME 1109 #define IDM_SHVOL 1110 #define IDM_SHAUTH 1111 LONG FAR PASCAL WndProc(HWND, WORD, WORD, LONG); BOOL FAR PASCAL MainDlg(HWND, unsigned, WORD, LONG); DWORD CD_ShowTrackTimes(UINT,LPSTR); DWORD CD_Stop(UINT); DWORD CD_Open(UINT); DWORD CD_Close(UINT); DWORD CD_Pause(UINT); DWORD CD_ResumePlay(UINT); DWORD CD_PlayTrack(UINT,BYTE,BYTE); DWORD CD_ChangeTrack(UINT,int); DWORD CD_GetDeviceInfo(UINT); int CD_GetCurrentTrack(UINT); int CD_GetCurrentStatus(UINT); void showMCIError(DWORD); #define WAITON() SetCapture(hMainWnd); hSaveCursor=SetCursor(hHourGlass) #define WAITOFF() SetCursor(hSaveCursor); ReleaseCapture()