// // Temporary mmsystem.h because GNU-Win32 doesn't have one yet. // // This code is in the PUBLIC DOMAIN and has NO WARRANTY. // // Original Author: Colin Peters // // $Revision: 1.1 $ // $Author: colin $ // $Date: 1997/10/04 01:25:04 $ // #ifndef _MMSYSTEM_H_ #define _MMSYSTEM_H_ #ifdef __cplusplus extern "C" { #endif /* Flags for PlaySound */ #define SND_SYNC 0x00000000 #define SND_ASYNC 0x00000001 #define SND_NODEFAULT 0x00000002 #define SND_MEMORY 0x00000004 #define SND_LOOP 0x00000008 #define SND_NOSTOP 0x00000010 #define SND_PURGE 0x00000040 #define SND_APPLICATION 0x00000080 #define SND_NOWAIT 0x00002000 #define SND_ALIAS 0x00010000 #define SND_FILENAME 0x00020000 #define SND_RESOURCE 0x00040004 #define SND_ALIAS_ID 0x00110000 BOOL WINAPI PlaySoundA (LPCSTR pszSound, HMODULE hmod, DWORD fdwSound); BOOL WINAPI PlaySoundW (LPCWSTR pszSound, HMODULE hmod, DWORD fdwSound); #ifdef UNICODE #define PlaySound PlaySoundW #else #define PlaySound PlaySoundA #endif #ifdef __cplusplus } #endif #endif /* Not defined _MMSYSTEM_H_ */