Retrieves the INPUTCONTEXT structure and increases the lock count for the input context.
Syntax
HRESULT LockIMC( HIMC hIMC, INPUTCONTEXT **ppIMC );
Parameters
- hIMC
- [in] Handle to the input context to lock.
- ppIMC
- [out] Address of a pointer to an INPUTCONTEXT structure containing the locked input context.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmLockIMC function documented in the Microsoft® Windows® 98 Device Driver Kit.