Gets the INPUTCONTEXT structure and increases the lock count for the input context.
Syntax
HRESULT LockIMC(
  [in]  HIMC         hIMC,
  [out] INPUTCONTEXT **ppIMC
);
Parameters
- hIMC [in] 
 A handle to the input context to lock.
- ppIMC [out] 
 A pointer to an INPUTCONTEXT structure that contains the locked input context.
Return value
Returns S_OK if successful, or an error value otherwise.
Remarks
This method maps to the ImmLockIMC function.
Requirements
| Minimum supported client | Windows XP | 
| Minimum supported server | Windows 2000 Server | 
| Header | Dimm.h | 
| IDL | Dimm.idl |