UtilKeyboardGetKeyboardLayout(IntPtr) Method
Gets the active input locale identifier (formerly called the keyboard layout).
Namespace: DevCase.Core.IO.Devices.InputAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IntPtr GetKeyboardLayout(
IntPtr threadHandle
)
Public Shared Function GetKeyboardLayout (
threadHandle As IntPtr
) As IntPtr
Dim threadHandle As IntPtr
Dim returnValue As IntPtr
returnValue = UtilKeyboard.GetKeyboardLayout(threadHandle)
public:
static IntPtr GetKeyboardLayout(
IntPtr threadHandle
)
static member GetKeyboardLayout :
threadHandle : IntPtr -> IntPtr
No code example is currently available or this language may not be supported.
- threadHandle IntPtr
-
A handle identifier of the thread to query, or Zero to query the current thread.
IntPtr
The return value is the input locale identifier for the thread.
This is a code example.
No code example is currently available or this language may not be supported.
Dim kbdLayout As IntPtr = GetKeyboardLayout(IntPtr.Zero)
Dim kbdLayout As IntPtr = GetKeyboardLayout(New IntPtr(Process.GetCurrentProcess.Threads(0).Id))
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.