arsa  2.7
Functions
SDL_winrt_main_NonXAML.cpp File Reference
#include "SDL_main.h"
#include <wrl.h>

Go to the source code of this file.

Functions

int CALLBACK WinMain (HINSTANCE, HINSTANCE, LPSTR, int)
 

Function Documentation

◆ WinMain()

int CALLBACK WinMain ( HINSTANCE  ,
HINSTANCE  ,
LPSTR  ,
int   
)

Definition at line 51 of file SDL_winrt_main_NonXAML.cpp.

52 {
53  if (FAILED(Windows::Foundation::Initialize(RO_INIT_MULTITHREADED))) {
54  return 1;
55  }
56 
57  SDL_WinRTRunApp(SDL_main, NULL);
58  return 0;
59 }
SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[])
#define NULL
Definition: begin_code.h:167