#include
#include "mmsystem.h"
/ / -------------------------------------------------------------------------------------------- ---------------------- // name: errbox // use: displays an error string in a message box // type: function // NEED LIBS: < Stdio.h> and
/ / -------------------------------------------------------------------------------------------- ---------------------- // name: cwinplayer // use: a Player Can Play Media That System Supports // Type: Class // NEED LIBS: WINMM .lib and mmsystem.h // enlist time: November 7, 2004 Class CWINPLAYER {public: cstring path; // Play file path BOOL M_BSTOP; // Player Status DWORD CDFROM, CDTO; Int Hour, Minute, Second DWORD CDLEN; DWORD M_COUNT;
PUBLIC: DWORD GetInfo (DWORD ITEM); Void Play (); Void Stop ();
November 7, 2004 17:20:13