2.2.1.2.75 DHCP_CLASS_INFO

The DHCP_CLASS_INFO structure contains the information for a specific user class or vendor class. This structure is used in the R_DhcpCreateClass (section 3.2.4.25) method.

 typedef struct _DHCP_CLASS_INFO {
   LPWSTR ClassName;
   LPWSTR ClassComment;
   DWORD ClassDataLength;
   BOOL IsVendor;
   DWORD Flags;
   [size_is(ClassDataLength)] LPBYTE ClassData;
 } DHCP_CLASS_INFO,
  *LPDHCP_CLASS_INFO;

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 class is user class or vendor class.

Value

Meaning

0x00000000

Class specified is a user class.

0x00000001

Class specified is a vendor class.

Flags: This is of type DWORD. Currently it is not used, and any value set to this member 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.