ImGetInstance
When an application access to information in IM Instance, it must call this function before the access, and get the proper handle of the IM Instance.
Format:
APIRET APIENTRY ImGetInstance(HWND hWnd, PHIMI phIMI)
Parameters:
hWnd(input)
Zero is successful. Others are errors.