// rights reserved.
#include <windows.h>
+#include <mmsystem.h>
#include "quakedef.h"
#include "cdaudio.h"
+#if _MSC_VER < 1300
+typedef DWORD DWORD_PTR;
+#endif
extern HWND mainwindow;
}
-int CDAudio_SysPlay (qbyte track)
+int CDAudio_SysPlay (unsigned char track)
{
DWORD dwReturn;
MCI_PLAY_PARMS mciPlayParms;
Con_Printf("CDAudio_SysResume: MCI_PLAY failed (%i)\n", dwReturn);
return -1;
}
- return 0;
+ return 0;
}
LONG CDAudio_MessageHandler (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)