ScriptCacheGetHeight (Compact 2013)

3/28/2014

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

See Also

Reference

Uniscribe Functions
SCRIPT_CACHE