GetKeyboardLayout() and LoadKeyboardLayout() difficulty

Ioann 61 Reputation points

Hello guys,

What i want to do is GetKeyboardlayout(0) that returns a HKL object and i want to use this HKL as input for the first parameter of LoadKeyboardLayout() which is LPCWSTR. Is this possible ?

Thanks in advance

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,443 questions
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,557 questions
{count} votes