From 28ad7c171c9fb581614204a8df77236376daa8e3 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Sun, 1 Sep 2013 16:30:39 -0400 Subject: [PATCH] SDL_GetWindowWMInfo() --- src/SDL2.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/SDL2.cs b/src/SDL2.cs index 677e45f..6560b4d 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -5166,6 +5166,13 @@ namespace SDL2 // private int dummy; } + /* window refers to an SDL_Window* */ + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern SDL_bool SDL_GetWindowWMInfo( + IntPtr window, + ref SDL_SysWMinfo info + ); + #endregion } }