Wiki Page Content

Revision 3 as of 2016-05-12 20:36:08

Clear message

DRAFT

SDL_WinRTRunApp

Use this function to initialize and launch an SDL/WinRT application.

Syntax

int SDL_WinRTRunApp(MainFunction mainFunction
                    void*        reserved)

Function Parameters

mainFunction

the SDL app's C-style main(); see Remarks for details

reserved

reserved for future use; should be NULL

Return Value

Returns 0 on success or -1 on failure; call SDL_GetError() to retrieve more information on the failure.

Code Examples

You can add your code example here

Remarks

The function prototype for mainFunction is:

int MainFunction(int argc, char **argv)
  • where its parameters are:
  • argc

    the number of arguments

    argv

    an array of arguments

Version

This function is available since SDL 2.0.3.


CategoryAPI, CategoryInit

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit