Gets information about the composition window.
Syntax
HRESULT GetCompositionWindow(
  [in]  HIMC            hIMC,
  [out] COMPOSITIONFORM *pCompForm
);
Parameters
- hIMC [in] 
 A handle to the input context.
- pCompForm [out] 
 The address of the COMPOSITIONFORM structure that receives information about the composition window.
Return value
Returns S_OK if successful, or an error value otherwise.
Remarks
This method maps to the ImmGetCompositionWindow function that is documented in the Windows Software Development Kit (SDK).
Requirements
| Minimum supported client | Windows XP | 
| Minimum supported server | Windows 2000 Server | 
| Header | Dimm.h | 
| IDL | Dimm.idl |