Retrieves information about the logical font currently used to display characters in the composition window. ANSI implementation.
Syntax
HRESULT GetCompositionFontA( HIMC hIMC, LOGFONTA *plf );
Parameters
- hIMC
- [in] Handle to the input context.
- plf
- [out] Address of a LOGFONTA structure that receives the font information.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmGetCompositionFont function documented in the Microsoft® Platform Software Development Kit (SDK).