Fix an issue with cncnet launcher, incorrectly called CloseHandle on loaded module handle

This commit is contained in:
Toni Spets 2010-11-23 17:36:12 +02:00
parent f59421bbe8
commit 2d5403338e
2 changed files with 16 additions and 11 deletions

1
main.h
View file

@ -42,6 +42,7 @@ typedef struct IDirectDrawImpl
DEVMODE mode;
struct IDirectDrawSurfaceImpl *primary;
char title[128];
HMODULE real_dll;
/* real export from system32\ddraw.dll */
HRESULT WINAPI (*DirectDrawCreate)(GUID FAR*, LPDIRECTDRAW FAR*, IUnknown FAR*);