Sets the logical font that is used to display characters in the composition window. (ANSI implementation).
Syntax
HRESULT SetCompositionFontA(
  [in] HIMC     hIMC,
  [in] LOGFONTA *plf
);
Parameters
- hIMC [in] 
 A handle to the input context.
- plf [in] 
 The address of the LOGFONTA structure that contains the font information to set.
Return value
Returns S_OK if successful, or an error value otherwise.
Remarks
This method maps to the ImmSetCompositionFont 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 |