include/SDL_main.h
changeset 145 29a638dc26db
parent 47 45b1c4303f87
child 149 0e66fd980014
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"