Explicitly set WindowProcedure calling convention

This commit is contained in:
Stefanos A 2013-12-20 23:29:47 +01:00
parent 1edfa8f3de
commit 6696bef3eb

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