Changes the association between the input method context and the specified window or its children.
Syntax
HRESULT AssociateContextEx( HWND hWnd, HIMC hIMC, DWORD dwFlags );
Parameters
- hWnd
- [in] Handle to the window to be associated with the input context.
- hIMC
- [in] Handle to the input method context.
- dwFlags
- [in] Unsigned long integer value that contains the type of association between the window and the input method context.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method is only available for Microsoft® Windows® 98 and Windows NT® 4.0. This method maps to the ImmAssociateContextEx function documented in the Microsoft Platform Software Development Kit (SDK).