From 9921d35db5192440b128f70bfee4598dc9441b34 Mon Sep 17 00:00:00 2001 From: Maik Macho Date: Wed, 1 Mar 2017 04:09:52 +0100 Subject: [PATCH] Stub UnloadKeyboardLayout --- src/Helper/PInvokeHooks/KeyboardEvents.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Helper/PInvokeHooks/KeyboardEvents.cs b/src/Helper/PInvokeHooks/KeyboardEvents.cs index 9854d85..87faee8 100644 --- a/src/Helper/PInvokeHooks/KeyboardEvents.cs +++ b/src/Helper/PInvokeHooks/KeyboardEvents.cs @@ -74,6 +74,12 @@ public static IntPtr LoadKeyboardLayout(string pwszKLID, uint Flags) { return (IntPtr) 0x00000409; } + public static bool UnloadKeyboardLayout(IntPtr hkl) { + // THIS IS FINE. + // -This Is Fine Dog + return true; + } + public static bool GetKeyboardLayoutName(object pwszKLID) { // Let's just pretend EN - US (00000409) const string name = "00000409";