<div class="content"><p> </p><p>The RemoteGetClassObject (Opnum 3) method is used by clients
to create an object reference for the <span><a href="ba4c4d80-ef81-49b4-848f-9714d72b5c01#gt_6f5973be-3408-4d7f-ae3e-7303e28bee94" data-linktype="relative-path">class factory</a></span>
object.</p><dl>
<dd>
<div><pre> HRESULT RemoteGetClassObject(
   [in] handle_t rpc,
   [in] ORPCTHIS* orpcthis,
   [out] ORPCTHAT* orpcthat,
   [in, unique] MInterfacePointer* pActProperties,
   [out] MInterfacePointer** ppActProperties
 );
</pre></div>
</dd></dl><p><b>rpc: </b> This MUST specify an <span><a href="ba4c4d80-ef81-49b4-848f-9714d72b5c01#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a></span>
binding handle as specified in <span><a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a></span>
section <span><a href="../ms-rpce/de240b5e-6487-485e-9086-5069977f89db" data-linktype="relative-path">3.2.2.3.1</a></span>.</p><p><b>orpcthis: </b> This MUST specify an ORPCTHIS. The <span><a href="807a93f5-7321-4bdb-b88a-59059566afd3" data-linktype="relative-path">COMVERSION</a></span>
field SHOULD contain the negotiated version as specified in section 2.2.11. The
extensions field MUST be set to NULL.</p><p><b>orpcthat: </b>This MUST contain an ORPCTHAT. The
extensions field MUST be set to NULL.</p><p><b>pActProperties: </b>This MUST specify an <span><a href="21781a97-cb45-4655-82b0-02c4a1584603" data-linktype="relative-path">MInterfacePointer</a></span>
that MUST contain an <span><a href="88fdb261-7c9a-41ea-bfac-31583bdc65e6" data-linktype="relative-path">OBJREF_CUSTOM</a></span> with
a <span><a href="ba4c4d80-ef81-49b4-848f-9714d72b5c01#gt_e433c806-6cb6-46a2-bb95-523df8818c99" data-linktype="relative-path">CLSID</a></span>
field set to CLSID_ActivationPropertiesIn (section <span><a href="c25391af-f59e-40da-885e-cc84076673e4" data-linktype="relative-path">1.9</a></span>) and a <b>pObjectData</b>
field that MUST contain an activation properties BLOB (section <span><a href="d48f1e14-0247-4b70-808a-3f3914ae205d" data-linktype="relative-path">2.2.22</a></span>).
The <b>iid</b> field of the <span><a href="fe6c5e46-adf8-4e34-a8de-3f756c875f31" data-linktype="relative-path">OBJREF</a></span> portion of
the structure MUST be set to IID_IActivationPropertiesIn (see section 1.9). An
implementation MAY use this value as the <span><a href="ba4c4d80-ef81-49b4-848f-9714d72b5c01#gt_76ad3105-3f05-479d-a40c-c9c8fa2ebd83" data-linktype="relative-path">IID</a></span> of an interface
with the local IDL attribute (section <span><a href="100ac689-eb4e-4b63-8354-6e064a485d51" data-linktype="relative-path">2.2.27</a></span>).<a id="Appendix_A_Target_73"></a><a aria-label="Product behavior note 73" href="acc42954-4073-4f05-b850-efd562022077#Appendix_A_73" data-linktype="relative-path">&lt;73&gt;</a></p><dl>
<dd>
<p>The activation properties BLOB MUST contain
properties marked Required in the following table and MAY contain properties
marked Optional. </p>
</dd>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Property Name </p>
   </th>
   <th>
   <p>Section </p>
   </th>
   <th>
   <p>Required or Optional </p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>InstantiationInfoData</p>
  </td>
  <td>
  <p><span><a href="00ad4108-3772-4cda-87df-b2514d4f983b" data-linktype="relative-path">2.2.22.2.1</a></span></p>
  </td>
  <td>
  <p>Required</p>
  </td>
 </tr><tr>
  <td>
  <p>ScmRequestInfoData</p>
  </td>
  <td>
  <p><span><a href="14a35c90-ff41-4608-9c20-7e99531ee3e2" data-linktype="relative-path">2.2.22.2.4</a></span></p>
  </td>
  <td>
  <p>Required</p>
  </td>
 </tr><tr>
  <td>
  <p>LocationInfoData</p>
  </td>
  <td>
  <p><span><a href="d4bed6c9-cb05-482d-8fef-ec867209aa10" data-linktype="relative-path">2.2.22.2.6</a></span></p>
  </td>
  <td>
  <p>Required</p>
  </td>
 </tr><tr>
  <td>
  <p>SecurityInfoData</p>
  </td>
  <td>
  <p><span><a href="40a2e998-0cb4-4aa7-aef8-26581e16e67c" data-linktype="relative-path">2.2.22.2.7</a></span></p>
  </td>
  <td>
  <p>Optional</p>
  </td>
 </tr><tr>
  <td>
  <p>ActivationContextInfoData</p>
  </td>
  <td>
  <p><span><a href="5892b550-cd9e-4277-9644-4886d3b6d754" data-linktype="relative-path">2.2.22.2.5</a></span></p>
  </td>
  <td>
  <p>Optional</p>
  </td>
 </tr><tr>
  <td>
  <p>InstanceInfoData</p>
  </td>
  <td>
  <p><span><a href="b88422bb-778f-487c-aec9-2486feab7026" data-linktype="relative-path">2.2.22.2.3</a></span></p>
  </td>
  <td>
  <p>Optional</p>
  </td>
 </tr><tr>
  <td>
  <p>SpecialPropertiesData</p>
  </td>
  <td>
  <p><span><a href="e175e4a0-daa0-4805-9004-5773245ce21a" data-linktype="relative-path">2.2.22.2.2</a></span></p>
  </td>
  <td>
  <p>Optional</p>
  </td>
 </tr></tbody></table>
