<div class="content" name="DHCP_ALL_OPTION_VALUES" uuid="e9cf1506-47f6-4d93-9893-a0b97b36425a"><p>The <b>DHCP_ALL_OPTION_VALUES</b> structure contains all
option values for a specified <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_713c7395-9431-4d67-bab1-a069ae7461e2" data-linktype="relative-path">user
class</a> and <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_45d20b00-7166-4f94-b679-4cc5a7835a3a" data-linktype="relative-path">vendor class</a>.
This structure is used in the <a href="96b7e868-a415-46c1-bb73-56d7b9f82e10" data-linktype="relative-path">R_DhcpGetAllOptionValuesV6 (section 3.2.4.57)</a>
method.</p><dl>
<dd>
<div><pre> typedef struct _DHCP_ALL_OPTION_VALUES {
   DWORD Flags;
   DWORD NumElements;
   [size_is(NumElements)] struct {
     LPWSTR ClassName;
     LPWSTR VendorName;
     BOOL IsVendor;
     LPDHCP_OPTION_VALUE_ARRAY OptionsArray;
   }* Options;
 } DHCP_ALL_OPTION_VALUES,
  *LPDHCP_ALL_OPTION_VALUES;
</pre></div>
</dd></dl><p><b>Flags:</b>  This is an unused field, and
it MUST be initialized to 0 in an <a href="a9d6a415-4de6-4058-befe-ca2e42764485#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a> method that modifies
the DHCP server configuration. This MUST be treated as an error if it is
nonzero in an RPC method that queries DHCP server configuration.</p><p><b>NumElements:</b>  This is of type <a href="../ms-dtyp/262627d8-3418-4627-9218-4ffe110850b2" data-linktype="relative-path">DWORD</a>,
containing the number of options in the subsequent field, the <b>Options</b>
structure member.</p><p><b>Options:</b>  This structure defines the
user and vendor-specific options</p><p><b>ClassName:</b>  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 name of the user class.</p><p><b>VendorName:</b>  A pointer to a
null-terminated Unicode string that contains the name of the vendor class.</p><p><b>IsVendor:</b>  This is of type <a href="../ms-dtyp/9d81be47-232e-42cf-8f0d-7a3b29bf2eb2" data-linktype="relative-path">BOOL</a>
that specifies whether this option set is specific to a vendor class or default
vendor class.</p><p><b>OptionsArray:</b>  This is a pointer to
an array of <a href="313eaf77-256b-44d3-b303-8cca3f158939" data-linktype="relative-path">DHCP_OPTION_VALUE_ARRAY (section 2.2.1.2.43)</a>
structures that points to an array of all the options for a specified user
class and vendor class.</p></div>