diff --git a/src/SDL2.cs b/src/SDL2.cs
index 45bdf23..bd55906 100644
--- a/src/SDL2.cs
+++ b/src/SDL2.cs
@@ -110,6 +110,20 @@ namespace SDL2
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void SDL_SetMainReady();
+ ///
+ /// This is used as a function pointer to a C-style main() function for SDL_WinRTRunApp().
+ ///
+ public delegate int SDL_WinRT_mainFunction(int argc, IntPtr[] argv);
+
+ ///
+ /// Initializes and launches an SDL/WinRT application. Use with UWP!
+ ///
+ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
+ public static extern int SDL_WinRTRunApp(
+ SDL_WinRT_mainFunction mainFunction,
+ IntPtr reserved
+ );
+
#endregion
#region SDL.h