DhcpCreateClassV6 function
The DhcpCreateClassV6 function creates a custom DHCPv6 option class.
Syntax
DWORD WINAPI DhcpCreateClassV6( _In_ LPWSTR ServerIpAddress, _In_ DWORD ReservedMustBeZero, _In_ LPDHCP_CLASS_INFO_V6 ClassInfo );
Parameters
- ServerIpAddress [in]
-
Unicode string that specifies the IP address or hostname of the DHCP server.
- ReservedMustBeZero [in]
-
Reserved. This field must be set to zero.
- ClassInfo [in]
-
DHCP_CLASS_INFO_V6 structure that contains the specific option class data.
Return value
This function returns ERROR_SUCCESS upon a successful call. Otherwise, it returns one of the DHCP Server Management API Error Codes.
| Return code | Description |
|---|---|
|
This call was performed by a client who is not a member of the "DHCP Administrators" security group. |
|
An error occurred while accessing the DHCP server's database. |
|
The specified class name is already defined on the DHCP server, or the class information is already in use. |
Requirements
|
Minimum supported client | None supported [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 2/28/2013
