fallout2-ce/src/win32.h

24 lines
482 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
#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 */