Explicitly set WindowProcedure calling convention

This commit is contained in:
Stefanos A. 2013-12-20 23:29:47 +01:00
parent 2ddd555aaf
commit b941a8f06b

View file

@ -4313,6 +4313,8 @@ namespace OpenTK.Platform.Windows
#region --- Callbacks ---
[SuppressUnmanagedCodeSecurity]
[UnmanagedFunctionPointer(CallingConvention.Winapi)]
internal delegate IntPtr WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam);
#region Message