Starts the Active Input Method Manager (IMM) service and sets the status of Active Input Method Editors (IMEs) for the thread.
Syntax
HRESULT Activate(
  [in] BOOL fRestoreLayout
);
Parameters
- fRestoreLayout [in]
 A 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 value otherwise.
Requirements
| Minimum supported client | Windows XP | 
| Minimum supported server | Windows 2000 Server | 
| Product | Internet Explorer 5.0 | 
| Header | Dimm.h | 
| IDL | Dimm.idl |