ITfLangBarItemBitmap::GetPreferredSize method (ctfutb.h)

Obtains the preferred size, in pixels, of the bitmap.

Syntax

HRESULT GetPreferredSize(
  [in]  const SIZE *pszDefault,
  [out] SIZE       *psz
);

Parameters

[in] pszDefault

Pointer to a SIZE structure that contains the default size, in pixels, of the bitmap.

[out] psz

Pointer to a SIZE structure that receives the preferred size, in pixels, of the bitmap. The cy member of this structure is ignored.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ctfutb.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfLangBarItemBitmap

SIZE