Explicitly set WindowProcedure calling convention
This commit is contained in:
parent
2ddd555aaf
commit
b941a8f06b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue