include/SDL_main.h
changeset 149 0e66fd980014
parent 145 29a638dc26db
child 173 83018110dce8
equal deleted inserted replaced
148:8758b8d42cd9 149:0e66fd980014
    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 void SDL_SetModuleHandle(HMODULE hInst);
    67 extern DECLSPEC void SDL_SetModuleHandle(void *hInst);
    68 /* This can also be called, but is no longer necessary */
    68 /* This can also be called, but is no longer necessary */
    69 extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, HMODULE hInst);
    69 extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, void *hInst);
    70 
    70 
    71 #ifdef __cplusplus
    71 #ifdef __cplusplus
    72 }
    72 }
    73 #endif
    73 #endif
    74 #include "close_code.h"
    74 #include "close_code.h"