GetKeyboardLayout
Functional Difference from WIN95
The HKL value of Win95 should not be assumed.
Functional Difference from SBCS Open32
'N/A'
Implementation
In Win95, the dwLayout of HKL GetKeyboardLayout(dwLayout) means a thread identifier. The thread identifier is got from CreateThread() of Win95. If dwLayout is zero, get the current thread HKL.
In the Open32 NLS Extension, we must trap the CreateThread() of Win95 and save the thread identifier to create a table of the thread identifier and HMQ.
Using the table, ImQueryIMEList() of O/S2 and ImGetCurrentIME() of OS/2, the appropriate HKL is selected. The HKL is provided by OS/2.
Behavior using 16 bit IME
You can use this function as same as a 32bit IME.