Share via


IActiveIMMIME::GetCompositionFontA method

Gets information about the logical font that is used currently to display characters in the composition window. (ANSI implementation).

Syntax

HRESULT GetCompositionFontA(
  [in]  HIMC     hIMC,
  [out] LOGFONTA *plf
);

Parameters

  • hIMC [in]
    A handle to the input context.

  • plf [out]
    The address of a LOGFONTA structure that receives the font information.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method maps to the ImmGetCompositionFont 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

See also

IActiveIMMIME

GetCompositionFontW