UtilKeyboardGetKeyboardLayout(Int32) 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(
int threadId
)
Public Shared Function GetKeyboardLayout (
threadId As Integer
) As IntPtr
Dim threadId As Integer
Dim returnValue As IntPtr
returnValue = UtilKeyboard.GetKeyboardLayout(threadId)
public:
static IntPtr GetKeyboardLayout(
int threadId
)
static member GetKeyboardLayout :
threadId : int -> IntPtr
No code example is currently available or this language may not be supported.
- threadId Int32
-
The identifier of the thread to query, or 0 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(0)
Dim kbdLayout As IntPtr = GetKeyboardLayout(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.