Platform SDK: International Features

ImmGetCompositionFont

The ImmGetCompositionFont function retrieves information about the logical font currently used to display characters in the composition window.

BOOL ImmGetCompositionFont(
  HIMC hIMC,      
  LPLOGFONT lplf  
);

Parameters

hIMC
[in] Handle to the input context.
lplf
[out] Pointer to a LOGFONT structure that receives the font information.

Return Values

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Imm.h.
  Library: Use Imm32.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.

See Also

Input Method Editor Overview, Input Method Editor Functions, LOGFONT