fallout2-ce/src/win32.h

25 lines
499 B
C
Raw Normal View History

2022-05-19 01:51:26 -07:00
#ifndef WIN32_H
#define WIN32_H
#define WIN32_LEAN_AND_MEAN
2022-05-28 04:45:48 -07:00
#define NOMINMAX
2022-05-19 01:51:26 -07:00
#include <windows.h>
#include <mmreg.h>
#define DIRECTSOUND_VERSION 0x0300
#include <dsound.h>
typedef HRESULT(__stdcall DirectSoundCreateProc)(GUID*, LPDIRECTSOUND*, IUnknown*);
extern DirectSoundCreateProc* gDirectSoundCreateProc;
extern HWND gProgramWindow;
extern bool gProgramIsActive;
extern HANDLE _GNW95_mutex;
extern HMODULE gDSoundDLL;
bool _LoadDirectX();
void _UnloadDirectX(void);
#endif /* WIN32_H */