<div class="content" name="IEventClass" uuid="e9e3062a-41dc-43eb-8495-eb6cb70945e6"><p>The IEventClass interface provides methods that are used by
the <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_60e0e1fa-66fe-41e1-b5e3-ceab97e53506" data-linktype="relative-path">client</a></span>
to manipulate an <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_e8df25db-9bff-46df-b607-d072dd29c02b" data-linktype="relative-path">event class</a></span> on the <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_434b0234-e970-4e8c-bdfa-e16a30d96703" data-linktype="relative-path">server</a></span>.
The interface inherits Opnums 0 to 6 from <span><a href="../ms-oaut/ac9c502b-ac1c-4202-8ad4-048ac98afcc9" data-linktype="relative-path">IDispatch</a></span>
as specified in <span><a href="../ms-oaut/bbb05720-f724-45c7-8d17-f83c3d1a3961" data-linktype="relative-path">[MS-OAUT]</a></span>
section 3.1.4. The version for this interface is 0.0.</p><p>To receive incoming remote calls for this interface, the
server MUST implement a DCOM <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_a224e395-3fea-48bd-b141-3dd9bee2136a" data-linktype="relative-path">object class</a></span> with
the <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_e433c806-6cb6-46a2-bb95-523df8818c99" data-linktype="relative-path">class
ID</a></span> CLSID_EventClass (see section <span><a href="25e89236-b0b3-4d8b-b1fb-64e0e9f0e156" data-linktype="relative-path">1.9</a></span>) using the <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_c4813fc3-b2e5-4aa3-bde7-421d950d68d3" data-linktype="relative-path">UUID</a></span>
{fb2b72a0-7a68-11d1-88f9-0080c7d771bf} for this interface.</p><p>The interface includes the following methods beyond those in
IDispatch.</p><p>Methods in RPC Opnum Order</p><table><thead>
  <tr>
   <th>
   <p>Method</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>EventClassID</td>
  <td>Gets the EventClassID property for the event class. Opnum: 7</td>
 </tr><tr>
  <td>EventClassID</td>
  <td>Sets the EventClassID property for the event class. Opnum: 8</td>
 </tr><tr>
  <td>EventClassName</td>
  <td>Gets the EventClassName property of the event class. Opnum: 9</td>
 </tr><tr>
  <td>EventClassName</td>
  <td>Sets the EventClassName property of the event class. Opnum: 10</td>
 </tr><tr>
  <td>OwnerSID</td>
  <td>Gets the OwnerSID property of the event class. Opnum: 11</td>
 </tr><tr>
  <td>OwnerSID</td>
  <td>Sets the OwnerSID property of the event class. Opnum: 12</td>
 </tr><tr>
  <td>FiringInterfaceID</td>
  <td>Gets the FiringInterfaceID property for the event class. Opnum: 13</td>
 </tr><tr>
  <td>FiringInterfaceID</td>
  <td>Sets the FiringInterfaceID property for the event class. Opnum: 14</td>
 </tr><tr>
  <td>Description</td>
  <td>Gets the Description property for the event class. Opnum: 15</td>
 </tr><tr>
  <td>Description</td>
  <td>Sets the Description property for the event class. Opnum: 16</td>
 </tr><tr>
  <td>Opnum17NotUsedOnWire</td>
  <td>Reserved for local use. Opnum: 17</td>
 </tr><tr>
  <td>Opnum18NotUsedOnWire</td>
  <td>Reserved for local use. Opnum: 18</td>
 </tr><tr>
  <td>TypeLib</td>
  <td>Gets the Typelib property of the event class. Opnum: 19</td>
 </tr><tr>
  <td>TypeLib</td>
  <td>Sets the Typelib property of the event class. Opnum: 20</td>
 </tr></tbody></table><p>In the preceding table, the term &#34;Reserved for local
use&#34; means that the client MUST NOT send the <span><a href="e74594a9-404c-4729-91f4-3fe4453cdf4d#gt_e127848e-c66d-427d-b3aa-9f904fa4ada7" data-linktype="relative-path">opnum</a></span>, and the
server behavior is undefined<a id="Appendix_A_Target_12"></a><a aria-label="Product behavior note 12" href="aa52a2bf-fd29-47f9-8dea-d887d6b7d5ee#Appendix_A_12" data-linktype="relative-path">&lt;12&gt;</a> because
it does not affect interoperability.</p></div>