Creates a new input context, allocating memory for the context and initializing it.
Syntax
HRESULT CreateContext( HIMC *phIMC );
Parameters
- phIMC
- [out] Address of a handle to receive the new input context.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The client application calls this method to prepare its own input context.
This method maps to the ImmCreateContext function documented in the Microsoft® Platform Software Development Kit (SDK).