2.2.1.2.70 DHCP_CLASS_INFO_V6

The DHCP_CLASS_INFO_V6 structure contains the information for a specific user class or vendor class. This structure is used in the R_DhcpCreateClassV6 (section 3.2.4.75) method.

 typedef struct _DHCP_CLASS_INFO_V6 {
   LPWSTR ClassName;
   LPWSTR ClassComment;
   DWORD ClassDataLength;
   BOOL IsVendor;
   DWORD EnterpriseNumber;
   DWORD Flags;
   [size_is(ClassDataLength)] LPBYTE ClassData;
 } DHCP_CLASS_INFO_V6,
  *LPDHCP_CLASS_INFO_V6;

ClassName: A pointer, of type LPWSTR, to a null-terminated Unicode string that contains the class name. There is no restriction on the length of this Unicode string.

ClassComment: A pointer, of type LPWSTR, to a null-terminated Unicode string that contains the comment for the class. There is no restriction on the length of this Unicode string.

ClassDataLength: This is of type DWORD, containing the length of data as pointed to by the ClassData member.

IsVendor: This is of type BOOL and specifies whether the current class is vendor class or user class.

Value

Meaning

0x00000000

Class specified is a user class.

0x00000001

Class specified is a vendor class.

EnterpriseNumber: This is of type DWORD, containing the vendor class identifier. It is default 0 for user class.

Flags: This is of type DWORD. Currently it is not used, and any value set to this parameter will not affect the behavior of the method that uses this structure.

ClassData: This is a pointer of type BYTE that points to an array of bytes of length specified by the ClassDataLength member. This contains data regarding a user class or a vendor class.