Symbian3/PDK/Source/GUID-98CB1CF9-C6FB-573D-951C-2C1894D2DD33.dita
changeset 5 f345bda72bc4
child 14 578be2adaf3e
equal deleted inserted replaced
4:4816d766a08a 5:f345bda72bc4
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-98CB1CF9-C6FB-573D-951C-2C1894D2DD33" xml:lang="en"><title>Patchable
       
    13 Constants: KCustomResolverCacheTimeout </title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    14 <codeblock id="GUID-6C0BD31A-8F46-5B8E-BA9A-5DEF04D59B41" xml:space="preserve"># define ECOM_PATCHDATA_KCUSTOMRESOLVERCACHETIMEOUT 4000000</codeblock>
       
    15 <table id="GUID-AB31F664-7A42-58BE-82FE-CCA329A176B8">
       
    16 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/>
       
    17 <tbody>
       
    18 <row>
       
    19 <entry><p>Exported from: </p> </entry>
       
    20 <entry><p> <filepath>ECOMPATCHDATA.DLL</filepath>  </p> </entry>
       
    21 </row>
       
    22 <row>
       
    23 <entry><p>Defined in: </p> </entry>
       
    24 <entry><p> <filepath>.../os/ossrv/lowlevellibsandfws/pluginfw/framework/frame/ecompatchdataconstantv2.cpp</filepath> </p> </entry>
       
    25 </row>
       
    26 <row>
       
    27 <entry><p>Purpose: </p> </entry>
       
    28 <entry><p>This constant represents the value of the patchable constant <codeph>KCustomResolverCacheTimeout</codeph>.
       
    29 It specifies the timeout in microseconds that a resolver DLL is kept in cache.
       
    30 When the time expires, the resolver DLL is released from memory. The default
       
    31 value of <codeph>KCustomResolverCacheTimeout</codeph> is 4000000. That means
       
    32 if no client uses a cached resolver DLL, the DLL will be unloaded after four
       
    33 seconds. </p> </entry>
       
    34 </row>
       
    35 </tbody>
       
    36 </tgroup>
       
    37 </table>
       
    38 <p>ECom uses a customized scheme to handle patchable constants. Device creators
       
    39 should follow the scheme described below to set patch values: </p>
       
    40 <ul>
       
    41 <li id="GUID-C5748A97-6812-5C3A-91C1-3E4F42D034C1"><p>Each patchable constant
       
    42 is represented by a macro listed in <filepath>\epoc32\rom\include\ecompatchconstants.hby</filepath>.
       
    43 The macros in the HBY file are all commented out. </p> </li>
       
    44 <li id="GUID-984A7C98-9D4B-5512-82E8-DF9B336E668D"><p>To activate a patch
       
    45 macro, uncomment the line and change the example value in the line to your
       
    46 custom value. </p> </li>
       
    47 </ul>
       
    48 </conbody></concept>