Share via


ScriptCacheGetHeight (Windows Embedded CE 6.0)

1/6/2010

This function returns the height of the currently cached font.

Syntax

HRESULT WINAPI ScriptCacheGetHeight(
  HDC hdc, 
  SCRIPT_CACHE* psc, 
  long* tmHeight 
);

Parameters

  • hdc
    [in] Handle to the device context. This parameter is optional.
  • tmHeight
    [out] Pointer to a variable that receives the height of the font.

Return Value

If the function succeeds, the return value is zero.

If the function fails, it returns a nonzero value. If any other unrecoverable error is encountered, it is returned as an HRESULT.

Requirements

Header usp10.h
Library Uspce.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

SCRIPT_CACHE

Other Resources

Uniscribe Functions