<div class="content"><p>The BackupGetDynamicFiles method retrieves the list of <a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_c925d5d7-a442-4ba4-9586-5f94ccec847a" data-linktype="relative-path">CA</a> dynamic file names that
need to be backed up. The dynamic files are those that are not included in the
CA database backup and are created dynamically by the CA, for example: <a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_4f22841f-249b-42fb-a31a-5049c00be939" data-linktype="relative-path">CRL</a> files created by the
CA. Note that <a href="f5fc08ea-2f9f-438d-93d2-4f8e6813df46" data-linktype="relative-path">BackupOpenFile</a>
and <a href="85d2255e-0017-4a6a-8934-e54b0231b061" data-linktype="relative-path">BackupReadFile</a>
cannot be used to open and read the dynamic files whose names are returned by
this method. Dynamic files must be backed up by means outside this protocol.</p><dl>
<dd>
<div><pre> HRESULT BackupGetDynamicFiles(
   [out, size_is(, *pcwcFiles)] WCHAR** ppwszzFiles,
   [out] LONG* pcwcFiles
 );
</pre></div>
</dd></dl><p><b>ppwszzFiles: </b>A pointer to a <a href="../ms-dtyp/7df7c1d5-492c-4db4-a992-5cd9e887c5d7" data-linktype="relative-path">WCHAR</a>
pointer that receives the list of null-terminated dynamic file names that are
used by a CA.</p><p><b>pcwcFiles: </b>A pointer to the <a href="../ms-dtyp/29d44d70-382f-4998-9d76-8a1fe93e445c" data-linktype="relative-path">LONG</a>
value that specifies the number of characters in <i>ppwszzFiles</i>. </p><p>The CA server MUST apply the following processing rules:</p><ul><li><p><span><span> 
</span></span>If Config_CA_Interface_Flags contains the value
IF_NOREMOTEICERTADMINBACKUP, the server SHOULD return an error.<a id="Appendix_A_Target_63"></a><a aria-label="Product behavior note 63" href="5f06c74c-1a29-4fdf-b8dd-ae3300d1b90d#Appendix_A_63" data-linktype="relative-path">&lt;63&gt;</a></p>
</li><li><p><span><span> 
</span></span>The CA server MUST return a list of file names that are not part
of the database but which the CA deems necessary to be part of backup. An
example of a CA dynamic file is the CRL. The files MUST be accessible to the
CA. Each file name MUST be in <a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_c9507dca-291d-4fd6-9cba-a9ee7da8c908" data-linktype="relative-path">UNC</a>
format. If no files are deemed necessary, the CA MUST set 0 as the value of the
<i>*pcwcFiles</i> parameter and return successfully.</p>
</li></ul></div>