Sets the position of the composition window.
Syntax
HRESULT SetCompositionWindow( HIMC hIMC, COMPOSITIONFORM *pCompForm );
Parameters
- hIMC
- [in] Handle to the input context.
- pCompForm
- [in] Address of the COMPOSITIONFORM structure that contains the new position and other related information about the composition window.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmSetCompositionWindow function documented in the Microsoft® Platform Software Development Kit (SDK).