windows-nt/Source/XPSP1/NT/net/irda/irmon/internal.h

62 lines
815 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#if DBG
#define DEBUGMSG(s) DbgPrint s
//#define DEBUGMSG(s) printf s
//#define DEBUGMSG(s) (0)
#else
#define DEBUGMSG(s) (0)
#endif
typedef UINT (* WAVE_NUM_DEV_FN)(VOID);
typedef BOOL (* PLAY_SOUND_FN)( IN LPCWSTR pszSound, IN HMODULE hmod, IN DWORD fdwSound);
extern HINSTANCE ghInstance;
extern HKEY ghCurrentUserKey;
typedef enum
{
INRANGE_SOUND,
OUTOFRANGE_SOUND,
INTERRUPTED_SOUND,
END_INTERRUPTED_SOUND
} IRSOUND_EVENT;
VOID
PlayIrSound(
IRSOUND_EVENT SoundEvent
);
VOID
CreateRegSoundData(
VOID
);
VOID
GetRegSoundData(
HANDLE Event
);
VOID
LoadSoundApis(
VOID
);
BOOL
InitializeSound(
HKEY CurrentUserKey,
HANDLE Event
);
VOID
UninitializeSound(
VOID
);