home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
sounds
/
audiocd
/
cd.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-18
|
1KB
|
41 lines
/* Include file for CD player */
#include <windows.h>
#include <mmsystem.h>
#include <string.h>
#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()