Notifies the current Active Input Method Editor of the active input context.
Syntax
HRESULT SetActiveContext( HIMC hIMC, BOOL fFlag );
Parameters
- hIMC
- [in] Handle to the input context.
- fFlag
- [in] Boolean value that specifies the status of the input context. TRUE indicates the input context is activated, and FALSE indicates the input context is deactivated.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImeSetActiveContext function documented in the Microsoft® Windows® 2000 Driver Development Kit.