</dd>
<dd>
<p>Servers SHOULD ignore properties that they do not
recognize.<a id="Appendix_A_Target_74"></a><a aria-label="Product behavior note 74" href="acc42954-4073-4f05-b850-efd562022077#Appendix_A_74" data-linktype="relative-path">&lt;74&gt;</a></p>
</dd></dl><p><b>ppActProperties: </b> This MUST contain an
MInterfacePointer that MUST contain an OBJREF_CUSTOM with a CLSID field set to
CLSID_ActivationPropertiesOut (section 1.9) and a <b>pObjectData</b> field that
MUST contain an activation properties BLOB (section 2.2.22). The <b>iid</b>
field of the OBJREF portion of the structure MUST be set to IID_
IActivationPropertiesOut (see section 1.9). An implementation MAY use this
value as the IID of an interface with the local IDL attribute (section 2.2.27).<a id="Appendix_A_Target_75"></a><a aria-label="Product behavior note 75" href="acc42954-4073-4f05-b850-efd562022077#Appendix_A_75" data-linktype="relative-path">&lt;75&gt;</a></p><dl>
<dd>
<p>The activation properties BLOB MUST contain all
properties listed in the following table. Clients SHOULD ignore properties that
they do not recognize.</p>
</dd>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Property Name </p>
   </th>
   <th>
   <p>Section </p>
   </th>
   <th>
   <p>Required or Optional </p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>ScmReplyInfoData</p>
  </td>
  <td>
  <p><span><a href="3fe48eb0-e9b8-4e46-a3fb-5d34b23f0b19" data-linktype="relative-path">2.2.22.2.8</a></span></p>
  </td>
  <td>
  <p>Required</p>
  </td>
 </tr><tr>
  <td>
  <p>PropsOutInfo</p>
  </td>
  <td>
  <p><span><a href="7f35873f-0f4b-47e7-a90c-f2ced71fecd6" data-linktype="relative-path">2.2.22.2.9</a></span></p>
  </td>
  <td>
  <p>Required</p>
  </td>
 </tr></tbody></table>
</dd></dl><p>When processing this call, the <span><a href="ba4c4d80-ef81-49b4-848f-9714d72b5c01#gt_19f75354-9b0b-47cb-a00b-4ff196883b32" data-linktype="relative-path">object resolver</a></span> MUST
perform the operations specified in section <span><a href="f07e681a-16f9-4194-a453-63c7972f2161" data-linktype="relative-path">3.1.2.5.2.3</a></span>.</p></div>