Starts the Active IMM service and sets the status of Active IMEs for the thread.
Syntax
HRESULT Activate( BOOL fRestoreLayout );
Parameters
- fRestoreLayout
- [in] Boolean value that determines whether Active IMEs are enabled for the thread. If TRUE, the method enables Active IMEs. Otherwise it disables Active IMEs.
Return Value
Returns S_OK if successful, or an error code otherwise.