comparison 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
comparison
equal deleted inserted replaced
144:1cfa4282f2eb 145:29a638dc26db
62 #ifdef __cplusplus 62 #ifdef __cplusplus
63 extern "C" { 63 extern "C" {
64 #endif 64 #endif
65 65
66 /* This should be called from your WinMain() function, if any */ 66 /* This should be called from your WinMain() function, if any */
67 extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, void *hInst); 67 extern DECLSPEC void SDL_SetModuleHandle(HMODULE hInst);
68 /* This can also be called, but is no longer necessary */
69 extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, HMODULE hInst);
68 70
69 #ifdef __cplusplus 71 #ifdef __cplusplus
70 } 72 }
71 #endif 73 #endif
72 #include "close_code.h" 74 #include "close_code.h"