mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-22 20:05:29 +00:00
Fix pressing alt + [numpad numbers] raising OnKeyPress with '?'
This commit is contained in:
parent
f505808c8b
commit
f17fa4bc2d
|
@ -354,7 +354,7 @@ namespace OpenTK.Platform.Windows
|
||||||
/// To get extended error information, call GetLastError.
|
/// To get extended error information, call GetLastError.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
[System.Security.SuppressUnmanagedCodeSecurity]
|
[System.Security.SuppressUnmanagedCodeSecurity]
|
||||||
[DllImport("User32.dll"), CLSCompliant(false)]
|
[DllImport("User32.dll", CharSet = CharSet.Auto), CLSCompliant(false)]
|
||||||
//[return: MarshalAs(UnmanagedType.Bool)]
|
//[return: MarshalAs(UnmanagedType.Bool)]
|
||||||
internal static extern INT GetMessage(ref MSG msg,
|
internal static extern INT GetMessage(ref MSG msg,
|
||||||
IntPtr windowHandle, int messageFilterMin, int messageFilterMax);
|
IntPtr windowHandle, int messageFilterMin, int messageFilterMax);
|
||||||
|
@ -388,11 +388,11 @@ namespace OpenTK.Platform.Windows
|
||||||
internal static extern void PostQuitMessage(int exitCode);
|
internal static extern void PostQuitMessage(int exitCode);
|
||||||
|
|
||||||
[SuppressUnmanagedCodeSecurity]
|
[SuppressUnmanagedCodeSecurity]
|
||||||
[DllImport("User32.dll"), CLSCompliant(false)]
|
[DllImport("User32.dll", CharSet = CharSet.Auto), CLSCompliant(false)]
|
||||||
internal static extern LRESULT DispatchMessage(ref MSG msg);
|
internal static extern LRESULT DispatchMessage(ref MSG msg);
|
||||||
|
|
||||||
[SuppressUnmanagedCodeSecurity]
|
[SuppressUnmanagedCodeSecurity]
|
||||||
[DllImport("User32.dll"), CLSCompliant(false)]
|
[DllImport("User32.dll", CharSet = CharSet.Auto), CLSCompliant(false)]
|
||||||
internal static extern BOOL TranslateMessage(ref MSG lpMsg);
|
internal static extern BOOL TranslateMessage(ref MSG lpMsg);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue