This call closes the existing logical keyboard identified by the keyboard handle.
KbdClose
KbdHandle (HKBD) - input
KbdClose blocks while another thread has the keyboard focus (by way of KbdGetFocus) until the thread with the focus issues KbdFreeFocus. Therefore, to prevent KbdClose from blocking, it is recommended that KbdClose be issued only while the current thread has the focus. For example:
KbdGetFocus