<div class="content" name="DHCP_OPTION_SCOPE_INFO" uuid="177415f4-85c1-4496-a414-4938dca18b93"><p>The <b>DHCP_OPTION_SCOPE_INFO</b> structure defines the
information about the option. The information consists of the <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_ca9b17a6-e7db-4ada-99f2-82257fa92ecb" data-linktype="relative-path">option type</a> and the level
of the option (server level, <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_128cd76b-eecb-41e6-96f7-f73c2bf9235a" data-linktype="relative-path">scope</a>
level, or <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_4e525014-9425-4eb0-9141-61189c4f04f9" data-linktype="relative-path">reservation</a>
level).</p><dl>
<dd>
<div><pre> typedef struct _DHCP_OPTION_SCOPE_INFO {
   DHCP_OPTION_SCOPE_TYPE ScopeType;
   [switch_is(ScopeType), switch_type(DHCP_OPTION_SCOPE_TYPE)] 
     union _DHCP_OPTION_SCOPE_UNION {
     [case(DhcpDefaultOptions)] 
             ;
     [case(DhcpGlobalOptions)] 
             ;
     [case(DhcpSubnetOptions)] DHCP_IP_ADDRESS SubnetScopeInfo;
     [case(DhcpReservedOptions)] 
       DHCP_RESERVED_SCOPE ReservedScopeInfo;
     [case(DhcpMScopeOptions)] 
       LPWSTR MScopeInfo;
   } ScopeInfo;
 } DHCP_OPTION_SCOPE_INFO,
  *LPDHCP_OPTION_SCOPE_INFO;
</pre></div>
</dd></dl><p><b>ScopeType:</b>  This is of type <a href="34075f91-50f1-4216-b61f-44f0f5ab3679" data-linktype="relative-path">DHCP_OPTION_SCOPE_TYPE (section 2.2.1.1.4)</a>
enumeration, defining the scope of the DHCP option and indicating which of the
following fields in the union is used.</p><p><b>ScopeInfo:</b>  This is a union from
which one of the following fields is used based on the value of the <b>ScopeType</b>
member:</p><p><b>SubnetScopeInfo:</b>  This is of type <a href="5122557b-b85d-4982-8ffb-98d8d934e353" data-linktype="relative-path">DHCP_IP_ADDRESS (section 2.2.1.2.1)</a>,
containing the IPv4 <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_e6a800ef-fd8a-4d87-834c-131e58f304ea" data-linktype="relative-path">subnet
ID</a> as a <a href="../ms-dtyp/262627d8-3418-4627-9218-4ffe110850b2" data-linktype="relative-path">DWORD</a>.</p><p><b>ReservedScopeInfo:</b>  This is a <a href="c395e6fa-6b06-4b12-b1f5-f6c4f7e7a733" data-linktype="relative-path">DHCP_RESERVED_SCOPE (section 2.2.1.2.40)</a>
structure that contains an IPv4 reservation and its corresponding IPv4 subnet
ID.</p><p><b>MScopeInfo:</b>  This is a pointer to a
null-terminated <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_b069acb4-e364-453e-ac83-42d469bb339e" data-linktype="relative-path">Unicode
string</a> that contains the <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_04286a2c-1484-44d0-9854-7c57c8b4118c" data-linktype="relative-path">multicast
scope</a> name.</p></div>