Skip to main content
ATL Server Library Reference 
ATL_STENCIL_LIFESPAN 

This macro defines a default filetime value used as the life span for stencils in the stencil cache. Stencils are removed from the cache when their life span has been reached whether or not they have been used recently.


#define ATL_STENCIL_LIFESPAN

ATL_STENCIL_LIFESPAN defaults to 1 second in debug builds and 1 hour in release builds. If necessary, you can define your own value for this symbol before including atlcache.h.

Header: atlcache.h