Partager via


SCRIPT_CACHE (Windows CE 5.0)

Send Feedback

This structure is an opaque pointer to a Uniscribe font-metric cache structure.

typedef void *SCRIPT_CACHE; 

Members

None.

Remarks

The client must allocate and retain one SCRIPT_CACHE variable for each character style used. It must be initialized by the client to NULL.

Many script functions take a combination of HDC and SCRIPT_CACHE. Uniscribe will first attempt to access font data by using the SCRIPT_CACHE and will only inspect the HDC if the required data is not already cached.

The HDC may be passed as NULL. If data required by Uniscribe is already cached, the HDC 'will not be accessed, and the operation continues normally.

If the HDC is passed as NULL, and Uniscribe needs to access it for any reason, Uniscribe will return E_PENDING.

E_PENDING is returned quickly, allowing the client to avoid time-consuming SelectObject calls.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Usp10.h.

See Also

SelectObject

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.