<div class="content"><p> </p><p>The MGMT_OBJECT structure defines information on a <span><a href="a59a1c97-3eea-4af5-b31d-937739889af4#gt_c1a6400d-703b-4f9a-a74c-40f1487978d9" data-linktype="relative-path">queue</a></span>,
a computer, or a session. The structure includes an embedded discriminated
union. </p><dl>
<dd>
<div><pre> typedef struct _MGMT_OBJECT {
   MgmtObjectType type;
   [switch_is(type)] union {
     [case(MGMT_QUEUE)] 
       QUEUE_FORMAT* pQueueFormat;
     [case(MGMT_MACHINE)] 
       DWORD Reserved1;
     [case(MGMT_SESSION)] 
       DWORD Reserved2;
   };
 } MGMT_OBJECT;
</pre></div>
</dd></dl><p><b>type:</b>  An integer discriminator for
the embedded discriminated union. The value of this field MUST be 1, 2, or 3,
as specified in section <span><a href="ec16ac58-40a8-4253-a746-86198d8dafc1" data-linktype="relative-path">2.2.2.1</a></span>.</p><p><b>pQueueFormat:</b>  A pointer to a <b>QUEUE_FORMAT</b>
(<span><a href="../ms-mqmq/b7cc2590-a617-45df-b6a3-1f31102b36fb" data-linktype="relative-path">[MS-MQMQ]</a></span>
section <span><a href="../ms-mqmq/905e154a-6123-42a9-86cb-e0a3169820f2" data-linktype="relative-path">2.2.7</a></span>)
structure that describes the type of the queue.</p><p><b>Reserved1:</b>  A 32-bit unsigned
integer.<a id="Appendix_A_Target_5"></a><a aria-label="Product behavior note 5" href="47ca62cf-676e-4d68-841f-9b936124e75e#Appendix_A_5" data-linktype="relative-path">&lt;5&gt;</a></p><p><b>Reserved2:</b>  A 32-bit unsigned
integer.<a id="Appendix_A_Target_6"></a><a aria-label="Product behavior note 6" href="47ca62cf-676e-4d68-841f-9b936124e75e#Appendix_A_6" data-linktype="relative-path">&lt;6&gt;</a></p></div>