Compartilhar via


IActiveIMMIME::SetCompositionFontW method

Sets the logical font that is used to display characters in the composition window. (Unicode implementation).

Syntax

HRESULT SetCompositionFontW(
  [in] HIMC     hIMC,
  [in] LOGFONTW *plf
);

Parameters

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

  • plf [in]
    The address of the LOGFONTW 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

See also

IActiveIMMIME

SetCompositionFontA