C language function:InstallLayoutOrTip sample codes

Search sample code in the internet.It is the result.

TITLE : TF_CreateThreadMgr function (Windows)
BOOL CALLBACK InstallLayoutOrTip(.......

TITLE : windows - Setting device identifier using LoadKeyboardLayout() - Stack Overflow
Found the solution. Apparently in Vista (and onwards) you must use InstallLayoutOrTip() with the correct GUID (not KLID) to install the proper language-keyboard combo. Then you can call LoadKeyboardLayout() to load it........
search Google