This call creates a new logical keyboard.
KbdOpen
KbdHandle (PHKBD) - output
KbdOpen blocks while another thread has the keyboard focus (by way of KbdGetFocus) until the thread with the focus issues KbdFreeFocus. Therefore, to prevent KbdOpen from blocking, it is recommended that KbdOpen be issued only while the current thread has the focus. For example:
KbdGetFocus