IUClearCache
IUClearCache
Clear the application cache of 'itl2' and 'itl4' handles IUClearCache clears the application cache containing the 'itl2' and 'itl4' handles, which is useful if applications want to supply an 'itl2' or 'itl4'
Notes: The IUClearCache procedure clears the application cache containing the 'itl2' and 'itl4' resource handles for the current script. Applications that
provide their own 'itl2' or 'itl4' resource and want them to be used as the
default for the corresponding script should call IUClearCache at entry to ensure that the supplied 'itl2' or 'itl4' resource is used instead of the
system's 'itl2' and 'itl4' resources.
The current default ID numbers for the script's 'itl2' and 'itl4' resources
are stored in the script's local variables. These values may be read with the
the 'itl2' resource) and smScriptToken (for the 'itl4' resource). Before
calling IUClearCache, you should set the script's default ID number to the ID of the resource that you are supplying.
If the IntlForce flag is TRUE, the ID must be in the system script range.
Otherwise, the ID must be in the appropriate range of the font script. See
Using the International and Keyboard Resources for a discussion
of the IntlForce flag.
Warning: If you use the SetScript function to change the value of the 'itl2' resource ID, you should restore the original resource ID
before your application quits. This minimizes the effects on other
applications.