Mercurial > sdl-ios-xcode
diff include/SDL_main.h @ 145:29a638dc26db
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.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 09 Aug 2001 12:21:32 +0000 |
parents | 45b1c4303f87 |
children | 0e66fd980014 |
line wrap: on
line diff
--- a/include/SDL_main.h Thu Aug 09 06:14:06 2001 +0000 +++ b/include/SDL_main.h Thu Aug 09 12:21:32 2001 +0000 @@ -64,7 +64,9 @@ #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 }