Skip to content
Permalink
Browse files

Applied David MacCormack's patch to fix SDL_WINDOWID on Windows,

and added a function to cache the application handle so DirectInput
still works properly.
  • Loading branch information
slouken committed Aug 9, 2001
1 parent 1a63467 commit e5daa288ab351f50d419b763736d98533f39a8fb

File 1 of 9 in e5daa28

@@ -64,7 +64,9 @@ extern "C" {
#endif

/* This should be called from your WinMain() function, if any */
extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, void *hInst);
extern DECLSPEC void SDL_SetModuleHandle(HMODULE hInst);
/* This can also be called, but is no longer necessary */
extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, HMODULE hInst);

#ifdef __cplusplus
}

0 comments on commit e5daa28

Please sign in to comment.