|
⇤ ← Revision 1 as of 2014-12-27 12:41:56
Size: 1549
Comment: Created page using content from header file.
|
Size: 1544
Comment: Fixed typo.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 28: | Line 28: |
| Returns 0 on success or -1 on failure; call [[SDL_GetError]]() to retrieve more more information on the failure. | Returns 0 on success or -1 on failure; call [[SDL_GetError]]() to retrieve more information on the failure. |
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 parameter are:
argc
the number of arguments
argv
an array of arguments
Version
This function is available since SDL 2.0.3.
