Patchable Constants: KCustomResolverCacheTimeout

# define ECOM_PATCHDATA_KCUSTOMRESOLVERCACHETIMEOUT 4000000

Exported from:

ECOMPATCHDATA.DLL

Defined in:

.../os/ossrv/lowlevellibsandfws/pluginfw/framework/frame/ecompatchdataconstantv2.cpp

Purpose:

This constant represents the value of the patchable constant KCustomResolverCacheTimeout. It specifies the timeout in microseconds that a resolver DLL is kept in cache. When the time expires, the resolver DLL is released from memory. The default value of KCustomResolverCacheTimeout is 4000000. That means if no client uses a cached resolver DLL, the DLL will be unloaded after four seconds.

ECom uses a customized scheme to handle patchable constants. Device creators should follow the scheme described below to set patch values:

  • Each patchable constant is represented by a macro listed in \epoc32\rom\include\ecompatchconstants.hby. The macros in the HBY file are all commented out.

  • To activate a patch macro, uncomment the line and change the example value in the line to your custom value.