ScriptFreeCache (Windows CE 5.0)

Send Feedback

This function frees a SCRIPT_CACHE item.

HRESULT WINAPI ScriptFreeCache(  SCRIPT_CACHE *psc);

Parameters

  • psc
    [in, out] Pointer to a SCRIPT_CACHE item to be freed.

Return Values

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.

Remarks

The client may free a SCRIPT_CACHE at any time. Uniscribe maintains reference counts in its font and shaper caches and frees font data only when all sizes of the font are free, and shaper data only when all fonts it supports are freed.

The client should free the SCRIPT_CACHE for a style when it discards that style.

ScriptFreeCache always sets its parameter to NULL to help avoid misreferencing.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Usp10.h.
Link Library: Uspce.lib.

See Also

SCRIPT_CACHE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.