<div class="content"><p>The ExportXMLFiles method saves the current <a href="e371cc74-bf4c-4870-8afe-5062cc628b4f#gt_c18a91a3-689f-4e5e-9a91-c7b8f5402c5e" data-linktype="relative-path">WSRM configuration</a>.<a id="Appendix_A_Target_28"></a><a aria-label="Product behavior note 28" href="1af5b971-a682-44a0-affe-c98947d5e7f7#Appendix_A_28" data-linktype="relative-path">&lt;28&gt;</a></p><dl>
<dd>
<div><pre> [id(4), helpstring(&#34;method ExportXMLFiles&#34;)] HRESULT ExportXMLFiles(
   [out] BSTR* pbstrPMCXml,
   [out] BSTR* pbstrPolicyXml,
   [out] BSTR* pbstrCalendarXml,
   [out] BSTR* pbstrConditionalXml
 );
</pre></div>
</dd></dl><p><b>pbstrPMCXml: </b>A pointer to a string that
returns <a href="e371cc74-bf4c-4870-8afe-5062cc628b4f#gt_65daee12-445f-41c0-8456-f728063bef24" data-linktype="relative-path">process matching
criteria (PMC)</a> in the form of a <a href="361984a5-60a9-4e17-99ce-95c4a1e898c3" data-linktype="relative-path">ProcessMatchingCriteriaCollection
element (section 2.2.5.25)</a>. For an example, see <a href="702d097a-9c16-4a63-8254-89e349a182d4" data-linktype="relative-path">ProcessMatchingCriteriaCollection
example (section 4.2.21)</a>. </p><p><b>pbstrPolicyXml: </b>A pointer to a string that
returns a <a href="e371cc74-bf4c-4870-8afe-5062cc628b4f#gt_559b0a4d-161b-4664-9c10-4fab98b97f1f" data-linktype="relative-path">resource policy</a>
in the form of a <a href="1c010046-ccb3-41cb-8490-b181b715b16b" data-linktype="relative-path">PolicyCollection
element (section 2.2.5.22)</a>.</p><p><b>pbstrCalendarXml: </b>A pointer to a string that
returns a <a href="e371cc74-bf4c-4870-8afe-5062cc628b4f#gt_7204b2ed-dcef-4434-be15-6451f92d03fb" data-linktype="relative-path">calendar</a> in
the form of a <a href="04f7e237-6892-4d93-8867-de7b62aef6e0" data-linktype="relative-path">CalendarsCollection
element (section 2.2.5.11)</a>. For an example, see <a href="d0f9f144-01b1-4f21-b179-f51df713b0ca" data-linktype="relative-path">CalendarsCollection
Example (section 4.2.8)</a>.</p><p><b>pbstrConditionalXml: </b>A pointer to a string
that returns a <a href="e371cc74-bf4c-4870-8afe-5062cc628b4f#gt_9a1c3bd3-d971-482a-adfe-6f41e427b95f" data-linktype="relative-path">condition</a>
in the form of a <a href="f00d308a-d050-4368-a663-b740f11087e5" data-linktype="relative-path">ConditionalPolicy
element (section 2.2.5.12)</a>. For an example, see section <a href="11562c25-a21c-400a-84b5-2ca8e97bac47" data-linktype="relative-path">4.2.9</a>.</p><p><b>Return Values: </b>This method returns 0x00000000
for success or a negative <a href="e371cc74-bf4c-4870-8afe-5062cc628b4f#gt_799103ab-b3cb-4eab-8c55-322821b2b235" data-linktype="relative-path">HRESULT</a>
value (in the following table or in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>
section <a href="../ms-erref/705fb797-2175-4a90-b5a3-3918024b10b8" data-linktype="relative-path">2.1.1</a>)
if an error occurs.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Return value/code</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>0xC1FF0070</p>
  <p>WRM_ERR_TAGS_NOT_IN_ORDER</p>
  </td>
  <td>
  <p>The XML data that is maintained by the management
  service is invalid or cannot be processed.<a id="Appendix_A_Target_29"></a><a aria-label="Product behavior note 29" href="1af5b971-a682-44a0-affe-c98947d5e7f7#Appendix_A_29" data-linktype="relative-path">&lt;29&gt;</a></p>
  </td>
 </tr><tr>
  <td>
  <p>0x00000000</p>
  <p>S_OK</p>
  </td>
  <td>
  <p>Operation successful.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p>Additional <a href="7c62a2fd-63f4-435f-8fc8-c94e4509f6fd" data-linktype="relative-path">IResourceManager</a> interface
methods are specified in section 3.2.4.1.</p></div>