dhcpsrv

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Syntax UUID
	DHCPServerSyntaxUUID = &uuid.UUID{TimeLow: 0x6bffd098, TimeMid: 0xa112, TimeHiAndVersion: 0x3610, ClockSeqHiAndReserved: 0x98, ClockSeqLow: 0x33, Node: [6]uint8{0x46, 0xc3, 0xf8, 0x74, 0x53, 0x2d}}
	// Syntax ID
	DHCPServerSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: DHCPServerSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dhcpm"
)

Functions

func DHCPServerServerHandle

func DHCPServerServerHandle(ctx context.Context, o DHCPServerServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

func NewDHCPServerServerHandle

func NewDHCPServerServerHandle(o DHCPServerServer) dcerpc.ServerHandle

func RegisterDHCPServerServer

func RegisterDHCPServerServer(conn dcerpc.Conn, o DHCPServerServer, opts ...dcerpc.Option)

Types

type AddSubnetElementRequest

type AddSubnetElementRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS, containing the IPv4 subnet ID in
	// which the IPv4 subnet element is added.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// AddElementInfo: This is a pointer to a structure DHCP_SUBNET_ELEMENT_DATA (section
	// 2.2.1.2.33) that contains the IPv4 subnet element that needs to be added to the IPv4
	// subnet.
	AddElementInfo *dhcpm.SubnetElementData `idl:"name:AddElementInfo;pointer:ref" json:"add_element_info"`
}

AddSubnetElementRequest structure represents the R_DhcpAddSubnetElement operation request

func (*AddSubnetElementRequest) MarshalNDR

func (o *AddSubnetElementRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*AddSubnetElementRequest) UnmarshalNDR

func (o *AddSubnetElementRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type AddSubnetElementResponse

type AddSubnetElementResponse struct {
	// Return: The R_DhcpAddSubnetElement return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

AddSubnetElementResponse structure represents the R_DhcpAddSubnetElement operation response

func (*AddSubnetElementResponse) MarshalNDR

func (o *AddSubnetElementResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*AddSubnetElementResponse) UnmarshalNDR

func (o *AddSubnetElementResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type AddSubnetElementV4Request

type AddSubnetElementV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS, containing the IPv4 subnet ID in
	// which the IPv4 subnet element is added.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// AddElementInfo: This is a pointer to a DHCP_SUBNET_ELEMENT_DATA_V4 (section 2.2.1.2.35)
	// structure that contains the IPv4 subnet element that needs to be added to the IPv4
	// subnet.
	AddElementInfo *dhcpm.SubnetElementDataV4 `idl:"name:AddElementInfo;pointer:ref" json:"add_element_info"`
}

AddSubnetElementV4Request structure represents the R_DhcpAddSubnetElementV4 operation request

func (*AddSubnetElementV4Request) MarshalNDR

func (o *AddSubnetElementV4Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*AddSubnetElementV4Request) UnmarshalNDR

func (o *AddSubnetElementV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type AddSubnetElementV4Response

type AddSubnetElementV4Response struct {
	// Return: The R_DhcpAddSubnetElementV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

AddSubnetElementV4Response structure represents the R_DhcpAddSubnetElementV4 operation response

func (*AddSubnetElementV4Response) MarshalNDR

func (o *AddSubnetElementV4Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*AddSubnetElementV4Response) UnmarshalNDR

func (o *AddSubnetElementV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateClientInfoRequest

type CreateClientInfoRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ClientInfo: A pointer of type DHCP_CLIENT_INFO (section 2.2.1.2.12) structure that
	// contains the DHCPv4 client lease record information that needs to be set on the DHCPv4
	// server. The caller MUST pass the ClientIPAddress and ClientHardwareAddress member
	// fields to add the DHCPv4 client lease record to the DHCPv4 server database. The ClientHardwareAddress
	// member represents a DHCPv4 client-identifier (section 2.2.1.2.5.1). Members ClientName,
	// ClientComment, ClientLeaseExpires, and OwnerHost are modified on the DHCPv4 client
	// lease record identified by the ClientIPaddress member.
	ClientInfo *dhcpm.ClientInfo `idl:"name:ClientInfo;pointer:ref" json:"client_info"`
}

CreateClientInfoRequest structure represents the R_DhcpCreateClientInfo operation request

func (*CreateClientInfoRequest) MarshalNDR

func (o *CreateClientInfoRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateClientInfoRequest) UnmarshalNDR

func (o *CreateClientInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateClientInfoResponse

type CreateClientInfoResponse struct {
	// Return: The R_DhcpCreateClientInfo return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

CreateClientInfoResponse structure represents the R_DhcpCreateClientInfo operation response

func (*CreateClientInfoResponse) MarshalNDR

func (o *CreateClientInfoResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateClientInfoResponse) UnmarshalNDR

func (o *CreateClientInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateClientInfoV4Request

type CreateClientInfoV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ClientInfo: A pointer of type DHCP_CLIENT_INFO_V4 (section 2.2.1.2.14) structure
	// that contains the DHCPv4 client lease record information that needs to be set on
	// the DHCPv4 server. The caller MUST pass the ClientIPAddress and ClientHardwareAddress
	// member fields when adding a DHCPv4 client lease record to the DHCPv4 server database.
	// The ClientHardwareAddress member represents a DHCPv4 client-identifier (section 2.2.1.2.5.1).
	// Members ClientName, ClientComment, ClientLeaseExpires, and OwnerHost are modified
	// on the DHCPv4 client lease record identified by the ClientIPAddress member.
	ClientInfo *dhcpm.ClientInfoV4 `idl:"name:ClientInfo;pointer:ref" json:"client_info"`
}

CreateClientInfoV4Request structure represents the R_DhcpCreateClientInfoV4 operation request

func (*CreateClientInfoV4Request) MarshalNDR

func (o *CreateClientInfoV4Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateClientInfoV4Request) UnmarshalNDR

func (o *CreateClientInfoV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateClientInfoV4Response

type CreateClientInfoV4Response struct {
	// Return: The R_DhcpCreateClientInfoV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

CreateClientInfoV4Response structure represents the R_DhcpCreateClientInfoV4 operation response

func (*CreateClientInfoV4Response) MarshalNDR

func (o *CreateClientInfoV4Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateClientInfoV4Response) UnmarshalNDR

func (o *CreateClientInfoV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateClientInfoVQRequest

type CreateClientInfoVQRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ClientInfo: A pointer of type DHCP_CLIENT_INFO_VQ (section 2.2.1.2.19) structure
	// that contains the DHCPv4 client lease record information that needs to be set on
	// the DHCPv4 server. The caller MUST pass the ClientIPAddress and ClientHardwareAddress
	// members when adding a DHCPv4 client lease record to the DHCPv4 server database. The
	// ClientHardwareAddress member represents a DHCPv4 client-identifier (section 2.2.1.2.5.1).
	// Members ClientName, ClientComment, ClientLeaseExpires, and OwnerHost are modified
	// on the DHCPv4 client lease record identified by the ClientIPaddress member.
	ClientInfo *dhcpm.ClientInfoVQ `idl:"name:ClientInfo;pointer:ref" json:"client_info"`
}

CreateClientInfoVQRequest structure represents the R_DhcpCreateClientInfoVQ operation request

func (*CreateClientInfoVQRequest) MarshalNDR

func (o *CreateClientInfoVQRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateClientInfoVQRequest) UnmarshalNDR

func (o *CreateClientInfoVQRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateClientInfoVQResponse

type CreateClientInfoVQResponse struct {
	// Return: The R_DhcpCreateClientInfoVQ return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

CreateClientInfoVQResponse structure represents the R_DhcpCreateClientInfoVQ operation response

func (*CreateClientInfoVQResponse) MarshalNDR

func (o *CreateClientInfoVQResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateClientInfoVQResponse) UnmarshalNDR

func (o *CreateClientInfoVQResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateOptionRequest

type CreateOptionRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option
	// identifier for the option being created.
	OptionID uint32 `idl:"name:OptionID" json:"option_id"`
	// OptionInfo: This is a pointer to a DHCP_OPTION (section 2.2.1.2.25) structure that
	// contains the information about the option definition.
	OptionInfo *dhcpm.Option `idl:"name:OptionInfo;pointer:ref" json:"option_info"`
}

CreateOptionRequest structure represents the R_DhcpCreateOption operation request

func (*CreateOptionRequest) MarshalNDR

func (o *CreateOptionRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateOptionRequest) UnmarshalNDR

func (o *CreateOptionRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateOptionResponse

type CreateOptionResponse struct {
	// Return: The R_DhcpCreateOption return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

CreateOptionResponse structure represents the R_DhcpCreateOption operation response

func (*CreateOptionResponse) MarshalNDR

func (o *CreateOptionResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateOptionResponse) UnmarshalNDR

func (o *CreateOptionResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateSubnetRequest

type CreateSubnetRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: A DHCP_IP_ADDRESS that contains the IPv4 subnet address.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// SubnetInfo: This is a pointer to a structure of type LPDHCP_SUBNET_INFO (section
	// 2.2.1.2.8) that contains information about the IPv4 subnet, including the IPv4 subnet
	// mask and the IPv4 address of the subnet. The structure DHCP_HOST_INFO (section 2.2.1.2.7)
	// (referred by PrimaryHost) stored in SubnetInfo MUST be ignored by both the caller
	// and the server.
	SubnetInfo *dhcpm.SubnetInfo `idl:"name:SubnetInfo;pointer:ref" json:"subnet_info"`
}

CreateSubnetRequest structure represents the R_DhcpCreateSubnet operation request

func (*CreateSubnetRequest) MarshalNDR

func (o *CreateSubnetRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateSubnetRequest) UnmarshalNDR

func (o *CreateSubnetRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateSubnetResponse

type CreateSubnetResponse struct {
	// Return: The R_DhcpCreateSubnet return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

CreateSubnetResponse structure represents the R_DhcpCreateSubnet operation response

func (*CreateSubnetResponse) MarshalNDR

func (o *CreateSubnetResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateSubnetResponse) UnmarshalNDR

func (o *CreateSubnetResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateSubnetVQRequest

type CreateSubnetVQRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), containing the
	// IPv4 address of the subnet.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// SubnetInfoVQ: This is a pointer to a structure of type DHCP_SUBNET_INFO_VQ (section
	// 2.2.1.2.45) that contains information about the IPv4 subnet, including the IPv4 subnet
	// mask and the IPv4 address of the subnet. The structure DHCP_HOST_INFO (section 2.2.1.2.7)
	// (referred by the PrimaryHost member) stored in the SubnetInfoVQ parameter MUST be
	// ignored by both the caller and the server.
	SubnetInfoVQ *dhcpm.SubnetInfoVQ `idl:"name:SubnetInfoVQ;pointer:ref" json:"subnet_info_vq"`
}

CreateSubnetVQRequest structure represents the R_DhcpCreateSubnetVQ operation request

func (*CreateSubnetVQRequest) MarshalNDR

func (o *CreateSubnetVQRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateSubnetVQRequest) UnmarshalNDR

func (o *CreateSubnetVQRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateSubnetVQResponse

type CreateSubnetVQResponse struct {
	// Return: The R_DhcpCreateSubnetVQ return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

CreateSubnetVQResponse structure represents the R_DhcpCreateSubnetVQ operation response

func (*CreateSubnetVQResponse) MarshalNDR

func (o *CreateSubnetVQResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateSubnetVQResponse) UnmarshalNDR

func (o *CreateSubnetVQResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DHCPServerClient

type DHCPServerClient interface {

	// The R_DhcpCreateSubnet method is used to create a new IPv4 subnet on the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	|               RETURN                |                                                                                  |
	//	|             VALUE/CODE              |                                   DESCRIPTION                                    |
	//	|                                     |                                                                                  |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS            | The call was successful.                                                         |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR     | An error occurred while accessing the DHCP server database.                      |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E54 ERROR_DHCP_SUBNET_EXISTS | The IPv4 scope parameters are incorrect. Either the IPv4 scope already exists,   |
	//	|                                     | corresponding to the SubnetAddress and SubnetMask members of the structure       |
	//	|                                     | DHCP_SUBNET_INFO (section 2.2.1.2.8), or there is a range overlap of IPv4        |
	//	|                                     | addresses between those associated with the SubnetAddress and SubnetMask fields  |
	//	|                                     | of the new IPv4 scope and the subnet address and mask of an already existing     |
	//	|                                     | IPv4 scope.                                                                      |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 0.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	CreateSubnet(context.Context, *CreateSubnetRequest, ...dcerpc.CallOption) (*CreateSubnetResponse, error)

	// The R_DhcpSetSubnetInfo method sets/modifies the information about an IPv4 subnet
	// defined on the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates the return status.
	// A return value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed
	// successfully, else it contains a Win32 error code, as specified in [MS-ERREF]. This
	// error code value can correspond to a DHCP-specific failure, which takes a value between
	// 20000 and 20099, or any generic failure.
	//
	//	+------------------------------------------+-------------------------------------------------------------+
	//	|                  RETURN                  |                                                             |
	//	|                VALUE/CODE                |                         DESCRIPTION                         |
	//	|                                          |                                                             |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                    |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database. |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist.                   |
	//	+------------------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 1.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	SetSubnetInfo(context.Context, *SetSubnetInfoRequest, ...dcerpc.CallOption) (*SetSubnetInfoResponse, error)

	// The R_DhcpGetSubnetInfo method retrieves the information about a specific IPv4 subnet
	// defined on the DHCPv4 server. The caller of this function is responsible for freeing
	// the memory pointed to by SubnetInfo by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-------------------------------------------+
	//	|                  RETURN                  |                                           |
	//	|                VALUE/CODE                |                DESCRIPTION                |
	//	|                                          |                                           |
	//	+------------------------------------------+-------------------------------------------+
	//	+------------------------------------------+-------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                  |
	//	+------------------------------------------+-------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. |
	//	+------------------------------------------+-------------------------------------------+
	//
	// The opnum field value for this method is 2.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetSubnetInfo(context.Context, *GetSubnetInfoRequest, ...dcerpc.CallOption) (*GetSubnetInfoResponse, error)

	// The R_DhcpEnumSubnets method enumerates IPv4 subnets configured on the DHCPv4 server.
	// The caller of this function can free the memory pointed to by the EnumInfo parameter
	// and its member the Elements array by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------------+-----------------------------------------------+
	//	|             RETURN             |                                               |
	//	|           VALUE/CODE           |                  DESCRIPTION                  |
	//	|                                |                                               |
	//	+--------------------------------+-----------------------------------------------+
	//	+--------------------------------+-----------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS       | The call was successful.                      |
	//	+--------------------------------+-----------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. |
	//	+--------------------------------+-----------------------------------------------+
	//
	// The opnum field value for this method is 3.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumSubnets(context.Context, *EnumSubnetsRequest, ...dcerpc.CallOption) (*EnumSubnetsResponse, error)

	// The R_DhcpAddSubnetElement method adds an IPv4 subnet element (IPv4 reservation,
	// IPv4 exclusion range, or IPv4 range) to the IPv4 subnet in the DHCPv4 server. There
	// is an extension of this method in R_DhcpAddSubnetElementV4 (section 3.1.4.30).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	|                       RETURN                       |                                                                                  |
	//	|                     VALUE/CODE                     |                                   DESCRIPTION                                    |
	//	|                                                    |                                                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                           | The call was successful.                                                         |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR                    | An error occurred while accessing the DHCP server database.                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT           | The specified IPv4 subnet does not exist.                                        |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E37 ERROR_DHCP_INVALID_RANGE                | The specified IPv4 range either overlaps an existing range or is not valid.      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E35 ERROR_DHCP_IPRANGE_EXITS                | The specified IPv4 address range already exists.                                 |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT          | The specified DHCPv4 client is not an IPv4 reserved client.                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E36 ERROR_DHCP_RESERVEDIP_EXITS             | The specified IPv4 address or hardware address is being used by another DHCPv4   |
	//	|                                                    | client.                                                                          |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E51 ERROR_DHCP_IPRANGE_CONV_ILLEGAL         | Conversion of a BOOTP scope to a DHCP-only scope is illegal, since BOOTP clients |
	//	|                                                    | exist in the scope. Manually delete BOOTP clients from the scope when converting |
	//	|                                                    | the range to a DHCP-only range.                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | There is an IP address range configured for a policy in this scope. This         |
	//	|                                                    | operation on the scope IP address range cannot be performed until the policy IP  |
	//	|                                                    | address range is suitably modified.                                              |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004EA1 ERROR_DHCP_FO_IPRANGE_TYPE_CONV_ILLEGAL | Conversion of a failover scope to a scope of type BOOTP or BOTH could not be     |
	//	|                                                    | performed. Failover is supported only for DHCP scopes.                           |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 4.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	AddSubnetElement(context.Context, *AddSubnetElementRequest, ...dcerpc.CallOption) (*AddSubnetElementResponse, error)

	// The R_DhcpEnumSubnetElements method enumerates the list of a specific type of IPv4
	// subnet elements from a specific DHCPv4 IPv4 subnet. The caller of this function can
	// free the memory pointed to by the EnumElementInfo parameter and its member the Elements
	// array by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-------------------------------------------------+
	//	|                  RETURN                  |                                                 |
	//	|                VALUE/CODE                |                   DESCRIPTION                   |
	//	|                                          |                                                 |
	//	+------------------------------------------+-------------------------------------------------+
	//	+------------------------------------------+-------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                        |
	//	+------------------------------------------+-------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA               | There are more elements available to enumerate. |
	//	+------------------------------------------+-------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS           | There are no more elements left to enumerate.   |
	//	+------------------------------------------+-------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist.       |
	//	+------------------------------------------+-------------------------------------------------+
	//
	// The opnum field value for this method is 5.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumSubnetElements(context.Context, *EnumSubnetElementsRequest, ...dcerpc.CallOption) (*EnumSubnetElementsResponse, error)

	// The R_DhcpRemoveSubnetElement method removes an IPv4 subnet element from an IPv4
	// subnet defined on the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	|                       RETURN                       |                                                                                  |
	//	|                     VALUE/CODE                     |                                   DESCRIPTION                                    |
	//	|                                                    |                                                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                           | The call was successful.                                                         |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT           | The specified IPv4 subnet does not exist.                                        |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE          | The specified IPv4 subnet element cannot be removed because at least one IPv4    |
	//	|                                                    | address has been leased out to a client from the subnet. The starting address of |
	//	|                                                    | the specified IPv4 exclusion range is not part of any exclusion range configured |
	//	|                                                    | on the server. There is an error in deleting the exclusion range from the        |
	//	|                                                    | database.                                                                        |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR                    | An error occurred while accessing the DHCP server database.                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E37 ERROR_DHCP_INVALID_RANGE                | The specified IPv4 range does not match an existing IPv4 range.                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | There is an IP address range configured for a policy in this scope. This         |
	//	|                                                    | operation cannot be performed until the policy IP range is suitably modified.    |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 6.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	RemoveSubnetElement(context.Context, *RemoveSubnetElementRequest, ...dcerpc.CallOption) (*RemoveSubnetElementResponse, error)

	// The R_DhcpDeleteSubnet method deletes an IPv4 subnet from the DHCPv4 server. The
	// ForceFlag defines the behavior of the operation when an IP address from the subnet
	// has been allocated to some DHCPv4 client.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	|                         RETURN                         |                                                                                  |
	//	|                       VALUE/CODE                       |                                   DESCRIPTION                                    |
	//	|                                                        |                                                                                  |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                               | The call was successful.                                                         |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT               | The specified IPv4 subnet does not exist.                                        |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE              | The specified IPv4 subnet cannot be removed because at least one IPv4 address    |
	//	|                                                        | has been leased out to some client from the subnet.                              |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR                        | An error occurred while accessing the DHCP server database.                      |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E90 ERROR_DHCP_FO_SCOPE_ALREADY_IN_RELATIONSHIP | The specified IPv4 subnet is part of a failover relationship and cannot be       |
	//	|                                                        | deleted without first removing the failover relationship.                        |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 7.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	DeleteSubnet(context.Context, *DeleteSubnetRequest, ...dcerpc.CallOption) (*DeleteSubnetResponse, error)

	// The R_DhcpCreateOption method creates an option definition of the specified option
	// for the default user class and vendor class pair at the default option level. The
	// OptionID parameter specifies the identifier of the option.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------+------------------------------------------------------------------+
	//	|               RETURN               |                                                                  |
	//	|             VALUE/CODE             |                           DESCRIPTION                            |
	//	|                                    |                                                                  |
	//	+------------------------------------+------------------------------------------------------------------+
	//	+------------------------------------+------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS           | The call was successful.                                         |
	//	+------------------------------------+------------------------------------------------------------------+
	//	| 0x00004E29 ERROR_DHCP_OPTION_EXITS | The specified option already exists on the DHCP server database. |
	//	+------------------------------------+------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR    | An error occurred while accessing the DHCP server database.      |
	//	+------------------------------------+------------------------------------------------------------------+
	//
	// The opnum field value for this method is 8.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	CreateOption(context.Context, *CreateOptionRequest, ...dcerpc.CallOption) (*CreateOptionResponse, error)

	// The R_DhcpSetOptionInfo method modifies the option definition of the specified option
	// for the default user class and vendor class pair at the default option level. There
	// is an extension method R_DhcpSetOptionInfoV5 that sets the option definition for
	// a specific user class and vendor class pair.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                  |                                                                             |
	//	|                VALUE/CODE                |                                 DESCRIPTION                                 |
	//	|                                          |                                                                             |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                                    |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database.                 |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 9.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetOptionInfo(context.Context, *SetOptionInfoRequest, ...dcerpc.CallOption) (*SetOptionInfoResponse, error)

	// The R_DhcpGetOptionInfo method retrieves the option definition of the specified option
	// for the default user class and vendor class pair at the default option level. There
	// is an extension method R_DhcpGetOptionInfoV5 (section 3.2.4.17) that retrieves the
	// option definition for a specific user class and vendor class pair. The caller of
	// this function can free the memory pointed to by the OptionInfo parameter, by calling
	// the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                  |                                                                             |
	//	|                VALUE/CODE                |                                 DESCRIPTION                                 |
	//	|                                          |                                                                             |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                                    |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 10.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetOptionInfo(context.Context, *GetOptionInfoRequest, ...dcerpc.CallOption) (*GetOptionInfoResponse, error)

	// The R_DhcpRemoveOption method removes the option definition of a specific option
	// for the default user class and vendor class pair at the default option level. The
	// OptionID parameter specifies the identifier of the option definition.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS indicates that the operation was completed successfully, else
	// it contains a Win32 error code, as specified in [MS-ERREF]. This error code value
	// can correspond to a DHCP-specific failure, which takes a value between 20000 and
	// 20099, or any generic failure.
	//
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                  |                                                                             |
	//	|                VALUE/CODE                |                                 DESCRIPTION                                 |
	//	|                                          |                                                                             |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                                    |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 11.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	RemoveOption(context.Context, *RemoveOptionRequest, ...dcerpc.CallOption) (*RemoveOptionResponse, error)

	// The R_DhcpSetOptionValue method creates the option value when called for the first
	// time. Otherwise, it modifies the option value for a specific option associated with
	// the default user class and vendor class pair. The values can be set at the default,
	// server, scope, multicast scope, or reservation level on the DHCPv4 server. The ScopeInfo
	// parameter defines the level at which this option value is set.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                   |                                                                             |
	//	|                VALUE/CODE                 |                                 DESCRIPTION                                 |
	//	|                                           |                                                                             |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                  | The call was successful.                                                    |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT  | The specified IPv4 subnet does not exist on the DHCP server.                |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT  | The specified option definition does not exist on the DHCP server database. |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND     | The class name being used is unknown or incorrect.                          |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client.                         |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 12.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	SetOptionValue(context.Context, *SetOptionValueRequest, ...dcerpc.CallOption) (*SetOptionValueResponse, error)

	// The R_DhcpGetOptionValue method retrieves the option value for a specific option
	// associated with the default user class and vendor class pair. The values can be retrieved
	// from the default, server, scope, multicast scope, or reservation level on the DHCPv4
	// server. The ScopeInfo parameter defines the level from which the option value needs
	// to be retrieved. The caller of this function can free the memory pointed to by the
	// OptionValue parameter by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                   |                                                                             |
	//	|                VALUE/CODE                 |                                 DESCRIPTION                                 |
	//	|                                           |                                                                             |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                  | The call was successful.                                                    |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT  | The specified IPv4 subnet does not exist on the DHCP server.                |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT  | The specified option definition does not exist on the DHCP server database. |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client.                         |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 13.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetOptionValue(context.Context, *GetOptionValueRequest, ...dcerpc.CallOption) (*GetOptionValueResponse, error)

	// The R_DhcpEnumOptionValues method enumerates all the option values for the default
	// user class and vendor class pair. The values can be enumerated at a specified level
	// (that is, default, server, scope, multicast scope, or reservation level) defined
	// by the ScopeInfo parameter. The extension of this API is R_DhcpEnumOptionValuesV5
	// (section 3.2.4.23), which retrieves the option values for a specific user class and
	// vendor class at a specific scope defined by the ScopeInfo parameter. The caller of
	// this function can free the memory pointed to by the OptionValues parameter and its
	// member the Values array by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	|                  RETURN                   |                                                              |
	//	|                VALUE/CODE                 |                         DESCRIPTION                          |
	//	|                                           |                                                              |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                  | The call was successful.                                     |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA                | There are more elements available to enumerate.              |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS            | There are no more elements left to enumerate.                |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT  | The specified IPv4 subnet does not exist on the DHCP server. |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client.          |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//
	// The opnum field value for this method is 14.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumOptionValues(context.Context, *EnumOptionValuesRequest, ...dcerpc.CallOption) (*EnumOptionValuesResponse, error)

	// The R_DhcpRemoveOptionValue method removes the option value for a specific option
	// on the DHCPv4 server for the default user class and vendor class. ScopeInfo defines
	// the level (that is, server, scope, multicast scope, or IPv4 reservation level) on
	// which this option value is removed.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                   |                                                                             |
	//	|                VALUE/CODE                 |                                 DESCRIPTION                                 |
	//	|                                           |                                                                             |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                  | The call was successful.                                                    |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT  | The specified IPv4 subnet does not exist on the DHCP server.                |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT  | The specified option definition does not exist on the DHCP server database. |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client.                         |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 15.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	RemoveOptionValue(context.Context, *RemoveOptionValueRequest, ...dcerpc.CallOption) (*RemoveOptionValueResponse, error)

	// The R_DhcpCreateClientInfo method creates DHCPv4 client lease records on the DHCPv4
	// server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+---------------------------------------------------------------+
	//	|             RETURN              |                                                               |
	//	|           VALUE/CODE            |                          DESCRIPTION                          |
	//	|                                 |                                                               |
	//	+---------------------------------+---------------------------------------------------------------+
	//	+---------------------------------+---------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                      |
	//	+---------------------------------+---------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCPv4 server database. |
	//	+---------------------------------+---------------------------------------------------------------+
	//
	// The opnum field value for this method is 16.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	CreateClientInfo(context.Context, *CreateClientInfoRequest, ...dcerpc.CallOption) (*CreateClientInfoResponse, error)

	// The R_DhcpSetClientInfo method modifies existing DHCPv4 client lease records on the
	// DHCPv4 server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCPv4 server database or the client entry |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 17.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetClientInfo(context.Context, *SetClientInfoRequest, ...dcerpc.CallOption) (*SetClientInfoResponse, error)

	// The R_DhcpGetClientInfo method retrieves DHCPv4 client lease record information from
	// the DHCPv4 server database. The caller of this function can free the memory pointed
	// to by the ClientInfo parameter by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database, or the client entry  |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 18.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetClientInfo(context.Context, *GetClientInfoRequest, ...dcerpc.CallOption) (*GetClientInfoResponse, error)

	// The R_DhcpDeleteClientInfo method deletes the specified DHCPv4 client lease record
	// from the DHCPv4 server database. It also frees up the DHCPv4 client IPv4 address
	// for redistribution.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	|                RETURN                 |                                                                                  |
	//	|              VALUE/CODE               |                                   DESCRIPTION                                    |
	//	|                                       |                                                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS              | The call was successful.                                                         |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR       | An error occurred while accessing the DHCP server database, or the client entry  |
	//	|                                       | is not present in the database.                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E33 ERROR_DHCP_RESERVED_CLIENT | The specified DHCP client is a reserved DHCP client.                             |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 19.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	DeleteClientInfo(context.Context, *DeleteClientInfoRequest, ...dcerpc.CallOption) (*DeleteClientInfoResponse, error)

	// The R_DhcpEnumSubnetClients method is used to retrieve all DHCPv4 clients serviced
	// on the specified IPv4 subnet. This method returns DHCPv4 clients from all IPv4 subnets
	// if the subnet address provided is zero. The caller of this function can free the
	// memory pointed to by the ClientInfo parameter and its member the Clients array by
	// calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+-------------------------------------------------------------+
	//	|             RETURN              |                                                             |
	//	|           VALUE/CODE            |                         DESCRIPTION                         |
	//	|                                 |                                                             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                    |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA      | There are more elements available to enumerate.             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS  | There are no more elements left to enumerate.               |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. |
	//	+---------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 20.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumSubnetClients(context.Context, *EnumSubnetClientsRequest, ...dcerpc.CallOption) (*EnumSubnetClientsResponse, error)

	// The R_DhcpGetClientOptions method is never used.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value contains a Win32 error code, as specified in [MS-ERREF]. This error code value
	// can correspond to a DHCP-specific failure, which takes a value between 20000 and
	// 20099, or any generic failure.
	//
	// The opnum field value for this method is 21.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	GetClientOptions(context.Context, *GetClientOptionsRequest, ...dcerpc.CallOption) (*GetClientOptionsResponse, error)

	// The R_DhcpGetMibInfo method is used to retrieve the statistics of the DHCPv4 server.
	// The caller of this function can free the memory pointed to by the MibInfo parameter
	// and its member the ScopeInfo array by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 22.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	GetMIBInfo(context.Context, *GetMIBInfoRequest, ...dcerpc.CallOption) (*GetMIBInfoResponse, error)

	// The R_DhcpEnumOptions method enumerates the option definition for a default user
	// class and vendor class pair specified at the default level. The extension of this
	// method is R_DhcpEnumOptionsV5 (section 3.2.4.18), which enumerates the option definition
	// for the specific user class and vendor class. The caller of this function can free
	// the memory pointed to by the Options parameter and its member the Options array by
	// calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------------+-------------------------------------------------+
	//	|             RETURN             |                                                 |
	//	|           VALUE/CODE           |                   DESCRIPTION                   |
	//	|                                |                                                 |
	//	+--------------------------------+-------------------------------------------------+
	//	+--------------------------------+-------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS       | The call was successful.                        |
	//	+--------------------------------+-------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA     | There are more elements available to enumerate. |
	//	+--------------------------------+-------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate.   |
	//	+--------------------------------+-------------------------------------------------+
	//
	// The opnum field value for this method is 23.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumOptions(context.Context, *EnumOptionsRequest, ...dcerpc.CallOption) (*EnumOptionsResponse, error)

	// The R_DhcpSetOptionValues method creates the option values when called for the first
	// time. Otherwise, it modifies the option values of one or more options at a specified
	// level for a default user class and vendor class pair (that is, at the default, server,
	// scope, multicast scope, or IPv4 reservation level). The ScopeInfo parameter defines
	// the scope on which these option values are modified. The extension of this method
	// is R_DhcpSetOptionValuesV5 (section 3.2.4.21), which sets/modifies the option values
	// of one or more options for a specific user class and vendor class pair.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                   |                                                                             |
	//	|                VALUE/CODE                 |                                 DESCRIPTION                                 |
	//	|                                           |                                                                             |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                  | The call was successful.                                                    |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT  | The specified IPv4 subnet does not exist on the DHCP server.                |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT  | The specified option definition does not exist in the DHCP server database. |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND     | The class name being used is unknown or incorrect.                          |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client.                         |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 24.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetOptionValues(context.Context, *SetOptionValuesRequest, ...dcerpc.CallOption) (*SetOptionValuesResponse, error)

	// The R_DhcpServerSetConfig method sets/modifies the DHCPv4 server settings. There
	// is an extension method R_DhcpServerSetConfigV4 (section 3.1.4.40) that sets some
	// additional settings on the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully.
	// Otherwise, the return value contains a Win32 error code, as specified in [MS-ERREF].
	// This error code value can correspond to a DHCP-specific failure, which takes a value
	// between 20000 and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 25.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	ServerSetConfig(context.Context, *ServerSetConfigRequest, ...dcerpc.CallOption) (*ServerSetConfigResponse, error)

	// The R_DhcpServerGetConfig method retrieves the current DHCPv4 server setting. There
	// is an extension method R_DhcpServerGetConfigV4 (section 3.1.4.41) that retrieves
	// some additional settings on the DHCPv4 server. The caller of this function can free
	// the memory pointed to by the ConfigInfo parameter by calling the function midl_user_free
	// as specified in 3.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 26.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	ServerGetConfig(context.Context, *ServerGetConfigRequest, ...dcerpc.CallOption) (*ServerGetConfigResponse, error)

	// The R_DhcpScanDatabase method is used by DHCP servers that enumerate and/or fix inconsistencies
	// between the ADM elements DHCPv4 client lease records specified in DHCPv4Scope.DHCPv4ClientsList
	// and the bitmask representation in memory specified in DHCPv4IpRange.BitMask. The
	// caller of this function can free the memory pointed to by the ScanList parameter
	// and its member the ScanItems array by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+--------------------------------------------------------------+
	//	|                  RETURN                  |                                                              |
	//	|                VALUE/CODE                |                         DESCRIPTION                          |
	//	|                                          |                                                              |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                     |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database.  |
	//	+------------------------------------------+--------------------------------------------------------------+
	//
	// The opnum field value for this method is 27.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	ScanDatabase(context.Context, *ScanDatabaseRequest, ...dcerpc.CallOption) (*ScanDatabaseResponse, error)

	// The R_DhcpGetVersion method retrieves the major and minor version numbers of the
	// DHCP server. The version numbers can be used to determine the functionality supported
	// by the DHCP server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 28.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetVersion(context.Context, *GetVersionRequest, ...dcerpc.CallOption) (*GetVersionResponse, error)

	// The R_DhcpAddSubnetElementV4 method adds an IPv4 subnet element (IPv4 reservation
	// for DHCPv4 or BOOTP clients, IPv4 exclusion range, or IPv4 range) to the IPv4 subnet
	// in the DHCPv4 server. There is an extension of this method in R_DhcpAddSubnetElementV5
	// (section 3.2.4.38).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	|                       RETURN                       |                                                                                  |
	//	|                     VALUE/CODE                     |                                   DESCRIPTION                                    |
	//	|                                                    |                                                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                           | The call was successful.                                                         |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT           | The specified IPv4 subnet does not exist on the DHCP server.                     |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR                    | An error occurred while accessing the DHCP server database.                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT          | The specified DHCP client is not a reserved client.                              |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E35 ERROR_DHCP_IPRANGE_EXITS                | The specified IPv4 address range already exists.                                 |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E36 ERROR_DHCP_RESERVEDIP_EXITS             | The specified IPv4 address or hardware address is being used by another DHCP     |
	//	|                                                    | client.                                                                          |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E37 ERROR_DHCP_INVALID_RANGE                | The specified IPv4 range either overlaps an existing range or is not valid.      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E51 ERROR_DHCP_IPRANGE_CONV_ILLEGAL         | Conversion of a BOOTP scope to a DHCP-only scope is illegal, since BOOTP clients |
	//	|                                                    | exist in the scope. Manually delete BOOTP clients from the scope when converting |
	//	|                                                    | the range to a DHCP-only range.                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | An IP address range is configured for a policy in this scope. This operation     |
	//	|                                                    | cannot be performed on the scope IP address range until the policy IP address    |
	//	|                                                    | range is suitably modified.                                                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004EA1 ERROR_DHCP_FO_IPRANGE_TYPE_CONV_ILLEGAL | Conversion of a failover scope to a BOOTP-only or BOTH scope cannot be           |
	//	|                                                    | performed. Failover is supported only for DHCP scopes.                           |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 29.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	AddSubnetElementV4(context.Context, *AddSubnetElementV4Request, ...dcerpc.CallOption) (*AddSubnetElementV4Response, error)

	// The R_DhcpEnumSubnetElementsV4 method enumerates the list of a specific type of IPv4
	// subnet element (IPv4 reservation for DHCPv4 or BOOTP clients, IPv4 exclusion range,
	// or IPv4 range) from a specific DHCPv4 IPv4 subnet. The caller of this function can
	// free the memory pointed to by the EnumElementInfo parameter and its member the Elements
	// array by calling the function midl_user_free specified in section 3.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+--------------------------------------------------------------+
	//	|                  RETURN                  |                                                              |
	//	|                VALUE/CODE                |                         DESCRIPTION                          |
	//	|                                          |                                                              |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                     |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA               | There are more elements available to enumerate.              |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS           | There are no more elements left to enumerate.                |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database.  |
	//	+------------------------------------------+--------------------------------------------------------------+
	//
	// The opnum field value for this method is 30.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumSubnetElementsV4(context.Context, *EnumSubnetElementsV4Request, ...dcerpc.CallOption) (*EnumSubnetElementsV4Response, error)

	// The R_DhcpRemoveSubnetElementV4 method removes an IPv4 subnet element (IPv4 reservation
	// for DHCPv4 or BOOTP clients, IPv4 exclusion range, or IPv4 range) from an IPv4 subnet
	// defined on the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	|                       RETURN                       |                                                                                  |
	//	|                     VALUE/CODE                     |                                   DESCRIPTION                                    |
	//	|                                                    |                                                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                           | The call was successful.                                                         |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT           | The specified IPv4 subnet does not exist on the DHCP server.                     |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE          | Failures can occur for any of the following reasons: The specified IPv4 subnet   |
	//	|                                                    | element cannot be removed because at least one IPv4 address has been leased out  |
	//	|                                                    | to a client in the subnet. The starting address of the specified IPv4 exclusion  |
	//	|                                                    | range is not part of any exclusion range configured on the server. There is an   |
	//	|                                                    | error in deleting the exclusion range from the database.                         |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR                    | An error occurred while accessing the DHCP server database.                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E37 ERROR_DHCP_INVALID_RANGE                | The specified IPv4 range does not match an existing IPv4 range.                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | An IP address range is configured for a policy in this scope. This operation     |
	//	|                                                    | cannot be performed on the scope IP address range until the policy IP address    |
	//	|                                                    | range is suitably modified.                                                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 31.
	RemoveSubnetElementV4(context.Context, *RemoveSubnetElementV4Request, ...dcerpc.CallOption) (*RemoveSubnetElementV4Response, error)

	// The R_DhcpCreateClientInfoV4 method sets/modifies the DHCPv4 client lease record
	// on the DHCPv4 server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+-------------------------------------------------------------+
	//	|             RETURN              |                                                             |
	//	|           VALUE/CODE            |                         DESCRIPTION                         |
	//	|                                 |                                                             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                    |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. |
	//	+---------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 32.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	CreateClientInfoV4(context.Context, *CreateClientInfoV4Request, ...dcerpc.CallOption) (*CreateClientInfoV4Response, error)

	// The R_DhcpSetClientInfoV4 method sets/modifies the existing DHCPv4 client lease record
	// on the DHCPv4 server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCPv4 server database or the client entry |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 33.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetClientInfoV4(context.Context, *SetClientInfoV4Request, ...dcerpc.CallOption) (*SetClientInfoV4Response, error)

	// The R_DhcpGetClientInfoV4 method retrieves the DHCPv4 client lease record information
	// from the DHCPv4 server database. The caller of this function can free the memory
	// pointed to by the ClientInfo parameter, by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database or the client entry   |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 34.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	GetClientInfoV4(context.Context, *GetClientInfoV4Request, ...dcerpc.CallOption) (*GetClientInfoV4Response, error)

	// The R_DhcpEnumSubnetClientsV4 method is used to retrieve all DHCPv4 clients serviced
	// from the specified IPv4 subnet. This method returns the DHCPv4 clients from all IPv4
	// subnets if the subnet address specified zero. The caller of this function can free
	// the memory pointed to by the ClientInfo parameter and its member the Clients array
	// by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+-------------------------------------------------------------+
	//	|             RETURN              |                                                             |
	//	|           VALUE/CODE            |                         DESCRIPTION                         |
	//	|                                 |                                                             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                    |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA      | There are more elements available to enumerate.             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS  | There are no more elements left to enumerate.               |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. |
	//	+---------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 35.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	EnumSubnetClientsV4(context.Context, *EnumSubnetClientsV4Request, ...dcerpc.CallOption) (*EnumSubnetClientsV4Response, error)

	// The R_DhcpSetSuperScopeV4 method adds, modifies, or deletes the IPv4 subnet to/from
	// the superscope information from the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+--------------------------------------------------------------+
	//	|                  RETURN                  |                                                              |
	//	|                VALUE/CODE                |                         DESCRIPTION                          |
	//	|                                          |                                                              |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                     |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database.  |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E24 ERROR_DHCP_SUBNET_EXITS       | The specified IPv4 subnet already exists.                    |
	//	+------------------------------------------+--------------------------------------------------------------+
	//
	// The opnum field value for this method is 36.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	SetSuperScopeV4(context.Context, *SetSuperScopeV4Request, ...dcerpc.CallOption) (*SetSuperScopeV4Response, error)

	// The R_DhcpGetSuperScopeInfoV4 method retrieves all the superscope information from
	// the DHCPv4 server. The caller of this function can free the memory pointed to by
	// the SuperScopeTable parameter and its member the pEntries array by calling the function
	// midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 37.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetSuperScopeInfoV4(context.Context, *GetSuperScopeInfoV4Request, ...dcerpc.CallOption) (*GetSuperScopeInfoV4Response, error)

	// The R_DhcpDeleteSuperScopeV4 method deletes the specified superscope from the DHCPv4
	// server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+--------------------------------------------------------------+
	//	|                  RETURN                  |                                                              |
	//	|                VALUE/CODE                |                         DESCRIPTION                          |
	//	|                                          |                                                              |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                     |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. |
	//	+------------------------------------------+--------------------------------------------------------------+
	//
	// The opnum field value for this method is 38.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	DeleteSuperScopeV4(context.Context, *DeleteSuperScopeV4Request, ...dcerpc.CallOption) (*DeleteSuperScopeV4Response, error)

	// The R_DhcpServerSetConfigV4 method sets/modifies the DHCPv4 server settings.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully.
	// Otherwise, the return value contains a Win32 error code, as specified in [MS-ERREF].
	// This error code value can correspond to a DHCP-specific failure, which takes a value
	// between 20000 and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 39.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	ServerSetConfigV4(context.Context, *ServerSetConfigV4Request, ...dcerpc.CallOption) (*ServerSetConfigV4Response, error)

	// The R_DhcpServerGetConfigV4 method retrieves the current DHCPv4 server setting. The
	// caller of this function can free the memory pointed to by the ConfigInfo parameter
	// by calling the function midl_user_free, specified in section 3.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 40.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	ServerGetConfigV4(context.Context, *ServerGetConfigV4Request, ...dcerpc.CallOption) (*ServerGetConfigV4Response, error)

	// The R_DhcpServerSetConfigVQ method sets/modifies the DHCPv4 server settings.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully.
	// Otherwise, the return value contains a Win32 error code, as specified in [MS-ERREF].
	// This error code value can correspond to a DHCP-specific failure, which takes a value
	// between 20000 and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 41.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	ServerSetConfigVQ(context.Context, *ServerSetConfigVQRequest, ...dcerpc.CallOption) (*ServerSetConfigVQResponse, error)

	// The R_DhcpServerGetConfigVQ method retrieves the current DHCPv4 server setting. The
	// caller of this function can free the memory pointed to by the ConfigInfo parameter
	// by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 42.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	ServerGetConfigVQ(context.Context, *ServerGetConfigVQRequest, ...dcerpc.CallOption) (*ServerGetConfigVQResponse, error)

	// The R_DhcpGetMibInfoVQ method just returns ERROR_SUCCESS. It is never used.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The R_DhcpGetMibInfoVQ method returns only ERROR_SUCCESS. It is never used.
	//
	// The opnum field value for this method is 43.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetMIBInfoVQ(context.Context, *GetMIBInfoVQRequest, ...dcerpc.CallOption) (*GetMIBInfoVQResponse, error)

	// The R_DhcpCreateClientInfoVQ method sets\modifies the DHCPv4 client lease record
	// on the DHCP server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+-------------------------------------------------------------+
	//	|             RETURN              |                                                             |
	//	|           VALUE/CODE            |                         DESCRIPTION                         |
	//	|                                 |                                                             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                    |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. |
	//	+---------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 44.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	CreateClientInfoVQ(context.Context, *CreateClientInfoVQRequest, ...dcerpc.CallOption) (*CreateClientInfoVQResponse, error)

	// The R_DhcpSetClientInfoVQ method sets/modifies an existing DHCPv4 client lease record
	// on the DHCPv4 server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database or the client entry   |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 45.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetClientInfoVQ(context.Context, *SetClientInfoVQRequest, ...dcerpc.CallOption) (*SetClientInfoVQResponse, error)

	// The R_DhcpGetClientInfoVQ method retrieves DHCPv4 client lease record information
	// from the DHCPv4 server database. The caller of this function can free the memory
	// pointed to by the ClientInfo parameter, by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database, or the client entry  |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 46.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetClientInfoVQ(context.Context, *GetClientInfoVQRequest, ...dcerpc.CallOption) (*GetClientInfoVQResponse, error)

	// The R_DhcpEnumSubnetClientsVQ method is used to retrieve all DHCPv4 clients serviced
	// from the specified IPv4 subnet. This method returns DHCPv4 clients from all IPv4
	// subnets if the subnet address specified is zero. The caller of this function can
	// free the memory pointed to by the ClientInfo parameter and its member the Clients
	// array by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+-------------------------------------------------------------+
	//	|             RETURN              |                                                             |
	//	|           VALUE/CODE            |                         DESCRIPTION                         |
	//	|                                 |                                                             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                    |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA      | There are more elements available to enumerate.             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS  | There are no more elements left to enumerate.               |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. |
	//	+---------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 47.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumSubnetClientsVQ(context.Context, *EnumSubnetClientsVQRequest, ...dcerpc.CallOption) (*EnumSubnetClientsVQResponse, error)

	// The R_DhcpCreateSubnetVQ method is used to create the new IPv4 subnet along with
	// its NAP state on the DHCPv4 server. This method is an extension of R_DhcpCreateSubnet
	// (section 3.1.4.1).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	|               RETURN                |                                                                                  |
	//	|             VALUE/CODE              |                                   DESCRIPTION                                    |
	//	|                                     |                                                                                  |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS            | The call was successful.                                                         |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR     | An error occurred while accessing the DHCP server database.                      |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E54 ERROR_DHCP_SUBNET_EXISTS | The IPv4 scope parameters are incorrect. Either the IPv4 scope already           |
	//	|                                     | exists, corresponding to the SubnetAddress and SubnetMask members of the         |
	//	|                                     | DHCP_SUBNET_INFO_VQ (section 2.2.1.2.45) structure, or there is a range overlap  |
	//	|                                     | of IPv4 addresses between those associated with the SubnetAddress and SubnetMask |
	//	|                                     | members of the new IPv4 scope and the subnet address and mask of an already      |
	//	|                                     | existing IPv4 scope.                                                             |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 48.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	CreateSubnetVQ(context.Context, *CreateSubnetVQRequest, ...dcerpc.CallOption) (*CreateSubnetVQResponse, error)

	// The R_DhcpGetSubnetInfoVQ method retrieves the information about a specific IPv4
	// subnet defined on the DHCPv4 server. This method is an extension of R_DhcpGetSubnetInfo
	// method in which the NAP state is not returned. The caller of this function can free
	// the memory pointed to by the SubnetInfoVQ parameter, by calling the function midl_user_free
	// (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-------------------------------------------+
	//	|                  RETURN                  |                                           |
	//	|                VALUE/CODE                |                DESCRIPTION                |
	//	|                                          |                                           |
	//	+------------------------------------------+-------------------------------------------+
	//	+------------------------------------------+-------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                  |
	//	+------------------------------------------+-------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. |
	//	+------------------------------------------+-------------------------------------------+
	//
	// The opnum field value for this method is 49.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetSubnetInfoVQ(context.Context, *GetSubnetInfoVQRequest, ...dcerpc.CallOption) (*GetSubnetInfoVQResponse, error)

	// The R_DhcpSetSubnetInfoVQ method sets/modifies the information about an IPv4 subnet
	// defined on the DHCPv4 server. This method is an extension of the R_DhcpSetSubnetInfo
	// method in which NAP state is not set.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-------------------------------------------------------------+
	//	|                  RETURN                  |                                                             |
	//	|                VALUE/CODE                |                         DESCRIPTION                         |
	//	|                                          |                                                             |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                    |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist.                   |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database. |
	//	+------------------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 50.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetSubnetInfoVQ(context.Context, *SetSubnetInfoVQRequest, ...dcerpc.CallOption) (*SetSubnetInfoVQResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error
}

dhcpsrv interface.

func NewDHCPServerClient

func NewDHCPServerClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (DHCPServerClient, error)

type DHCPServerServer

type DHCPServerServer interface {

	// The R_DhcpCreateSubnet method is used to create a new IPv4 subnet on the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	|               RETURN                |                                                                                  |
	//	|             VALUE/CODE              |                                   DESCRIPTION                                    |
	//	|                                     |                                                                                  |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS            | The call was successful.                                                         |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR     | An error occurred while accessing the DHCP server database.                      |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E54 ERROR_DHCP_SUBNET_EXISTS | The IPv4 scope parameters are incorrect. Either the IPv4 scope already exists,   |
	//	|                                     | corresponding to the SubnetAddress and SubnetMask members of the structure       |
	//	|                                     | DHCP_SUBNET_INFO (section 2.2.1.2.8), or there is a range overlap of IPv4        |
	//	|                                     | addresses between those associated with the SubnetAddress and SubnetMask fields  |
	//	|                                     | of the new IPv4 scope and the subnet address and mask of an already existing     |
	//	|                                     | IPv4 scope.                                                                      |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 0.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	CreateSubnet(context.Context, *CreateSubnetRequest) (*CreateSubnetResponse, error)

	// The R_DhcpSetSubnetInfo method sets/modifies the information about an IPv4 subnet
	// defined on the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates the return status.
	// A return value of ERROR_SUCCESS (0x00000000) indicates that the operation was completed
	// successfully, else it contains a Win32 error code, as specified in [MS-ERREF]. This
	// error code value can correspond to a DHCP-specific failure, which takes a value between
	// 20000 and 20099, or any generic failure.
	//
	//	+------------------------------------------+-------------------------------------------------------------+
	//	|                  RETURN                  |                                                             |
	//	|                VALUE/CODE                |                         DESCRIPTION                         |
	//	|                                          |                                                             |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                    |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database. |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist.                   |
	//	+------------------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 1.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	SetSubnetInfo(context.Context, *SetSubnetInfoRequest) (*SetSubnetInfoResponse, error)

	// The R_DhcpGetSubnetInfo method retrieves the information about a specific IPv4 subnet
	// defined on the DHCPv4 server. The caller of this function is responsible for freeing
	// the memory pointed to by SubnetInfo by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-------------------------------------------+
	//	|                  RETURN                  |                                           |
	//	|                VALUE/CODE                |                DESCRIPTION                |
	//	|                                          |                                           |
	//	+------------------------------------------+-------------------------------------------+
	//	+------------------------------------------+-------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                  |
	//	+------------------------------------------+-------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. |
	//	+------------------------------------------+-------------------------------------------+
	//
	// The opnum field value for this method is 2.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetSubnetInfo(context.Context, *GetSubnetInfoRequest) (*GetSubnetInfoResponse, error)

	// The R_DhcpEnumSubnets method enumerates IPv4 subnets configured on the DHCPv4 server.
	// The caller of this function can free the memory pointed to by the EnumInfo parameter
	// and its member the Elements array by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------------+-----------------------------------------------+
	//	|             RETURN             |                                               |
	//	|           VALUE/CODE           |                  DESCRIPTION                  |
	//	|                                |                                               |
	//	+--------------------------------+-----------------------------------------------+
	//	+--------------------------------+-----------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS       | The call was successful.                      |
	//	+--------------------------------+-----------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate. |
	//	+--------------------------------+-----------------------------------------------+
	//
	// The opnum field value for this method is 3.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumSubnets(context.Context, *EnumSubnetsRequest) (*EnumSubnetsResponse, error)

	// The R_DhcpAddSubnetElement method adds an IPv4 subnet element (IPv4 reservation,
	// IPv4 exclusion range, or IPv4 range) to the IPv4 subnet in the DHCPv4 server. There
	// is an extension of this method in R_DhcpAddSubnetElementV4 (section 3.1.4.30).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	|                       RETURN                       |                                                                                  |
	//	|                     VALUE/CODE                     |                                   DESCRIPTION                                    |
	//	|                                                    |                                                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                           | The call was successful.                                                         |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR                    | An error occurred while accessing the DHCP server database.                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT           | The specified IPv4 subnet does not exist.                                        |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E37 ERROR_DHCP_INVALID_RANGE                | The specified IPv4 range either overlaps an existing range or is not valid.      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E35 ERROR_DHCP_IPRANGE_EXITS                | The specified IPv4 address range already exists.                                 |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT          | The specified DHCPv4 client is not an IPv4 reserved client.                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E36 ERROR_DHCP_RESERVEDIP_EXITS             | The specified IPv4 address or hardware address is being used by another DHCPv4   |
	//	|                                                    | client.                                                                          |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E51 ERROR_DHCP_IPRANGE_CONV_ILLEGAL         | Conversion of a BOOTP scope to a DHCP-only scope is illegal, since BOOTP clients |
	//	|                                                    | exist in the scope. Manually delete BOOTP clients from the scope when converting |
	//	|                                                    | the range to a DHCP-only range.                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | There is an IP address range configured for a policy in this scope. This         |
	//	|                                                    | operation on the scope IP address range cannot be performed until the policy IP  |
	//	|                                                    | address range is suitably modified.                                              |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004EA1 ERROR_DHCP_FO_IPRANGE_TYPE_CONV_ILLEGAL | Conversion of a failover scope to a scope of type BOOTP or BOTH could not be     |
	//	|                                                    | performed. Failover is supported only for DHCP scopes.                           |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 4.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	AddSubnetElement(context.Context, *AddSubnetElementRequest) (*AddSubnetElementResponse, error)

	// The R_DhcpEnumSubnetElements method enumerates the list of a specific type of IPv4
	// subnet elements from a specific DHCPv4 IPv4 subnet. The caller of this function can
	// free the memory pointed to by the EnumElementInfo parameter and its member the Elements
	// array by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-------------------------------------------------+
	//	|                  RETURN                  |                                                 |
	//	|                VALUE/CODE                |                   DESCRIPTION                   |
	//	|                                          |                                                 |
	//	+------------------------------------------+-------------------------------------------------+
	//	+------------------------------------------+-------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                        |
	//	+------------------------------------------+-------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA               | There are more elements available to enumerate. |
	//	+------------------------------------------+-------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS           | There are no more elements left to enumerate.   |
	//	+------------------------------------------+-------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist.       |
	//	+------------------------------------------+-------------------------------------------------+
	//
	// The opnum field value for this method is 5.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumSubnetElements(context.Context, *EnumSubnetElementsRequest) (*EnumSubnetElementsResponse, error)

	// The R_DhcpRemoveSubnetElement method removes an IPv4 subnet element from an IPv4
	// subnet defined on the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	|                       RETURN                       |                                                                                  |
	//	|                     VALUE/CODE                     |                                   DESCRIPTION                                    |
	//	|                                                    |                                                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                           | The call was successful.                                                         |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT           | The specified IPv4 subnet does not exist.                                        |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE          | The specified IPv4 subnet element cannot be removed because at least one IPv4    |
	//	|                                                    | address has been leased out to a client from the subnet. The starting address of |
	//	|                                                    | the specified IPv4 exclusion range is not part of any exclusion range configured |
	//	|                                                    | on the server. There is an error in deleting the exclusion range from the        |
	//	|                                                    | database.                                                                        |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR                    | An error occurred while accessing the DHCP server database.                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E37 ERROR_DHCP_INVALID_RANGE                | The specified IPv4 range does not match an existing IPv4 range.                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | There is an IP address range configured for a policy in this scope. This         |
	//	|                                                    | operation cannot be performed until the policy IP range is suitably modified.    |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 6.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	RemoveSubnetElement(context.Context, *RemoveSubnetElementRequest) (*RemoveSubnetElementResponse, error)

	// The R_DhcpDeleteSubnet method deletes an IPv4 subnet from the DHCPv4 server. The
	// ForceFlag defines the behavior of the operation when an IP address from the subnet
	// has been allocated to some DHCPv4 client.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	|                         RETURN                         |                                                                                  |
	//	|                       VALUE/CODE                       |                                   DESCRIPTION                                    |
	//	|                                                        |                                                                                  |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                               | The call was successful.                                                         |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT               | The specified IPv4 subnet does not exist.                                        |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE              | The specified IPv4 subnet cannot be removed because at least one IPv4 address    |
	//	|                                                        | has been leased out to some client from the subnet.                              |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR                        | An error occurred while accessing the DHCP server database.                      |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E90 ERROR_DHCP_FO_SCOPE_ALREADY_IN_RELATIONSHIP | The specified IPv4 subnet is part of a failover relationship and cannot be       |
	//	|                                                        | deleted without first removing the failover relationship.                        |
	//	+--------------------------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 7.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	DeleteSubnet(context.Context, *DeleteSubnetRequest) (*DeleteSubnetResponse, error)

	// The R_DhcpCreateOption method creates an option definition of the specified option
	// for the default user class and vendor class pair at the default option level. The
	// OptionID parameter specifies the identifier of the option.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------+------------------------------------------------------------------+
	//	|               RETURN               |                                                                  |
	//	|             VALUE/CODE             |                           DESCRIPTION                            |
	//	|                                    |                                                                  |
	//	+------------------------------------+------------------------------------------------------------------+
	//	+------------------------------------+------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS           | The call was successful.                                         |
	//	+------------------------------------+------------------------------------------------------------------+
	//	| 0x00004E29 ERROR_DHCP_OPTION_EXITS | The specified option already exists on the DHCP server database. |
	//	+------------------------------------+------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR    | An error occurred while accessing the DHCP server database.      |
	//	+------------------------------------+------------------------------------------------------------------+
	//
	// The opnum field value for this method is 8.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	CreateOption(context.Context, *CreateOptionRequest) (*CreateOptionResponse, error)

	// The R_DhcpSetOptionInfo method modifies the option definition of the specified option
	// for the default user class and vendor class pair at the default option level. There
	// is an extension method R_DhcpSetOptionInfoV5 that sets the option definition for
	// a specific user class and vendor class pair.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                  |                                                                             |
	//	|                VALUE/CODE                |                                 DESCRIPTION                                 |
	//	|                                          |                                                                             |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                                    |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database.                 |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 9.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetOptionInfo(context.Context, *SetOptionInfoRequest) (*SetOptionInfoResponse, error)

	// The R_DhcpGetOptionInfo method retrieves the option definition of the specified option
	// for the default user class and vendor class pair at the default option level. There
	// is an extension method R_DhcpGetOptionInfoV5 (section 3.2.4.17) that retrieves the
	// option definition for a specific user class and vendor class pair. The caller of
	// this function can free the memory pointed to by the OptionInfo parameter, by calling
	// the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                  |                                                                             |
	//	|                VALUE/CODE                |                                 DESCRIPTION                                 |
	//	|                                          |                                                                             |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                                    |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 10.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetOptionInfo(context.Context, *GetOptionInfoRequest) (*GetOptionInfoResponse, error)

	// The R_DhcpRemoveOption method removes the option definition of a specific option
	// for the default user class and vendor class pair at the default option level. The
	// OptionID parameter specifies the identifier of the option definition.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS indicates that the operation was completed successfully, else
	// it contains a Win32 error code, as specified in [MS-ERREF]. This error code value
	// can correspond to a DHCP-specific failure, which takes a value between 20000 and
	// 20099, or any generic failure.
	//
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                  |                                                                             |
	//	|                VALUE/CODE                |                                 DESCRIPTION                                 |
	//	|                                          |                                                                             |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                                    |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT | The specified option definition does not exist on the DHCP server database. |
	//	+------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 11.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	RemoveOption(context.Context, *RemoveOptionRequest) (*RemoveOptionResponse, error)

	// The R_DhcpSetOptionValue method creates the option value when called for the first
	// time. Otherwise, it modifies the option value for a specific option associated with
	// the default user class and vendor class pair. The values can be set at the default,
	// server, scope, multicast scope, or reservation level on the DHCPv4 server. The ScopeInfo
	// parameter defines the level at which this option value is set.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                   |                                                                             |
	//	|                VALUE/CODE                 |                                 DESCRIPTION                                 |
	//	|                                           |                                                                             |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                  | The call was successful.                                                    |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT  | The specified IPv4 subnet does not exist on the DHCP server.                |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT  | The specified option definition does not exist on the DHCP server database. |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND     | The class name being used is unknown or incorrect.                          |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client.                         |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 12.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	SetOptionValue(context.Context, *SetOptionValueRequest) (*SetOptionValueResponse, error)

	// The R_DhcpGetOptionValue method retrieves the option value for a specific option
	// associated with the default user class and vendor class pair. The values can be retrieved
	// from the default, server, scope, multicast scope, or reservation level on the DHCPv4
	// server. The ScopeInfo parameter defines the level from which the option value needs
	// to be retrieved. The caller of this function can free the memory pointed to by the
	// OptionValue parameter by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                   |                                                                             |
	//	|                VALUE/CODE                 |                                 DESCRIPTION                                 |
	//	|                                           |                                                                             |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                  | The call was successful.                                                    |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT  | The specified IPv4 subnet does not exist on the DHCP server.                |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT  | The specified option definition does not exist on the DHCP server database. |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client.                         |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 13.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetOptionValue(context.Context, *GetOptionValueRequest) (*GetOptionValueResponse, error)

	// The R_DhcpEnumOptionValues method enumerates all the option values for the default
	// user class and vendor class pair. The values can be enumerated at a specified level
	// (that is, default, server, scope, multicast scope, or reservation level) defined
	// by the ScopeInfo parameter. The extension of this API is R_DhcpEnumOptionValuesV5
	// (section 3.2.4.23), which retrieves the option values for a specific user class and
	// vendor class at a specific scope defined by the ScopeInfo parameter. The caller of
	// this function can free the memory pointed to by the OptionValues parameter and its
	// member the Values array by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	|                  RETURN                   |                                                              |
	//	|                VALUE/CODE                 |                         DESCRIPTION                          |
	//	|                                           |                                                              |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                  | The call was successful.                                     |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA                | There are more elements available to enumerate.              |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS            | There are no more elements left to enumerate.                |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT  | The specified IPv4 subnet does not exist on the DHCP server. |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client.          |
	//	+-------------------------------------------+--------------------------------------------------------------+
	//
	// The opnum field value for this method is 14.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumOptionValues(context.Context, *EnumOptionValuesRequest) (*EnumOptionValuesResponse, error)

	// The R_DhcpRemoveOptionValue method removes the option value for a specific option
	// on the DHCPv4 server for the default user class and vendor class. ScopeInfo defines
	// the level (that is, server, scope, multicast scope, or IPv4 reservation level) on
	// which this option value is removed.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                   |                                                                             |
	//	|                VALUE/CODE                 |                                 DESCRIPTION                                 |
	//	|                                           |                                                                             |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                  | The call was successful.                                                    |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT  | The specified IPv4 subnet does not exist on the DHCP server.                |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT  | The specified option definition does not exist on the DHCP server database. |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client.                         |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 15.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	RemoveOptionValue(context.Context, *RemoveOptionValueRequest) (*RemoveOptionValueResponse, error)

	// The R_DhcpCreateClientInfo method creates DHCPv4 client lease records on the DHCPv4
	// server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+---------------------------------------------------------------+
	//	|             RETURN              |                                                               |
	//	|           VALUE/CODE            |                          DESCRIPTION                          |
	//	|                                 |                                                               |
	//	+---------------------------------+---------------------------------------------------------------+
	//	+---------------------------------+---------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                      |
	//	+---------------------------------+---------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCPv4 server database. |
	//	+---------------------------------+---------------------------------------------------------------+
	//
	// The opnum field value for this method is 16.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	CreateClientInfo(context.Context, *CreateClientInfoRequest) (*CreateClientInfoResponse, error)

	// The R_DhcpSetClientInfo method modifies existing DHCPv4 client lease records on the
	// DHCPv4 server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCPv4 server database or the client entry |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 17.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetClientInfo(context.Context, *SetClientInfoRequest) (*SetClientInfoResponse, error)

	// The R_DhcpGetClientInfo method retrieves DHCPv4 client lease record information from
	// the DHCPv4 server database. The caller of this function can free the memory pointed
	// to by the ClientInfo parameter by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database, or the client entry  |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 18.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetClientInfo(context.Context, *GetClientInfoRequest) (*GetClientInfoResponse, error)

	// The R_DhcpDeleteClientInfo method deletes the specified DHCPv4 client lease record
	// from the DHCPv4 server database. It also frees up the DHCPv4 client IPv4 address
	// for redistribution.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	|                RETURN                 |                                                                                  |
	//	|              VALUE/CODE               |                                   DESCRIPTION                                    |
	//	|                                       |                                                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS              | The call was successful.                                                         |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR       | An error occurred while accessing the DHCP server database, or the client entry  |
	//	|                                       | is not present in the database.                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E33 ERROR_DHCP_RESERVED_CLIENT | The specified DHCP client is a reserved DHCP client.                             |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 19.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	DeleteClientInfo(context.Context, *DeleteClientInfoRequest) (*DeleteClientInfoResponse, error)

	// The R_DhcpEnumSubnetClients method is used to retrieve all DHCPv4 clients serviced
	// on the specified IPv4 subnet. This method returns DHCPv4 clients from all IPv4 subnets
	// if the subnet address provided is zero. The caller of this function can free the
	// memory pointed to by the ClientInfo parameter and its member the Clients array by
	// calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+-------------------------------------------------------------+
	//	|             RETURN              |                                                             |
	//	|           VALUE/CODE            |                         DESCRIPTION                         |
	//	|                                 |                                                             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                    |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA      | There are more elements available to enumerate.             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS  | There are no more elements left to enumerate.               |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. |
	//	+---------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 20.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumSubnetClients(context.Context, *EnumSubnetClientsRequest) (*EnumSubnetClientsResponse, error)

	// The R_DhcpGetClientOptions method is never used.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value contains a Win32 error code, as specified in [MS-ERREF]. This error code value
	// can correspond to a DHCP-specific failure, which takes a value between 20000 and
	// 20099, or any generic failure.
	//
	// The opnum field value for this method is 21.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	GetClientOptions(context.Context, *GetClientOptionsRequest) (*GetClientOptionsResponse, error)

	// The R_DhcpGetMibInfo method is used to retrieve the statistics of the DHCPv4 server.
	// The caller of this function can free the memory pointed to by the MibInfo parameter
	// and its member the ScopeInfo array by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 22.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	GetMIBInfo(context.Context, *GetMIBInfoRequest) (*GetMIBInfoResponse, error)

	// The R_DhcpEnumOptions method enumerates the option definition for a default user
	// class and vendor class pair specified at the default level. The extension of this
	// method is R_DhcpEnumOptionsV5 (section 3.2.4.18), which enumerates the option definition
	// for the specific user class and vendor class. The caller of this function can free
	// the memory pointed to by the Options parameter and its member the Options array by
	// calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------------+-------------------------------------------------+
	//	|             RETURN             |                                                 |
	//	|           VALUE/CODE           |                   DESCRIPTION                   |
	//	|                                |                                                 |
	//	+--------------------------------+-------------------------------------------------+
	//	+--------------------------------+-------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS       | The call was successful.                        |
	//	+--------------------------------+-------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA     | There are more elements available to enumerate. |
	//	+--------------------------------+-------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS | There are no more elements left to enumerate.   |
	//	+--------------------------------+-------------------------------------------------+
	//
	// The opnum field value for this method is 23.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumOptions(context.Context, *EnumOptionsRequest) (*EnumOptionsResponse, error)

	// The R_DhcpSetOptionValues method creates the option values when called for the first
	// time. Otherwise, it modifies the option values of one or more options at a specified
	// level for a default user class and vendor class pair (that is, at the default, server,
	// scope, multicast scope, or IPv4 reservation level). The ScopeInfo parameter defines
	// the scope on which these option values are modified. The extension of this method
	// is R_DhcpSetOptionValuesV5 (section 3.2.4.21), which sets/modifies the option values
	// of one or more options for a specific user class and vendor class pair.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	|                  RETURN                   |                                                                             |
	//	|                VALUE/CODE                 |                                 DESCRIPTION                                 |
	//	|                                           |                                                                             |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                  | The call was successful.                                                    |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT  | The specified IPv4 subnet does not exist on the DHCP server.                |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E2A ERROR_DHCP_OPTION_NOT_PRESENT  | The specified option definition does not exist in the DHCP server database. |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E4C ERROR_DHCP_CLASS_NOT_FOUND     | The class name being used is unknown or incorrect.                          |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT | The specified DHCP client is not a reserved client.                         |
	//	+-------------------------------------------+-----------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 24.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetOptionValues(context.Context, *SetOptionValuesRequest) (*SetOptionValuesResponse, error)

	// The R_DhcpServerSetConfig method sets/modifies the DHCPv4 server settings. There
	// is an extension method R_DhcpServerSetConfigV4 (section 3.1.4.40) that sets some
	// additional settings on the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully.
	// Otherwise, the return value contains a Win32 error code, as specified in [MS-ERREF].
	// This error code value can correspond to a DHCP-specific failure, which takes a value
	// between 20000 and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 25.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	ServerSetConfig(context.Context, *ServerSetConfigRequest) (*ServerSetConfigResponse, error)

	// The R_DhcpServerGetConfig method retrieves the current DHCPv4 server setting. There
	// is an extension method R_DhcpServerGetConfigV4 (section 3.1.4.41) that retrieves
	// some additional settings on the DHCPv4 server. The caller of this function can free
	// the memory pointed to by the ConfigInfo parameter by calling the function midl_user_free
	// as specified in 3.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 26.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	ServerGetConfig(context.Context, *ServerGetConfigRequest) (*ServerGetConfigResponse, error)

	// The R_DhcpScanDatabase method is used by DHCP servers that enumerate and/or fix inconsistencies
	// between the ADM elements DHCPv4 client lease records specified in DHCPv4Scope.DHCPv4ClientsList
	// and the bitmask representation in memory specified in DHCPv4IpRange.BitMask. The
	// caller of this function can free the memory pointed to by the ScanList parameter
	// and its member the ScanItems array by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+--------------------------------------------------------------+
	//	|                  RETURN                  |                                                              |
	//	|                VALUE/CODE                |                         DESCRIPTION                          |
	//	|                                          |                                                              |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                     |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database.  |
	//	+------------------------------------------+--------------------------------------------------------------+
	//
	// The opnum field value for this method is 27.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	ScanDatabase(context.Context, *ScanDatabaseRequest) (*ScanDatabaseResponse, error)

	// The R_DhcpGetVersion method retrieves the major and minor version numbers of the
	// DHCP server. The version numbers can be used to determine the functionality supported
	// by the DHCP server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 28.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)

	// The R_DhcpAddSubnetElementV4 method adds an IPv4 subnet element (IPv4 reservation
	// for DHCPv4 or BOOTP clients, IPv4 exclusion range, or IPv4 range) to the IPv4 subnet
	// in the DHCPv4 server. There is an extension of this method in R_DhcpAddSubnetElementV5
	// (section 3.2.4.38).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	|                       RETURN                       |                                                                                  |
	//	|                     VALUE/CODE                     |                                   DESCRIPTION                                    |
	//	|                                                    |                                                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                           | The call was successful.                                                         |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT           | The specified IPv4 subnet does not exist on the DHCP server.                     |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR                    | An error occurred while accessing the DHCP server database.                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E32 ERROR_DHCP_NOT_RESERVED_CLIENT          | The specified DHCP client is not a reserved client.                              |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E35 ERROR_DHCP_IPRANGE_EXITS                | The specified IPv4 address range already exists.                                 |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E36 ERROR_DHCP_RESERVEDIP_EXITS             | The specified IPv4 address or hardware address is being used by another DHCP     |
	//	|                                                    | client.                                                                          |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E37 ERROR_DHCP_INVALID_RANGE                | The specified IPv4 range either overlaps an existing range or is not valid.      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E51 ERROR_DHCP_IPRANGE_CONV_ILLEGAL         | Conversion of a BOOTP scope to a DHCP-only scope is illegal, since BOOTP clients |
	//	|                                                    | exist in the scope. Manually delete BOOTP clients from the scope when converting |
	//	|                                                    | the range to a DHCP-only range.                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | An IP address range is configured for a policy in this scope. This operation     |
	//	|                                                    | cannot be performed on the scope IP address range until the policy IP address    |
	//	|                                                    | range is suitably modified.                                                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004EA1 ERROR_DHCP_FO_IPRANGE_TYPE_CONV_ILLEGAL | Conversion of a failover scope to a BOOTP-only or BOTH scope cannot be           |
	//	|                                                    | performed. Failover is supported only for DHCP scopes.                           |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 29.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	AddSubnetElementV4(context.Context, *AddSubnetElementV4Request) (*AddSubnetElementV4Response, error)

	// The R_DhcpEnumSubnetElementsV4 method enumerates the list of a specific type of IPv4
	// subnet element (IPv4 reservation for DHCPv4 or BOOTP clients, IPv4 exclusion range,
	// or IPv4 range) from a specific DHCPv4 IPv4 subnet. The caller of this function can
	// free the memory pointed to by the EnumElementInfo parameter and its member the Elements
	// array by calling the function midl_user_free specified in section 3.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+--------------------------------------------------------------+
	//	|                  RETURN                  |                                                              |
	//	|                VALUE/CODE                |                         DESCRIPTION                          |
	//	|                                          |                                                              |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                     |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA               | There are more elements available to enumerate.              |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS           | There are no more elements left to enumerate.                |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database.  |
	//	+------------------------------------------+--------------------------------------------------------------+
	//
	// The opnum field value for this method is 30.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumSubnetElementsV4(context.Context, *EnumSubnetElementsV4Request) (*EnumSubnetElementsV4Response, error)

	// The R_DhcpRemoveSubnetElementV4 method removes an IPv4 subnet element (IPv4 reservation
	// for DHCPv4 or BOOTP clients, IPv4 exclusion range, or IPv4 range) from an IPv4 subnet
	// defined on the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	|                       RETURN                       |                                                                                  |
	//	|                     VALUE/CODE                     |                                   DESCRIPTION                                    |
	//	|                                                    |                                                                                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                           | The call was successful.                                                         |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT           | The specified IPv4 subnet does not exist on the DHCP server.                     |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E27 ERROR_DHCP_ELEMENT_CANT_REMOVE          | Failures can occur for any of the following reasons: The specified IPv4 subnet   |
	//	|                                                    | element cannot be removed because at least one IPv4 address has been leased out  |
	//	|                                                    | to a client in the subnet. The starting address of the specified IPv4 exclusion  |
	//	|                                                    | range is not part of any exclusion range configured on the server. There is an   |
	//	|                                                    | error in deleting the exclusion range from the database.                         |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR                    | An error occurred while accessing the DHCP server database.                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E37 ERROR_DHCP_INVALID_RANGE                | The specified IPv4 range does not match an existing IPv4 range.                  |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E90 ERROR_SCOPE_RANGE_POLICY_RANGE_CONFLICT | An IP address range is configured for a policy in this scope. This operation     |
	//	|                                                    | cannot be performed on the scope IP address range until the policy IP address    |
	//	|                                                    | range is suitably modified.                                                      |
	//	+----------------------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 31.
	RemoveSubnetElementV4(context.Context, *RemoveSubnetElementV4Request) (*RemoveSubnetElementV4Response, error)

	// The R_DhcpCreateClientInfoV4 method sets/modifies the DHCPv4 client lease record
	// on the DHCPv4 server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+-------------------------------------------------------------+
	//	|             RETURN              |                                                             |
	//	|           VALUE/CODE            |                         DESCRIPTION                         |
	//	|                                 |                                                             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                    |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. |
	//	+---------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 32.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	CreateClientInfoV4(context.Context, *CreateClientInfoV4Request) (*CreateClientInfoV4Response, error)

	// The R_DhcpSetClientInfoV4 method sets/modifies the existing DHCPv4 client lease record
	// on the DHCPv4 server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCPv4 server database or the client entry |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 33.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetClientInfoV4(context.Context, *SetClientInfoV4Request) (*SetClientInfoV4Response, error)

	// The R_DhcpGetClientInfoV4 method retrieves the DHCPv4 client lease record information
	// from the DHCPv4 server database. The caller of this function can free the memory
	// pointed to by the ClientInfo parameter, by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database or the client entry   |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 34.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	GetClientInfoV4(context.Context, *GetClientInfoV4Request) (*GetClientInfoV4Response, error)

	// The R_DhcpEnumSubnetClientsV4 method is used to retrieve all DHCPv4 clients serviced
	// from the specified IPv4 subnet. This method returns the DHCPv4 clients from all IPv4
	// subnets if the subnet address specified zero. The caller of this function can free
	// the memory pointed to by the ClientInfo parameter and its member the Clients array
	// by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+-------------------------------------------------------------+
	//	|             RETURN              |                                                             |
	//	|           VALUE/CODE            |                         DESCRIPTION                         |
	//	|                                 |                                                             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                    |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA      | There are more elements available to enumerate.             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS  | There are no more elements left to enumerate.               |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. |
	//	+---------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 35.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	EnumSubnetClientsV4(context.Context, *EnumSubnetClientsV4Request) (*EnumSubnetClientsV4Response, error)

	// The R_DhcpSetSuperScopeV4 method adds, modifies, or deletes the IPv4 subnet to/from
	// the superscope information from the DHCPv4 server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+--------------------------------------------------------------+
	//	|                  RETURN                  |                                                              |
	//	|                VALUE/CODE                |                         DESCRIPTION                          |
	//	|                                          |                                                              |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                     |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database.  |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E24 ERROR_DHCP_SUBNET_EXITS       | The specified IPv4 subnet already exists.                    |
	//	+------------------------------------------+--------------------------------------------------------------+
	//
	// The opnum field value for this method is 36.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	SetSuperScopeV4(context.Context, *SetSuperScopeV4Request) (*SetSuperScopeV4Response, error)

	// The R_DhcpGetSuperScopeInfoV4 method retrieves all the superscope information from
	// the DHCPv4 server. The caller of this function can free the memory pointed to by
	// the SuperScopeTable parameter and its member the pEntries array by calling the function
	// midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 37.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetSuperScopeInfoV4(context.Context, *GetSuperScopeInfoV4Request) (*GetSuperScopeInfoV4Response, error)

	// The R_DhcpDeleteSuperScopeV4 method deletes the specified superscope from the DHCPv4
	// server.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+--------------------------------------------------------------+
	//	|                  RETURN                  |                                                              |
	//	|                VALUE/CODE                |                         DESCRIPTION                          |
	//	|                                          |                                                              |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                     |
	//	+------------------------------------------+--------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist on the DHCP server. |
	//	+------------------------------------------+--------------------------------------------------------------+
	//
	// The opnum field value for this method is 38.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	DeleteSuperScopeV4(context.Context, *DeleteSuperScopeV4Request) (*DeleteSuperScopeV4Response, error)

	// The R_DhcpServerSetConfigV4 method sets/modifies the DHCPv4 server settings.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully.
	// Otherwise, the return value contains a Win32 error code, as specified in [MS-ERREF].
	// This error code value can correspond to a DHCP-specific failure, which takes a value
	// between 20000 and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 39.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	ServerSetConfigV4(context.Context, *ServerSetConfigV4Request) (*ServerSetConfigV4Response, error)

	// The R_DhcpServerGetConfigV4 method retrieves the current DHCPv4 server setting. The
	// caller of this function can free the memory pointed to by the ConfigInfo parameter
	// by calling the function midl_user_free, specified in section 3.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 40.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	ServerGetConfigV4(context.Context, *ServerGetConfigV4Request) (*ServerGetConfigV4Response, error)

	// The R_DhcpServerSetConfigVQ method sets/modifies the DHCPv4 server settings.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully.
	// Otherwise, the return value contains a Win32 error code, as specified in [MS-ERREF].
	// This error code value can correspond to a DHCP-specific failure, which takes a value
	// between 20000 and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 41.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	ServerSetConfigVQ(context.Context, *ServerSetConfigVQRequest) (*ServerSetConfigVQResponse, error)

	// The R_DhcpServerGetConfigVQ method retrieves the current DHCPv4 server setting. The
	// caller of this function can free the memory pointed to by the ConfigInfo parameter
	// by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The opnum field value for this method is 42.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol specified in [MS-RPCE].
	ServerGetConfigVQ(context.Context, *ServerGetConfigVQRequest) (*ServerGetConfigVQResponse, error)

	// The R_DhcpGetMibInfoVQ method just returns ERROR_SUCCESS. It is never used.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+--------------------------+--------------------------+
	//	|          RETURN          |                          |
	//	|        VALUE/CODE        |       DESCRIPTION        |
	//	|                          |                          |
	//	+--------------------------+--------------------------+
	//	+--------------------------+--------------------------+
	//	| 0x00000000 ERROR_SUCCESS | The call was successful. |
	//	+--------------------------+--------------------------+
	//
	// The R_DhcpGetMibInfoVQ method returns only ERROR_SUCCESS. It is never used.
	//
	// The opnum field value for this method is 43.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetMIBInfoVQ(context.Context, *GetMIBInfoVQRequest) (*GetMIBInfoVQResponse, error)

	// The R_DhcpCreateClientInfoVQ method sets\modifies the DHCPv4 client lease record
	// on the DHCP server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+-------------------------------------------------------------+
	//	|             RETURN              |                                                             |
	//	|           VALUE/CODE            |                         DESCRIPTION                         |
	//	|                                 |                                                             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                    |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. |
	//	+---------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 44.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	CreateClientInfoVQ(context.Context, *CreateClientInfoVQRequest) (*CreateClientInfoVQResponse, error)

	// The R_DhcpSetClientInfoVQ method sets/modifies an existing DHCPv4 client lease record
	// on the DHCPv4 server database.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database or the client entry   |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 45.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetClientInfoVQ(context.Context, *SetClientInfoVQRequest) (*SetClientInfoVQResponse, error)

	// The R_DhcpGetClientInfoVQ method retrieves DHCPv4 client lease record information
	// from the DHCPv4 server database. The caller of this function can free the memory
	// pointed to by the ClientInfo parameter, by calling the function midl_user_free (section
	// 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	|             RETURN              |                                                                                  |
	//	|           VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                 |                                                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                                         |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database, or the client entry  |
	//	|                                 | is not present in the database.                                                  |
	//	+---------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 46.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetClientInfoVQ(context.Context, *GetClientInfoVQRequest) (*GetClientInfoVQResponse, error)

	// The R_DhcpEnumSubnetClientsVQ method is used to retrieve all DHCPv4 clients serviced
	// from the specified IPv4 subnet. This method returns DHCPv4 clients from all IPv4
	// subnets if the subnet address specified is zero. The caller of this function can
	// free the memory pointed to by the ClientInfo parameter and its member the Clients
	// array by calling the function midl_user_free (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+---------------------------------+-------------------------------------------------------------+
	//	|             RETURN              |                                                             |
	//	|           VALUE/CODE            |                         DESCRIPTION                         |
	//	|                                 |                                                             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS        | The call was successful.                                    |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x000000EA ERROR_MORE_DATA      | There are more elements available to enumerate.             |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00000103 ERROR_NO_MORE_ITEMS  | There are no more elements left to enumerate.               |
	//	+---------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR | An error occurred while accessing the DHCP server database. |
	//	+---------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 47.
	//
	// Exceptions Thrown: No exceptions SHOULD be thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	EnumSubnetClientsVQ(context.Context, *EnumSubnetClientsVQRequest) (*EnumSubnetClientsVQResponse, error)

	// The R_DhcpCreateSubnetVQ method is used to create the new IPv4 subnet along with
	// its NAP state on the DHCPv4 server. This method is an extension of R_DhcpCreateSubnet
	// (section 3.1.4.1).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	|               RETURN                |                                                                                  |
	//	|             VALUE/CODE              |                                   DESCRIPTION                                    |
	//	|                                     |                                                                                  |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS            | The call was successful.                                                         |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR     | An error occurred while accessing the DHCP server database.                      |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x00004E54 ERROR_DHCP_SUBNET_EXISTS | The IPv4 scope parameters are incorrect. Either the IPv4 scope already           |
	//	|                                     | exists, corresponding to the SubnetAddress and SubnetMask members of the         |
	//	|                                     | DHCP_SUBNET_INFO_VQ (section 2.2.1.2.45) structure, or there is a range overlap  |
	//	|                                     | of IPv4 addresses between those associated with the SubnetAddress and SubnetMask |
	//	|                                     | members of the new IPv4 scope and the subnet address and mask of an already      |
	//	|                                     | existing IPv4 scope.                                                             |
	//	+-------------------------------------+----------------------------------------------------------------------------------+
	//
	// The opnum field value for this method is 48.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	CreateSubnetVQ(context.Context, *CreateSubnetVQRequest) (*CreateSubnetVQResponse, error)

	// The R_DhcpGetSubnetInfoVQ method retrieves the information about a specific IPv4
	// subnet defined on the DHCPv4 server. This method is an extension of R_DhcpGetSubnetInfo
	// method in which the NAP state is not returned. The caller of this function can free
	// the memory pointed to by the SubnetInfoVQ parameter, by calling the function midl_user_free
	// (section 3).
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-------------------------------------------+
	//	|                  RETURN                  |                                           |
	//	|                VALUE/CODE                |                DESCRIPTION                |
	//	|                                          |                                           |
	//	+------------------------------------------+-------------------------------------------+
	//	+------------------------------------------+-------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                  |
	//	+------------------------------------------+-------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist. |
	//	+------------------------------------------+-------------------------------------------+
	//
	// The opnum field value for this method is 49.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	GetSubnetInfoVQ(context.Context, *GetSubnetInfoVQRequest) (*GetSubnetInfoVQResponse, error)

	// The R_DhcpSetSubnetInfoVQ method sets/modifies the information about an IPv4 subnet
	// defined on the DHCPv4 server. This method is an extension of the R_DhcpSetSubnetInfo
	// method in which NAP state is not set.
	//
	// Return Values: A 32-bit unsigned integer value that indicates return status. A return
	// value ERROR_SUCCESS (0x00000000) indicates that the operation was completed successfully,
	// else it contains a Win32 error code, as specified in [MS-ERREF]. This error code
	// value can correspond to a DHCP-specific failure, which takes a value between 20000
	// and 20099, or any generic failure.
	//
	//	+------------------------------------------+-------------------------------------------------------------+
	//	|                  RETURN                  |                                                             |
	//	|                VALUE/CODE                |                         DESCRIPTION                         |
	//	|                                          |                                                             |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00000000 ERROR_SUCCESS                 | The call was successful.                                    |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00004E25 ERROR_DHCP_SUBNET_NOT_PRESENT | The specified IPv4 subnet does not exist.                   |
	//	+------------------------------------------+-------------------------------------------------------------+
	//	| 0x00004E2D ERROR_DHCP_JET_ERROR          | An error occurred while accessing the DHCP server database. |
	//	+------------------------------------------+-------------------------------------------------------------+
	//
	// The opnum field value for this method is 50.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	SetSubnetInfoVQ(context.Context, *SetSubnetInfoVQRequest) (*SetSubnetInfoVQResponse, error)
}

dhcpsrv server interface.

type DeleteClientInfoRequest

type DeleteClientInfoRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is not
	// used.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ClientInfo: This is of type DHCP_SEARCH_INFO (section 2.2.1.2.18) structure, defining
	// the key to be used to search the DHCPv4 client lease record that needs to be deleted
	// on the DHCPv4 server. In case the SearchType member is DhcpClientName and there are
	// multiple lease records with the same ClientName member, the server will delete the
	// lease record for any of the clients with that client name.
	ClientInfo *dhcpm.SearchInfo `idl:"name:ClientInfo;pointer:ref" json:"client_info"`
}

DeleteClientInfoRequest structure represents the R_DhcpDeleteClientInfo operation request

func (*DeleteClientInfoRequest) MarshalNDR

func (o *DeleteClientInfoRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DeleteClientInfoRequest) UnmarshalNDR

func (o *DeleteClientInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteClientInfoResponse

type DeleteClientInfoResponse struct {
	// Return: The R_DhcpDeleteClientInfo return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

DeleteClientInfoResponse structure represents the R_DhcpDeleteClientInfo operation response

func (*DeleteClientInfoResponse) MarshalNDR

func (o *DeleteClientInfoResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DeleteClientInfoResponse) UnmarshalNDR

func (o *DeleteClientInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteSubnetRequest

type DeleteSubnetRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), uniquely identifying
	// the IPv4 subnet that needs to be removed from the DHCPv4 server.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// ForceFlag: This is of type DHCP_FORCE_FLAG (section 2.2.1.1.9) enumeration. If the
	// flag is set to DhcpNoForce and an IPv4 address from this subnet has been served to
	// some DHCPv4/BOOTP client, the IPv4 subnet is not deleted; if the flag is set to DhcpFullForce,
	// the IPv4 subnet is deleted along with the DHCPv4 client lease record on the DHCPv4
	// server; if the flag is set to DhcpFailoverForce, the IPv4 subnet is deleted along
	// with the DHCPv4 client lease record on the DHCPv4 server but the DNS resource records
	// corresponding to the DHCPv4 client lease records are not deleted from the DNS server.
	ForceFlag dhcpm.ForceFlag `idl:"name:ForceFlag" json:"force_flag"`
}

DeleteSubnetRequest structure represents the R_DhcpDeleteSubnet operation request

func (*DeleteSubnetRequest) MarshalNDR

func (o *DeleteSubnetRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DeleteSubnetRequest) UnmarshalNDR

func (o *DeleteSubnetRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteSubnetResponse

type DeleteSubnetResponse struct {
	// Return: The R_DhcpDeleteSubnet return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

DeleteSubnetResponse structure represents the R_DhcpDeleteSubnet operation response

func (*DeleteSubnetResponse) MarshalNDR

func (o *DeleteSubnetResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DeleteSubnetResponse) UnmarshalNDR

func (o *DeleteSubnetResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteSuperScopeV4Request

type DeleteSuperScopeV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SuperScopeName: This is a pointer to WCHAR that points to the name of the superscope
	// that needs to be deleted.
	SuperScopeName string `idl:"name:SuperScopeName;string;pointer:ref" json:"super_scope_name"`
}

DeleteSuperScopeV4Request structure represents the R_DhcpDeleteSuperScopeV4 operation request

func (*DeleteSuperScopeV4Request) MarshalNDR

func (o *DeleteSuperScopeV4Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DeleteSuperScopeV4Request) UnmarshalNDR

func (o *DeleteSuperScopeV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type DeleteSuperScopeV4Response

type DeleteSuperScopeV4Response struct {
	// Return: The R_DhcpDeleteSuperScopeV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

DeleteSuperScopeV4Response structure represents the R_DhcpDeleteSuperScopeV4 operation response

func (*DeleteSuperScopeV4Response) MarshalNDR

func (o *DeleteSuperScopeV4Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DeleteSuperScopeV4Response) UnmarshalNDR

func (o *DeleteSuperScopeV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumOptionValuesRequest

type EnumOptionValuesRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure
	// that contains information describing the level (that is, default, server, scope,
	// multicast scope, or IPv4 reservation level) at which the option values are enumerated
	// on.
	ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo;pointer:ref" json:"scope_info"`
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies whether the enumeration operation is a continuation of a previous operation.
	// Initially, this value MUST be set to zero, with a successful call returning the handle
	// value used for subsequent enumeration requests. For example, if the PreferredMaximum
	// parameter is set to 1,000 bytes, and 2,000 bytes worth of option values are stored
	// on the DHCPv4 server, the resume handle can be used after the first 1,000 bytes are
	// retrieved to obtain the next 1,000 on a subsequent call, and so forth.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// PreferredMaximum: This is of type DWORD, specifying the preferred maximum number
	// of bytes to return. If the number of remaining unenumerated option values (in bytes)
	// is less than this value, all option values are returned. To retrieve all the option
	// values for the default user class and vendor class at the desired level, 0xFFFFFFFF
	// is specified.
	PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"`
}

EnumOptionValuesRequest structure represents the R_DhcpEnumOptionValues operation request

func (*EnumOptionValuesRequest) MarshalNDR

func (o *EnumOptionValuesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumOptionValuesRequest) UnmarshalNDR

func (o *EnumOptionValuesRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumOptionValuesResponse

type EnumOptionValuesResponse struct {
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies whether the enumeration operation is a continuation of a previous operation.
	// Initially, this value MUST be set to zero, with a successful call returning the handle
	// value used for subsequent enumeration requests. For example, if the PreferredMaximum
	// parameter is set to 1,000 bytes, and 2,000 bytes worth of option values are stored
	// on the DHCPv4 server, the resume handle can be used after the first 1,000 bytes are
	// retrieved to obtain the next 1,000 on a subsequent call, and so forth.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// OptionValues: This is a pointer of type LPDHCP_OPTION_VALUE_ARRAY in which all the
	// option values for the default user class and vendor class are retrieved at a specific
	// level (that is, default, server, scope, multicast scope, or IPv4 reservation level)
	// corresponding to the ScopeInfo parameter.
	OptionValues *dhcpm.OptionValueArray `idl:"name:OptionValues" json:"option_values"`
	// OptionsRead: This is a pointer to a DWORD value that specifies the number of option
	// values read in the OptionValues parameter. The caller MUST allocate memory for this
	// parameter equal to the size of data type DWORD.
	OptionsRead uint32 `idl:"name:OptionsRead" json:"options_read"`
	// OptionsTotal: This is a pointer to a DWORD value that specifies the number of option
	// values that have not yet been read. The caller MUST allocate memory for this parameter
	// equal to the size of data type DWORD.
	OptionsTotal uint32 `idl:"name:OptionsTotal" json:"options_total"`
	// Return: The R_DhcpEnumOptionValues return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

EnumOptionValuesResponse structure represents the R_DhcpEnumOptionValues operation response

func (*EnumOptionValuesResponse) MarshalNDR

func (o *EnumOptionValuesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumOptionValuesResponse) UnmarshalNDR

func (o *EnumOptionValuesResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumOptionsRequest

type EnumOptionsRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies the enumeration operation. Initially, this value MUST be set to zero,
	// with a successful call returning the handle value used for subsequent enumeration
	// requests. For example, if the PreferredMaximum parameter is set to 1,000 bytes, and
	// 2,000 bytes worth of option definitions are stored on the DHCPv4 server, the resume
	// handle can be used after the first 1,000 bytes are retrieved to obtain the next 1,000
	// on a subsequent call, and so forth.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// PreferredMaximum: This is of type DWORD, specifying the preferred maximum number
	// of bytes to return. If the number of remaining unenumerated option definitions (in
	// bytes) is less than this value, all option definitions are returned. To retrieve
	// all the option definitions defined for a default user class and vendor class on the
	// DHCPv4 server, 0xFFFFFFFF is specified.
	PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"`
}

EnumOptionsRequest structure represents the R_DhcpEnumOptions operation request

func (*EnumOptionsRequest) MarshalNDR

func (o *EnumOptionsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumOptionsRequest) UnmarshalNDR

func (o *EnumOptionsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumOptionsResponse

type EnumOptionsResponse struct {
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies the enumeration operation. Initially, this value MUST be set to zero,
	// with a successful call returning the handle value used for subsequent enumeration
	// requests. For example, if the PreferredMaximum parameter is set to 1,000 bytes, and
	// 2,000 bytes worth of option definitions are stored on the DHCPv4 server, the resume
	// handle can be used after the first 1,000 bytes are retrieved to obtain the next 1,000
	// on a subsequent call, and so forth.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// Options: This is a pointer of type LPDHCP_OPTION_ARRAY that points to the location
	// where all the option definitions for the default user class and vendor class are
	// retrieved from the DHCPv4 server.
	Options *dhcpm.OptionArray `idl:"name:Options" json:"options"`
	// OptionsRead: This is a pointer to a DWORD value that specifies the number of option
	// definitions read in the Options parameter. The caller MUST allocate memory for this
	// parameter equal to the size of data type DWORD.
	OptionsRead uint32 `idl:"name:OptionsRead" json:"options_read"`
	// OptionsTotal: This is a pointer to a DWORD value that specifies the number of option
	// definitions that have not yet been enumerated. The caller MUST allocate memory for
	// this parameter that is equal to the size of data type DWORD.
	OptionsTotal uint32 `idl:"name:OptionsTotal" json:"options_total"`
	// Return: The R_DhcpEnumOptions return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

EnumOptionsResponse structure represents the R_DhcpEnumOptions operation response

func (*EnumOptionsResponse) MarshalNDR

func (o *EnumOptionsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumOptionsResponse) UnmarshalNDR

func (o *EnumOptionsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetClientsRequest

type EnumSubnetClientsRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), containing the
	// IPv4 subnet ID from which DHCPv4 clients are enumerated. If this parameter is set
	// to 0, the DHCPv4 clients from all the IPv4 subnets are returned.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies the enumeration operation. Initially, this value MUST be set to zero,
	// with a successful call returning the handle value used for subsequent enumeration
	// requests. This field contains the last IPv4 address retrieved.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// PreferredMaximum: This is of type DWORD, specifying the preferred maximum number
	// of bytes to return. The minimum value is 1,024 bytes (1 kilobyte), and the maximum
	// value is 65,536 bytes (64 kilobytes). If the input value is greater or less than
	// this range, it MUST be set to the maximum or minimum value, respectively. To retrieve
	// all the DHCPv4 clients serviced on the specific IPv4 subnet, 0xFFFFFFFF is specified.
	PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"`
}

EnumSubnetClientsRequest structure represents the R_DhcpEnumSubnetClients operation request

func (*EnumSubnetClientsRequest) MarshalNDR

func (o *EnumSubnetClientsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumSubnetClientsRequest) UnmarshalNDR

func (o *EnumSubnetClientsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetClientsResponse

type EnumSubnetClientsResponse struct {
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies the enumeration operation. Initially, this value MUST be set to zero,
	// with a successful call returning the handle value used for subsequent enumeration
	// requests. This field contains the last IPv4 address retrieved.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// ClientInfo: This is a pointer of type LPDHCP_CLIENT_INFO_ARRAY that points to the
	// location which contains the DHCPv4 client lease record array.
	ClientInfo *dhcpm.ClientInfoArray `idl:"name:ClientInfo" json:"client_info"`
	// ClientsRead: This is a pointer to a DWORD that specifies the number of DHCPv4 client
	// lease records read in the ClientInfo parameter. The caller MUST allocate memory for
	// this parameter equal to the size of data type DWORD.
	ClientsRead uint32 `idl:"name:ClientsRead" json:"clients_read"`
	// ClientsTotal: This is a pointer to a DWORD that specifies the number of DHCPv4 client
	// lease records remaining from the current position. For example, if there are 100
	// DHCPv4 lease record clients for an IPv4 subnet, and if 10 DHCPv4 lease records are
	// enumerated per call, then for the first time this would have a value of 90.<31> The
	// caller MUST allocate memory for this parameter equal to the size of data type DWORD.
	ClientsTotal uint32 `idl:"name:ClientsTotal" json:"clients_total"`
	// Return: The R_DhcpEnumSubnetClients return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

EnumSubnetClientsResponse structure represents the R_DhcpEnumSubnetClients operation response

func (*EnumSubnetClientsResponse) MarshalNDR

func (o *EnumSubnetClientsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumSubnetClientsResponse) UnmarshalNDR

func (o *EnumSubnetClientsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetClientsV4Request

type EnumSubnetClientsV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), containing the
	// IPv4 subnet ID from which DHCPv4 clients are enumerated. If this parameter is set
	// to 0, the DHCPv4 clients from all the IPv4 subnets are returned.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies the enumeration operation. Initially, this value MUST be set to zero,
	// with a successful call returning the handle value used for subsequent enumeration
	// requests. This field contains the last IPv4 address retrieved.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// PreferredMaximum: This is of type DWORD, specifying the preferred maximum number
	// of bytes to return. The minimum value is 1,024 bytes (1 kilobyte), and the maximum
	// value is 65,536 bytes (64 kilobytes); if the input value is greater or less than
	// this range, it MUST be set to the maximum or minimum value, respectively. To retrieve
	// all the DHCPv4 clients serviced from a specific IPv4 subnet, 0xFFFFFFFF is specified.
	PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"`
}

EnumSubnetClientsV4Request structure represents the R_DhcpEnumSubnetClientsV4 operation request

func (*EnumSubnetClientsV4Request) MarshalNDR

func (o *EnumSubnetClientsV4Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumSubnetClientsV4Request) UnmarshalNDR

func (o *EnumSubnetClientsV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetClientsV4Response

type EnumSubnetClientsV4Response struct {
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies the enumeration operation. Initially, this value MUST be set to zero,
	// with a successful call returning the handle value used for subsequent enumeration
	// requests. This field contains the last IPv4 address retrieved.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// ClientInfo: This is a pointer of type LPDHCP_CLIENT_INFO_ARRAY_V4 that points to
	// the location that contains the DHCPv4 client lease record array.
	ClientInfo *dhcpm.ClientInfoArrayV4 `idl:"name:ClientInfo" json:"client_info"`
	// ClientsRead: This is a pointer to a DWORD that specifies the number of DHCPv4 client
	// lease records read in the ClientInfo parameter. The caller MUST allocate memory for
	// this parameter equal to the size of data type DWORD.
	ClientsRead uint32 `idl:"name:ClientsRead" json:"clients_read"`
	// ClientsTotal: This is a pointer to a DWORD that specifies the number of DHCPv4 client
	// lease records remaining from the current position. For example, if there are 100
	// DHCPv4 lease record clients for an IPv4 subnet, and if 10 DHCPv4 lease records are
	// enumerated per call, then for the first time this would have a value of 90.<37> The
	// caller MUST allocate memory for this parameter equal to the size of data type DWORD.
	ClientsTotal uint32 `idl:"name:ClientsTotal" json:"clients_total"`
	// Return: The R_DhcpEnumSubnetClientsV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

EnumSubnetClientsV4Response structure represents the R_DhcpEnumSubnetClientsV4 operation response

func (*EnumSubnetClientsV4Response) MarshalNDR

func (*EnumSubnetClientsV4Response) UnmarshalNDR

func (o *EnumSubnetClientsV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetClientsVQRequest

type EnumSubnetClientsVQRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) that contains
	// the IPv4 subnet ID from which DHCPv4 clients are enumerated. If this parameter is
	// set to 0, the DHCPv4 clients from all the IPv4 subnets are returned.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies the enumeration operation. Initially, this value MUST be set to zero,
	// with a successful call returning the handle value used for subsequent enumeration
	// requests. This field contains the last IPv4 address retrieved.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// PreferredMaximum: This is of type DWORD, specifying the preferred maximum number
	// of bytes to return. The minimum value is 1,024 bytes (1 kilobyte), and the maximum
	// value is 65,536 bytes (64 kilobytes); if the input value is greater or less than
	// this range, it MUST be set to the maximum or minimum value, respectively. To retrieve
	// all the DHCPv4 clients serviced by a specific IPv4 subnet, 0xFFFFFFFF is specified.
	PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"`
}

EnumSubnetClientsVQRequest structure represents the R_DhcpEnumSubnetClientsVQ operation request

func (*EnumSubnetClientsVQRequest) MarshalNDR

func (o *EnumSubnetClientsVQRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumSubnetClientsVQRequest) UnmarshalNDR

func (o *EnumSubnetClientsVQRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetClientsVQResponse

type EnumSubnetClientsVQResponse struct {
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies the enumeration operation. Initially, this value MUST be set to zero,
	// with a successful call returning the handle value used for subsequent enumeration
	// requests. This field contains the last IPv4 address retrieved.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// ClientInfo: This is a pointer of type LPDHCP_CLIENT_INFO_ARRAY_VQ that points to
	// the location that contains the DHCPv4 client lease record array.
	ClientInfo *dhcpm.ClientInfoArrayVQ `idl:"name:ClientInfo" json:"client_info"`
	// ClientsRead: This is a pointer to a DWORD that specifies the number of DHCPv4 client
	// lease records read in the ClientInfo parameter. The caller MUST allocate memory for
	// this parameter equal to the size of data type DWORD.
	ClientsRead uint32 `idl:"name:ClientsRead" json:"clients_read"`
	// ClientsTotal: This is a pointer to a DWORD that specifies the number of DHCPv4 client
	// lease records remaining from the current position. For example, if there are 100
	// DHCPv4 lease record clients for an IPv4 subnet, and if 10 DHCPv4 lease records are
	// enumerated per call, then for the first time this would have a value of 90.<42> The
	// caller MUST allocate memory for this parameter equal to the size of data type DWORD.
	ClientsTotal uint32 `idl:"name:ClientsTotal" json:"clients_total"`
	// Return: The R_DhcpEnumSubnetClientsVQ return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

EnumSubnetClientsVQResponse structure represents the R_DhcpEnumSubnetClientsVQ operation response

func (*EnumSubnetClientsVQResponse) MarshalNDR

func (*EnumSubnetClientsVQResponse) UnmarshalNDR

func (o *EnumSubnetClientsVQResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetElementsRequest

type EnumSubnetElementsRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), containing the
	// IPv4 subnet ID from which subnet elements are enumerated.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// EnumElementType: This is of type DHCP_SUBNET_ELEMENT_TYPE (section 2.2.1.1.7) enumeration,
	// indicating the type of IPv4 subnet element to enumerate.
	EnumElementType dhcpm.SubnetElementType `idl:"name:EnumElementType" json:"enum_element_type"`
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) a
	// DWORD that identifies the enumeration operation. Initially, this value MUST be set
	// to zero, with a successful call returning the handle value used for subsequent enumeration
	// requests. For example, if the PreferredMaximum parameter is set to 1,000 bytes, and
	// 2,000 bytes worth of IPv4 subnet elements are stored on the DHCPv4 server, the resume
	// handle can be used after the first 1,000 bytes are retrieved to obtain the next 1,000
	// on a subsequent call, and so forth.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// PreferredMaximum: This is of type DWORD that specifies the preferred maximum number
	// of bytes to return. If the number of remaining unenumerated subnet elements (in bytes)
	// is less than this value, all IPv4 subnet elements for a specific type are returned.
	// To retrieve all the IPv4 subnet elements of a specific type, 0xFFFFFFFF is specified.
	PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"`
}

EnumSubnetElementsRequest structure represents the R_DhcpEnumSubnetElements operation request

func (*EnumSubnetElementsRequest) MarshalNDR

func (o *EnumSubnetElementsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumSubnetElementsRequest) UnmarshalNDR

func (o *EnumSubnetElementsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetElementsResponse

type EnumSubnetElementsResponse struct {
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) a
	// DWORD that identifies the enumeration operation. Initially, this value MUST be set
	// to zero, with a successful call returning the handle value used for subsequent enumeration
	// requests. For example, if the PreferredMaximum parameter is set to 1,000 bytes, and
	// 2,000 bytes worth of IPv4 subnet elements are stored on the DHCPv4 server, the resume
	// handle can be used after the first 1,000 bytes are retrieved to obtain the next 1,000
	// on a subsequent call, and so forth.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// EnumElementInfo: This is a pointer of type LPDHCP_SUBNET_ELEMENT_INFO_ARRAY in which
	// an IPv4 subnet element of type EnumElementType is returned for a specific IPv4 subnet
	// SubnetAddress. If no IPv4 subnet element of a specific type is available for enumeration,
	// this value is null.
	EnumElementInfo *dhcpm.SubnetElementInfoArray `idl:"name:EnumElementInfo" json:"enum_element_info"`
	// ElementsRead: This is a pointer to a DWORD value that specifies the number of IPv4
	// subnet elements read in the EnumElementInfo parameter for a specific type of IPv4
	// subnet element. The caller MUST allocate memory for this parameter equal to the size
	// of data type DWORD.
	ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"`
	// ElementsTotal: This is a pointer to a DWORD value that specifies the number of IPv4
	// subnet elements of a specific type from a specific IPv4 subnet that are not yet enumerated
	// with respect to the resume handle that is returned. The caller MUST allocate memory
	// for this parameter equal to the size of data type DWORD.
	ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"`
	// Return: The R_DhcpEnumSubnetElements return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

EnumSubnetElementsResponse structure represents the R_DhcpEnumSubnetElements operation response

func (*EnumSubnetElementsResponse) MarshalNDR

func (o *EnumSubnetElementsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumSubnetElementsResponse) UnmarshalNDR

func (o *EnumSubnetElementsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetElementsV4Request

type EnumSubnetElementsV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS, containing the IPv4 subnet ID from
	// which subnet elements are enumerated.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// EnumElementType: This is of type DHCP_SUBNET_ELEMENT_TYPE (section 2.2.1.1.7) enumeration
	// value, indicating the type of IPv4 subnet element to enumerate.
	EnumElementType dhcpm.SubnetElementType `idl:"name:EnumElementType" json:"enum_element_type"`
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies the enumeration operation. Initially, this value MUST be set to zero,
	// with a successful call returning the handle value used for subsequent enumeration
	// requests. For example, if the PreferredMaximum parameter is set to 1,000 bytes, and
	// 2,000 bytes worth of IPv4 subnet elements are stored on the DHCPv4 server, the resume
	// handle can be used after the first 1,000 bytes are retrieved to obtain the next 1,000
	// on a subsequent call, and so forth.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// PreferredMaximum: This is of type DWORD, specifying the preferred maximum number
	// of bytes to return. If the number of remaining un-enumerated subnet elements (in
	// bytes) is less than this value, all IPv4 subnet elements for the specific type are
	// returned. To retrieve all the IPv4 subnet elements of a specific type, 0xFFFFFFFF
	// is specified.
	PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"`
}

EnumSubnetElementsV4Request structure represents the R_DhcpEnumSubnetElementsV4 operation request

func (*EnumSubnetElementsV4Request) MarshalNDR

func (*EnumSubnetElementsV4Request) UnmarshalNDR

func (o *EnumSubnetElementsV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetElementsV4Response

type EnumSubnetElementsV4Response struct {
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6) that
	// identifies the enumeration operation. Initially, this value MUST be set to zero,
	// with a successful call returning the handle value used for subsequent enumeration
	// requests. For example, if the PreferredMaximum parameter is set to 1,000 bytes, and
	// 2,000 bytes worth of IPv4 subnet elements are stored on the DHCPv4 server, the resume
	// handle can be used after the first 1,000 bytes are retrieved to obtain the next 1,000
	// on a subsequent call, and so forth.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// EnumElementInfo: This is a pointer of type LPDHCP_SUBNET_ELEMENT_INFO_ARRAY_V4 in
	// which an IPv4 subnet element of type EnumElementType is returned for a specific IPv4
	// subnet SubnetAddress. If no IPv4 subnet element of the specific type is available
	// for enumeration, this value is null. The caller is responsible for freeing this memory.
	EnumElementInfo *dhcpm.SubnetElementInfoArrayV4 `idl:"name:EnumElementInfo" json:"enum_element_info"`
	// ElementsRead: This is a pointer to a DWORD value that specifies the number of IPv4
	// subnet elements read in the EnumElementInfo parameter for a specific type of IPv4
	// subnet element. The caller MUST allocate memory for this parameter equal to the size
	// of DWORD data type.
	ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"`
	// ElementsTotal: This is a pointer to a DWORD value that specifies the number of IPv4
	// subnet elements of a specific type from a specific IPv4 subnet that are not yet enumerated
	// with respect to the resume handle that is returned. The caller MUST allocate memory
	// for this parameter equal to the size of DWORD data type.
	ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"`
	// Return: The R_DhcpEnumSubnetElementsV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

EnumSubnetElementsV4Response structure represents the R_DhcpEnumSubnetElementsV4 operation response

func (*EnumSubnetElementsV4Response) MarshalNDR

func (*EnumSubnetElementsV4Response) UnmarshalNDR

func (o *EnumSubnetElementsV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetsRequest

type EnumSubnetsRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6), a
	// DWORD that identifies the enumeration operation. Initially, this value MUST be set
	// to zero, with a successful call returning the handle value used for subsequent enumeration
	// requests. For example, if PreferredMaximum is set to 100, and 200 IPv4 subnet addresses
	// are stored on the DHCPv4 server, the resume handle can be used after the first 100
	// IPv4 subnets are retrieved to obtain the next 100 on a subsequent call.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// PreferredMaximum: This is of type DWORD, specifying the preferred maximum number
	// of IPv4 subnet addresses to return. If the number of remaining unenumerated IPv4
	// subnets is less than this value, all the IPv4 subnets configured on DHCPv4 server
	// are returned. To retrieve all the IPv4 subnets defined on the DHCPv4 server, 0xFFFFFFFF
	// is specified.
	PreferredMaximum uint32 `idl:"name:PreferredMaximum" json:"preferred_maximum"`
}

EnumSubnetsRequest structure represents the R_DhcpEnumSubnets operation request

func (*EnumSubnetsRequest) MarshalNDR

func (o *EnumSubnetsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumSubnetsRequest) UnmarshalNDR

func (o *EnumSubnetsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EnumSubnetsResponse

type EnumSubnetsResponse struct {
	// ResumeHandle: This is a pointer of type DHCP_RESUME_HANDLE (section 2.2.1.2.6), a
	// DWORD that identifies the enumeration operation. Initially, this value MUST be set
	// to zero, with a successful call returning the handle value used for subsequent enumeration
	// requests. For example, if PreferredMaximum is set to 100, and 200 IPv4 subnet addresses
	// are stored on the DHCPv4 server, the resume handle can be used after the first 100
	// IPv4 subnets are retrieved to obtain the next 100 on a subsequent call.
	Resume uint32 `idl:"name:ResumeHandle" json:"resume"`
	// EnumInfo: This is a pointer of type LPDHCP_IP_ARRAY that points to the location in
	// which the IPv4 subnet configured on the DHCPv4 server is returned.
	EnumInfo *dhcpm.IPArray `idl:"name:EnumInfo" json:"enum_info"`
	// ElementsRead: This is a pointer to a DWORD value that specifies the number of IPv4
	// subnet addresses returned in EnumInfo. The caller MUST allocate memory for this parameter
	// equal to the size of data type DWORD.
	ElementsRead uint32 `idl:"name:ElementsRead" json:"elements_read"`
	// ElementsTotal: This is a pointer to a DWORD value that specifies the number of IPv4
	// subnets defined on the DHCPv4 server that have not yet been enumerated with respect
	// to the resume handle that is returned. The caller MUST allocate memory for this parameter
	// equal to the size of data type DWORD.
	ElementsTotal uint32 `idl:"name:ElementsTotal" json:"elements_total"`
	// Return: The R_DhcpEnumSubnets return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

EnumSubnetsResponse structure represents the R_DhcpEnumSubnets operation response

func (*EnumSubnetsResponse) MarshalNDR

func (o *EnumSubnetsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EnumSubnetsResponse) UnmarshalNDR

func (o *EnumSubnetsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetClientInfoRequest

type GetClientInfoRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SearchInfo: This is a pointer of type DHCP_SEARCH_INFO (section 2.2.1.2.18) structure
	// that defines the key to be used to search the DHCPv4 client lease record on the DHCPv4
	// server. In case the SearchType member is DhcpClientName and there are multiple lease
	// records with the same ClientName, the server will return client information for the
	// client having the lowest numerical IP address.
	SearchInfo *dhcpm.SearchInfo `idl:"name:SearchInfo;pointer:ref" json:"search_info"`
}

GetClientInfoRequest structure represents the R_DhcpGetClientInfo operation request

func (*GetClientInfoRequest) MarshalNDR

func (o *GetClientInfoRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetClientInfoRequest) UnmarshalNDR

func (o *GetClientInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetClientInfoResponse

type GetClientInfoResponse struct {
	// ClientInfo: This is a pointer of type LPDHCP_CLIENT_INFO that points to the location
	// in which specific DHCPv4 client lease record information is retrieved. The ClientHardwareAddress
	// member represents a DHCPv4 client unique ID (section 2.2.1.2.5.2)
	ClientInfo *dhcpm.ClientInfo `idl:"name:ClientInfo" json:"client_info"`
	// Return: The R_DhcpGetClientInfo return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetClientInfoResponse structure represents the R_DhcpGetClientInfo operation response

func (*GetClientInfoResponse) MarshalNDR

func (o *GetClientInfoResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetClientInfoResponse) UnmarshalNDR

func (o *GetClientInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetClientInfoV4Request

type GetClientInfoV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SearchInfo: This is a pointer of type DHCP_SEARCH_INFO (section 2.2.1.2.18) structure
	// that defines the key to be used to search the DHCPv4 client lease record on the DHCPv4
	// server. In case the SearchType member is DhcpClientName and there are multiple lease
	// records with the same ClientName, the server will return client information for the
	// client having the lowest numerical IP address.
	SearchInfo *dhcpm.SearchInfo `idl:"name:SearchInfo;pointer:ref" json:"search_info"`
}

GetClientInfoV4Request structure represents the R_DhcpGetClientInfoV4 operation request

func (*GetClientInfoV4Request) MarshalNDR

func (o *GetClientInfoV4Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetClientInfoV4Request) UnmarshalNDR

func (o *GetClientInfoV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetClientInfoV4Response

type GetClientInfoV4Response struct {
	// ClientInfo: This is a pointer of type LPDHCP_CLIENT_INFO_V4 that points to the location
	// to which a specific DHCPv4 client lease record is retrieved. The caller is responsible
	// for freeing this memory. The ClientHardwareAddress member represents a DHCPv4 client
	// unique ID (section 2.2.1.2.5.2).
	ClientInfo *dhcpm.ClientInfoV4 `idl:"name:ClientInfo" json:"client_info"`
	// Return: The R_DhcpGetClientInfoV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetClientInfoV4Response structure represents the R_DhcpGetClientInfoV4 operation response

func (*GetClientInfoV4Response) MarshalNDR

func (o *GetClientInfoV4Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetClientInfoV4Response) UnmarshalNDR

func (o *GetClientInfoV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetClientInfoVQRequest

type GetClientInfoVQRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SearchInfo: This is a pointer of type DHCP_SEARCH_INFO (section 2.2.1.2.18) structure
	// that defines the key to be used to search the DHCPv4 client lease record on the DHCPv4
	// server. In case the SearchType member is DhcpClientName and there are multiple lease
	// records with the same ClientName member, the server will return client information
	// for the client having the lowest numerical IP address.
	SearchInfo *dhcpm.SearchInfo `idl:"name:SearchInfo;pointer:ref" json:"search_info"`
}

GetClientInfoVQRequest structure represents the R_DhcpGetClientInfoVQ operation request

func (*GetClientInfoVQRequest) MarshalNDR

func (o *GetClientInfoVQRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetClientInfoVQRequest) UnmarshalNDR

func (o *GetClientInfoVQRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetClientInfoVQResponse

type GetClientInfoVQResponse struct {
	// ClientInfo: This is a pointer of type LPDHCP_CLIENT_INFO_VQ that points to the location
	// in which specific DHCPv4 client lease record information is retrieved. The caller
	// can free up this buffer after using this. The ClientHardwareAddress member represents
	// a DHCPv4 client unique ID (section 2.2.1.2.5.2).
	ClientInfo *dhcpm.ClientInfoVQ `idl:"name:ClientInfo" json:"client_info"`
	// Return: The R_DhcpGetClientInfoVQ return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetClientInfoVQResponse structure represents the R_DhcpGetClientInfoVQ operation response

func (*GetClientInfoVQResponse) MarshalNDR

func (o *GetClientInfoVQResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetClientInfoVQResponse) UnmarshalNDR

func (o *GetClientInfoVQResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetClientOptionsRequest

type GetClientOptionsRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ClientIpAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1). Currently it
	// is not used, and any value set to this parameter will not affect the behavior of
	// this method.
	ClientIPAddress uint32 `idl:"name:ClientIpAddress" json:"client_ip_address"`
	// ClientSubnetMask: This is of type DHCP_IP_MASK (section 2.2.1.2.2). Currently it
	// is not used, and any value set to this parameter will not affect the behavior of
	// this method.
	ClientSubnetMask uint32 `idl:"name:ClientSubnetMask" json:"client_subnet_mask"`
}

GetClientOptionsRequest structure represents the R_DhcpGetClientOptions operation request

func (*GetClientOptionsRequest) MarshalNDR

func (o *GetClientOptionsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetClientOptionsRequest) UnmarshalNDR

func (o *GetClientOptionsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetClientOptionsResponse

type GetClientOptionsResponse struct {
	// ClientOptions: This is a pointer of type LPDHCP_OPTION_LIST. Currently it is not
	// used, and any value set to this parameter will not affect the behavior of this method.
	ClientOptions *dhcpm.OptionList `idl:"name:ClientOptions" json:"client_options"`
	// Return: The R_DhcpGetClientOptions return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetClientOptionsResponse structure represents the R_DhcpGetClientOptions operation response

func (*GetClientOptionsResponse) MarshalNDR

func (o *GetClientOptionsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetClientOptionsResponse) UnmarshalNDR

func (o *GetClientOptionsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetMIBInfoRequest

type GetMIBInfoRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
}

GetMIBInfoRequest structure represents the R_DhcpGetMibInfo operation request

func (*GetMIBInfoRequest) MarshalNDR

func (o *GetMIBInfoRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetMIBInfoRequest) UnmarshalNDR

func (o *GetMIBInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetMIBInfoResponse

type GetMIBInfoResponse struct {
	// MibInfo: This is a pointer of type LPDHCP_MIB_INFO that points to the location that
	// contains DHCPv4 server statistics.
	MIBInfo *dhcpm.MIBInfo `idl:"name:MibInfo" json:"mib_info"`
	// Return: The R_DhcpGetMibInfo return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetMIBInfoResponse structure represents the R_DhcpGetMibInfo operation response

func (*GetMIBInfoResponse) MarshalNDR

func (o *GetMIBInfoResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetMIBInfoResponse) UnmarshalNDR

func (o *GetMIBInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetMIBInfoVQRequest

type GetMIBInfoVQRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
}

GetMIBInfoVQRequest structure represents the R_DhcpGetMibInfoVQ operation request

func (*GetMIBInfoVQRequest) MarshalNDR

func (o *GetMIBInfoVQRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetMIBInfoVQRequest) UnmarshalNDR

func (o *GetMIBInfoVQRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetMIBInfoVQResponse

type GetMIBInfoVQResponse struct {
	// MibInfo: This is a pointer of type LPDHCP_MIB_INFO_VQ that points to the location
	// that contains the MIB information of the DHCPv4 server.
	MIBInfo *dhcpm.MIBInfoVQ `idl:"name:MibInfo" json:"mib_info"`
	// Return: The R_DhcpGetMibInfoVQ return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetMIBInfoVQResponse structure represents the R_DhcpGetMibInfoVQ operation response

func (*GetMIBInfoVQResponse) MarshalNDR

func (o *GetMIBInfoVQResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetMIBInfoVQResponse) UnmarshalNDR

func (o *GetMIBInfoVQResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetOptionInfoRequest

type GetOptionInfoRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option
	// identifier for the option being retrieved.
	OptionID uint32 `idl:"name:OptionID" json:"option_id"`
}

GetOptionInfoRequest structure represents the R_DhcpGetOptionInfo operation request

func (*GetOptionInfoRequest) MarshalNDR

func (o *GetOptionInfoRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetOptionInfoRequest) UnmarshalNDR

func (o *GetOptionInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetOptionInfoResponse

type GetOptionInfoResponse struct {
	// OptionInfo: This is a pointer of type LPDHCP_OPTION.
	OptionInfo *dhcpm.Option `idl:"name:OptionInfo" json:"option_info"`
	// Return: The R_DhcpGetOptionInfo return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetOptionInfoResponse structure represents the R_DhcpGetOptionInfo operation response

func (*GetOptionInfoResponse) MarshalNDR

func (o *GetOptionInfoResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetOptionInfoResponse) UnmarshalNDR

func (o *GetOptionInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetOptionValueRequest

type GetOptionValueRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option
	// identifier for the option being retrieved.
	OptionID uint32 `idl:"name:OptionID" json:"option_id"`
	// ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure
	// that contains information describing the level (that is, default, server, scope,
	// multicast scope, or reservation level) from which the option value is retrieved.
	ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo;pointer:ref" json:"scope_info"`
}

GetOptionValueRequest structure represents the R_DhcpGetOptionValue operation request

func (*GetOptionValueRequest) MarshalNDR

func (o *GetOptionValueRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetOptionValueRequest) UnmarshalNDR

func (o *GetOptionValueRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetOptionValueResponse

type GetOptionValueResponse struct {
	// OptionValue: This is a pointer of type LPDHCP_OPTION_VALUE in which the option value
	// is retrieved corresponding to the OptionID parameter. For Dynamic DNS update settings,
	// see section 3.3.1.
	OptionValue *dhcpm.OptionValue `idl:"name:OptionValue" json:"option_value"`
	// Return: The R_DhcpGetOptionValue return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetOptionValueResponse structure represents the R_DhcpGetOptionValue operation response

func (*GetOptionValueResponse) MarshalNDR

func (o *GetOptionValueResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetOptionValueResponse) UnmarshalNDR

func (o *GetOptionValueResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetSubnetInfoRequest

type GetSubnetInfoRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS, a DWORD structure containing the
	// IPv4 subnet ID for which the information is retrieved.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
}

GetSubnetInfoRequest structure represents the R_DhcpGetSubnetInfo operation request

func (*GetSubnetInfoRequest) MarshalNDR

func (o *GetSubnetInfoRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetSubnetInfoRequest) UnmarshalNDR

func (o *GetSubnetInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetSubnetInfoResponse

type GetSubnetInfoResponse struct {
	// SubnetInfo: This is a pointer of type LPDHCP_SUBNET_INFO in which the information
	// for the subnet matching the ID specified by SubnetAddress is retrieved.
	SubnetInfo *dhcpm.SubnetInfo `idl:"name:SubnetInfo" json:"subnet_info"`
	// Return: The R_DhcpGetSubnetInfo return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetSubnetInfoResponse structure represents the R_DhcpGetSubnetInfo operation response

func (*GetSubnetInfoResponse) MarshalNDR

func (o *GetSubnetInfoResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetSubnetInfoResponse) UnmarshalNDR

func (o *GetSubnetInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetSubnetInfoVQRequest

type GetSubnetInfoVQRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS, containing the IPv4 subnet ID for
	// which the information is retrieved.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
}

GetSubnetInfoVQRequest structure represents the R_DhcpGetSubnetInfoVQ operation request

func (*GetSubnetInfoVQRequest) MarshalNDR

func (o *GetSubnetInfoVQRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetSubnetInfoVQRequest) UnmarshalNDR

func (o *GetSubnetInfoVQRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetSubnetInfoVQResponse

type GetSubnetInfoVQResponse struct {
	// SubnetInfoVQ: This is a pointer of type LPDHCP_SUBNET_INFO_VQ, in which the information
	// for the subnet matching the ID specified by the SubnetAddress parameter is retrieved.
	SubnetInfoVQ *dhcpm.SubnetInfoVQ `idl:"name:SubnetInfoVQ" json:"subnet_info_vq"`
	// Return: The R_DhcpGetSubnetInfoVQ return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetSubnetInfoVQResponse structure represents the R_DhcpGetSubnetInfoVQ operation response

func (*GetSubnetInfoVQResponse) MarshalNDR

func (o *GetSubnetInfoVQResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetSubnetInfoVQResponse) UnmarshalNDR

func (o *GetSubnetInfoVQResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetSuperScopeInfoV4Request

type GetSuperScopeInfoV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
}

GetSuperScopeInfoV4Request structure represents the R_DhcpGetSuperScopeInfoV4 operation request

func (*GetSuperScopeInfoV4Request) MarshalNDR

func (o *GetSuperScopeInfoV4Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetSuperScopeInfoV4Request) UnmarshalNDR

func (o *GetSuperScopeInfoV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetSuperScopeInfoV4Response

type GetSuperScopeInfoV4Response struct {
	// SuperScopeTable: It is a pointer to type LPDHCP_SUPER_SCOPE_TABLE that points to
	// a location that contains the information for all the superscopes.
	SuperScopeTable *dhcpm.SuperScopeTable `idl:"name:SuperScopeTable" json:"super_scope_table"`
	// Return: The R_DhcpGetSuperScopeInfoV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetSuperScopeInfoV4Response structure represents the R_DhcpGetSuperScopeInfoV4 operation response

func (*GetSuperScopeInfoV4Response) MarshalNDR

func (*GetSuperScopeInfoV4Response) UnmarshalNDR

func (o *GetSuperScopeInfoV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetVersionRequest

type GetVersionRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
}

GetVersionRequest structure represents the R_DhcpGetVersion operation request

func (*GetVersionRequest) MarshalNDR

func (o *GetVersionRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetVersionRequest) UnmarshalNDR

func (o *GetVersionRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetVersionResponse

type GetVersionResponse struct {
	// MajorVersion: This is a pointer to a DWORD in which the major version of the DHCP
	// server is returned. The MajorVersion parameter MUST be allocated by the client before
	// the call.
	MajorVersion uint32 `idl:"name:MajorVersion" json:"major_version"`
	// MinorVersion: This is a pointer to a DWORD in which the minor version of the DHCP
	// server is returned. The MinorVersion parameter MUST be allocated by the client before
	// the call.
	MinorVersion uint32 `idl:"name:MinorVersion" json:"minor_version"`
	// Return: The R_DhcpGetVersion return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

GetVersionResponse structure represents the R_DhcpGetVersion operation response

func (*GetVersionResponse) MarshalNDR

func (o *GetVersionResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetVersionResponse) UnmarshalNDR

func (o *GetVersionResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type RemoveOptionRequest

type RemoveOptionRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option
	// identifier for the option definition being removed.
	OptionID uint32 `idl:"name:OptionID" json:"option_id"`
}

RemoveOptionRequest structure represents the R_DhcpRemoveOption operation request

func (*RemoveOptionRequest) MarshalNDR

func (o *RemoveOptionRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*RemoveOptionRequest) UnmarshalNDR

func (o *RemoveOptionRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type RemoveOptionResponse

type RemoveOptionResponse struct {
	// Return: The R_DhcpRemoveOption return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

RemoveOptionResponse structure represents the R_DhcpRemoveOption operation response

func (*RemoveOptionResponse) MarshalNDR

func (o *RemoveOptionResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*RemoveOptionResponse) UnmarshalNDR

func (o *RemoveOptionResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type RemoveOptionValueRequest

type RemoveOptionValueRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option
	// identifier for the option being removed.
	OptionID uint32 `idl:"name:OptionID" json:"option_id"`
	// ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure
	// that contains information describing the level (that is, server, scope, multicast
	// scope, or IPv4 reservation level) from which this option value is removed.
	ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo;pointer:ref" json:"scope_info"`
}

RemoveOptionValueRequest structure represents the R_DhcpRemoveOptionValue operation request

func (*RemoveOptionValueRequest) MarshalNDR

func (o *RemoveOptionValueRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*RemoveOptionValueRequest) UnmarshalNDR

func (o *RemoveOptionValueRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type RemoveOptionValueResponse

type RemoveOptionValueResponse struct {
	// Return: The R_DhcpRemoveOptionValue return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

RemoveOptionValueResponse structure represents the R_DhcpRemoveOptionValue operation response

func (*RemoveOptionValueResponse) MarshalNDR

func (o *RemoveOptionValueResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*RemoveOptionValueResponse) UnmarshalNDR

func (o *RemoveOptionValueResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type RemoveSubnetElementRequest

type RemoveSubnetElementRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) that contains
	// the IPv4 subnet ID from which subnet elements are enumerated.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// RemoveElementInfo: This is a pointer of type DHCP_SUBNET_ELEMENT_DATA (section 2.2.1.2.33),
	// containing the IPv4 subnet element that needs to be removed from the IPv4 subnet.
	RemoveElementInfo *dhcpm.SubnetElementData `idl:"name:RemoveElementInfo;pointer:ref" json:"remove_element_info"`
	// ForceFlag: This is of type DHCP_FORCE_FLAG (section 2.2.1.1.9), defining the behavior
	// of this method. If the flag is set to DhcpNoForce and this subnet has served the
	// IPv4 address to some DHCPv4\BOOTP clients, the IPv4 range is not deleted; if the
	// flag is set to DhcpFullForce, the IPv4 range is deleted along with DHCPv4 client
	// lease record on the DHCPv4 server.
	ForceFlag dhcpm.ForceFlag `idl:"name:ForceFlag" json:"force_flag"`
}

RemoveSubnetElementRequest structure represents the R_DhcpRemoveSubnetElement operation request

func (*RemoveSubnetElementRequest) MarshalNDR

func (o *RemoveSubnetElementRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*RemoveSubnetElementRequest) UnmarshalNDR

func (o *RemoveSubnetElementRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type RemoveSubnetElementResponse

type RemoveSubnetElementResponse struct {
	// Return: The R_DhcpRemoveSubnetElement return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

RemoveSubnetElementResponse structure represents the R_DhcpRemoveSubnetElement operation response

func (*RemoveSubnetElementResponse) MarshalNDR

func (*RemoveSubnetElementResponse) UnmarshalNDR

func (o *RemoveSubnetElementResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type RemoveSubnetElementV4Request

type RemoveSubnetElementV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1) that contains
	// the IPv4 subnet ID from which the IPv4 subnet element is removed.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// RemoveElementInfo: This is a pointer of type DHCP_SUBNET_ELEMENT_DATA_V4 (section
	// 2.2.1.2.35) structure that contains the IPv4 subnet element that needs to be removed
	// from the IPv4 subnet.
	RemoveElementInfo *dhcpm.SubnetElementDataV4 `idl:"name:RemoveElementInfo;pointer:ref" json:"remove_element_info"`
	// ForceFlag: This is of type DHCP_FORCE_FLAG (section 2.2.1.1.9) enumeration, defining
	// the behavior of this method. If the flag is set to DhcpNoForce value and this subnet
	// has served the IPv4 address to some DHCPv4\BOOTP clients, the IPv4 range is not deleted.
	// If the flag is set to DhcpFullForce value, the IPv4 range is deleted along with the
	// DHCPv4 client lease record on the DHCPv4 server.
	ForceFlag dhcpm.ForceFlag `idl:"name:ForceFlag" json:"force_flag"`
}

RemoveSubnetElementV4Request structure represents the R_DhcpRemoveSubnetElementV4 operation request

func (*RemoveSubnetElementV4Request) MarshalNDR

func (*RemoveSubnetElementV4Request) UnmarshalNDR

func (o *RemoveSubnetElementV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type RemoveSubnetElementV4Response

type RemoveSubnetElementV4Response struct {
	// Return: The R_DhcpRemoveSubnetElementV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

RemoveSubnetElementV4Response structure represents the R_DhcpRemoveSubnetElementV4 operation response

func (*RemoveSubnetElementV4Response) MarshalNDR

func (*RemoveSubnetElementV4Response) UnmarshalNDR

func (o *RemoveSubnetElementV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ScanDatabaseRequest

type ScanDatabaseRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), containing the
	// IPv4 subnet ID of the subnet in which the scan is done for the IPv4 addresses that
	// are not in sync.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// FixFlag: This is of type DWORD, defining the behavior of this method. This method
	// enumerates the DHCPv4 client IPv4 addresses that are not in sync in both the stores,
	// and if the FixFlag parameter is set to TRUE, it fixes those unmatched IPv4 addresses
	// also.
	FixFlag uint32 `idl:"name:FixFlag" json:"fix_flag"`
}

ScanDatabaseRequest structure represents the R_DhcpScanDatabase operation request

func (*ScanDatabaseRequest) MarshalNDR

func (o *ScanDatabaseRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ScanDatabaseRequest) UnmarshalNDR

func (o *ScanDatabaseRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ScanDatabaseResponse

type ScanDatabaseResponse struct {
	// ScanList: This is a pointer of type LPDHCP_SCAN_LIST that points to the location
	// containing the DHCPv4 client IPv4 addresses that are not in sync in both the stores.
	ScanList *dhcpm.ScanList `idl:"name:ScanList" json:"scan_list"`
	// Return: The R_DhcpScanDatabase return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

ScanDatabaseResponse structure represents the R_DhcpScanDatabase operation response

func (*ScanDatabaseResponse) MarshalNDR

func (o *ScanDatabaseResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ScanDatabaseResponse) UnmarshalNDR

func (o *ScanDatabaseResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerGetConfigRequest

type ServerGetConfigRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
}

ServerGetConfigRequest structure represents the R_DhcpServerGetConfig operation request

func (*ServerGetConfigRequest) MarshalNDR

func (o *ServerGetConfigRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerGetConfigRequest) UnmarshalNDR

func (o *ServerGetConfigRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerGetConfigResponse

type ServerGetConfigResponse struct {
	// ConfigInfo: This is a pointer of type LPDHCP_SERVER_CONFIG_INFO that points to the
	// location where the DHCPv4 server settings are retrieved. The caller of this method
	// can free up this structure after use.
	ConfigInfo *dhcpm.ServerConfigInfo `idl:"name:ConfigInfo" json:"config_info"`
	// Return: The R_DhcpServerGetConfig return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

ServerGetConfigResponse structure represents the R_DhcpServerGetConfig operation response

func (*ServerGetConfigResponse) MarshalNDR

func (o *ServerGetConfigResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerGetConfigResponse) UnmarshalNDR

func (o *ServerGetConfigResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerGetConfigV4Request

type ServerGetConfigV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
}

ServerGetConfigV4Request structure represents the R_DhcpServerGetConfigV4 operation request

func (*ServerGetConfigV4Request) MarshalNDR

func (o *ServerGetConfigV4Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerGetConfigV4Request) UnmarshalNDR

func (o *ServerGetConfigV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerGetConfigV4Response

type ServerGetConfigV4Response struct {
	// ConfigInfo: This is a pointer of type LPDHCP_SERVER_CONFIG_INFO_V4 that points to
	// the location where the DHCPv4 server settings are retrieved. The caller of this method
	// can free up this structure after use.
	ConfigInfo *dhcpm.ServerConfigInfoV4 `idl:"name:ConfigInfo" json:"config_info"`
	// Return: The R_DhcpServerGetConfigV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

ServerGetConfigV4Response structure represents the R_DhcpServerGetConfigV4 operation response

func (*ServerGetConfigV4Response) MarshalNDR

func (o *ServerGetConfigV4Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerGetConfigV4Response) UnmarshalNDR

func (o *ServerGetConfigV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerGetConfigVQRequest

type ServerGetConfigVQRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
}

ServerGetConfigVQRequest structure represents the R_DhcpServerGetConfigVQ operation request

func (*ServerGetConfigVQRequest) MarshalNDR

func (o *ServerGetConfigVQRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerGetConfigVQRequest) UnmarshalNDR

func (o *ServerGetConfigVQRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerGetConfigVQResponse

type ServerGetConfigVQResponse struct {
	// ConfigInfo: This is a pointer of type LPDHCP_SERVER_CONFIG_INFO_VQ that points to
	// the location where the DHCPv4 server settings are retrieved. The caller of this method
	// can free up this structure after use.
	ConfigInfo *dhcpm.ServerConfigInfoVQ `idl:"name:ConfigInfo" json:"config_info"`
	// Return: The R_DhcpServerGetConfigVQ return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

ServerGetConfigVQResponse structure represents the R_DhcpServerGetConfigVQ operation response

func (*ServerGetConfigVQResponse) MarshalNDR

func (o *ServerGetConfigVQResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerGetConfigVQResponse) UnmarshalNDR

func (o *ServerGetConfigVQResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerSetConfigRequest

type ServerSetConfigRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// FieldsToSet: A DWORD that contains the bitmask of the fields in the ConfigInfo structure
	// to set. This method can be called with a value for FieldsToSet.
	//
	// The bit mapping for the various values for FieldsToSet is listed in the following
	// table:
	//
	//	+-----------------------------+------------+
	//	|                             |            |
	//	|         FIELDSTOSET         |    BIT     |
	//	|                             |            |
	//	+-----------------------------+------------+
	//	+-----------------------------+------------+
	//	| Set_APIProtocolSupport      | 0x00000001 |
	//	+-----------------------------+------------+
	//	| Set_DatabaseName            | 0x00000002 |
	//	+-----------------------------+------------+
	//	| Set_DatabasePath            | 0x00000004 |
	//	+-----------------------------+------------+
	//	| Set_BackupPath              | 0x00000008 |
	//	+-----------------------------+------------+
	//	| Set_BackupInterval          | 0x00000010 |
	//	+-----------------------------+------------+
	//	| Set_DatabaseLoggingFlag     | 0x00000020 |
	//	+-----------------------------+------------+
	//	| Set_RestoreFlag             | 0x00000040 |
	//	+-----------------------------+------------+
	//	| Set_DatabaseCleanupInterval | 0x00000080 |
	//	+-----------------------------+------------+
	//	| Set_DebugFlag               | 0x00000100 |
	//	+-----------------------------+------------+
	//
	// The DHCP Server ignores the bits not specified in the table.
	//
	// * Set_APIProtocolSupport
	//
	// * Set_DatabaseName
	//
	// * Set_DatabasePath
	//
	// * Set_DatabaseLoggingFlag
	//
	// * Set_RestoreFlag
	FieldsToSet uint32 `idl:"name:FieldsToSet" json:"fields_to_set"`
	// ConfigInfo: A pointer of type DHCP_SERVER_CONFIG_INFO (section 2.2.1.2.53) structure
	// that contains the settings for the DHCPv4 server. The value that is passed here depends
	// on the FieldsToSet parameter. Details of the dependencies follow the return value
	// description.
	ConfigInfo *dhcpm.ServerConfigInfo `idl:"name:ConfigInfo;pointer:ref" json:"config_info"`
}

ServerSetConfigRequest structure represents the R_DhcpServerSetConfig operation request

func (*ServerSetConfigRequest) MarshalNDR

func (o *ServerSetConfigRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerSetConfigRequest) UnmarshalNDR

func (o *ServerSetConfigRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerSetConfigResponse

type ServerSetConfigResponse struct {
	// Return: The R_DhcpServerSetConfig return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

ServerSetConfigResponse structure represents the R_DhcpServerSetConfig operation response

func (*ServerSetConfigResponse) MarshalNDR

func (o *ServerSetConfigResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerSetConfigResponse) UnmarshalNDR

func (o *ServerSetConfigResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerSetConfigV4Request

type ServerSetConfigV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// FieldsToSet: A DWORD that contains the bitmask of the fields in the ConfigInfo parameter
	// to set. This method can be called with a value for the FieldsToSet parameter.
	//
	// The bit mapping for the various values for the FieldsToSet parameter is listed in
	// the following table.
	//
	//	+-----------------------------+------------+
	//	|                             |            |
	//	|         FIELDSTOSET         |    BIT     |
	//	|                             |            |
	//	+-----------------------------+------------+
	//	+-----------------------------+------------+
	//	| Set_APIProtocolSupport      | 0x00000001 |
	//	+-----------------------------+------------+
	//	| Set_DatabaseName            | 0x00000002 |
	//	+-----------------------------+------------+
	//	| Set_DatabasePath            | 0x00000004 |
	//	+-----------------------------+------------+
	//	| Set_BackupPath              | 0x00000008 |
	//	+-----------------------------+------------+
	//	| Set_BackupInterval          | 0x00000010 |
	//	+-----------------------------+------------+
	//	| Set_DatabaseLoggingFlag     | 0x00000020 |
	//	+-----------------------------+------------+
	//	| Set_RestoreFlag             | 0x00000040 |
	//	+-----------------------------+------------+
	//	| Set_DatabaseCleanupInterval | 0x00000080 |
	//	+-----------------------------+------------+
	//	| Set_DebugFlag               | 0x00000100 |
	//	+-----------------------------+------------+
	//	| Set_PingRetries             | 0x00000200 |
	//	+-----------------------------+------------+
	//	| Set_BootFileTable           | 0x00000400 |
	//	+-----------------------------+------------+
	//	| Set_AuditLogState           | 0x00000800 |
	//	+-----------------------------+------------+
	//
	// The DHCP server behavior ignores the bits not specified in the table.
	//
	// * Set_APIProtocolSupport
	//
	// * Set_DatabaseName
	//
	// * Set_DatabasePath
	//
	// * Set_DatabaseLoggingFlag
	//
	// * Set_RestoreFlag
	FieldsToSet uint32 `idl:"name:FieldsToSet" json:"fields_to_set"`
	// ConfigInfo: A pointer of type DHCP_SERVER_CONFIG_INFO_V4 (section 2.2.1.2.54) structure,
	// containing the settings for the DHCPv4 server. The value that is passed here depends
	// on the FieldsToSet parameter. Details of the dependencies follow the return value
	// description.
	ConfigInfo *dhcpm.ServerConfigInfoV4 `idl:"name:ConfigInfo;pointer:ref" json:"config_info"`
}

ServerSetConfigV4Request structure represents the R_DhcpServerSetConfigV4 operation request

func (*ServerSetConfigV4Request) MarshalNDR

func (o *ServerSetConfigV4Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerSetConfigV4Request) UnmarshalNDR

func (o *ServerSetConfigV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerSetConfigV4Response

type ServerSetConfigV4Response struct {
	// Return: The R_DhcpServerSetConfigV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

ServerSetConfigV4Response structure represents the R_DhcpServerSetConfigV4 operation response

func (*ServerSetConfigV4Response) MarshalNDR

func (o *ServerSetConfigV4Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerSetConfigV4Response) UnmarshalNDR

func (o *ServerSetConfigV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerSetConfigVQRequest

type ServerSetConfigVQRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// FieldsToSet: A DWORD that contains the bitmask of the fields in the ConfigInfo parameter
	// to set. This method can be called with a value for the FieldsToSet parameter.
	//
	// The bit mapping for the various values for the FieldsToSet parameter is listed in
	// the following table.
	//
	//	+-----------------------------+------------+
	//	|                             |            |
	//	|         FIELDSTOSET         |    BIT     |
	//	|                             |            |
	//	+-----------------------------+------------+
	//	+-----------------------------+------------+
	//	| Set_APIProtocolSupport      | 0x00000001 |
	//	+-----------------------------+------------+
	//	| Set_DatabaseName            | 0x00000002 |
	//	+-----------------------------+------------+
	//	| Set_DatabasePath            | 0x00000004 |
	//	+-----------------------------+------------+
	//	| Set_BackupPath              | 0x00000008 |
	//	+-----------------------------+------------+
	//	| Set_BackupInterval          | 0x00000010 |
	//	+-----------------------------+------------+
	//	| Set_DatabaseLoggingFlag     | 0x00000020 |
	//	+-----------------------------+------------+
	//	| Set_RestoreFlag             | 0x00000040 |
	//	+-----------------------------+------------+
	//	| Set_DatabaseCleanupInterval | 0x00000080 |
	//	+-----------------------------+------------+
	//	| Set_DebugFlag               | 0x00000100 |
	//	+-----------------------------+------------+
	//	| Set_PingRetries             | 0x00000200 |
	//	+-----------------------------+------------+
	//	| Set_BootFileTable           | 0x00000400 |
	//	+-----------------------------+------------+
	//	| Set_AuditLogState           | 0x00000800 |
	//	+-----------------------------+------------+
	//	| Set_QuarantineON            | 0x00001000 |
	//	+-----------------------------+------------+
	//	| Set_QuarantineDefFail       | 0x00002000 |
	//	+-----------------------------+------------+
	//
	// * Set_APIProtocolSupport
	//
	// * Set_DatabaseName
	//
	// * Set_DatabasePath
	//
	// * Set_DatabaseLoggingFlag
	//
	// * Set_RestoreFlag
	FieldsToSet uint32 `idl:"name:FieldsToSet" json:"fields_to_set"`
	// ConfigInfo: A pointer of type DHCP_SERVER_CONFIG_INFO_VQ (section 2.2.1.2.55) structure
	// that contains the settings for the DHCPv4 server. The value that is passed here depends
	// on the FieldsToSet parameter. Details of the dependencies follow the return value
	// description.
	ConfigInfo *dhcpm.ServerConfigInfoVQ `idl:"name:ConfigInfo;pointer:ref" json:"config_info"`
}

ServerSetConfigVQRequest structure represents the R_DhcpServerSetConfigVQ operation request

func (*ServerSetConfigVQRequest) MarshalNDR

func (o *ServerSetConfigVQRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerSetConfigVQRequest) UnmarshalNDR

func (o *ServerSetConfigVQRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ServerSetConfigVQResponse

type ServerSetConfigVQResponse struct {
	// Return: The R_DhcpServerSetConfigVQ return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

ServerSetConfigVQResponse structure represents the R_DhcpServerSetConfigVQ operation response

func (*ServerSetConfigVQResponse) MarshalNDR

func (o *ServerSetConfigVQResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*ServerSetConfigVQResponse) UnmarshalNDR

func (o *ServerSetConfigVQResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetClientInfoRequest

type SetClientInfoRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ClientInfo: A pointer of type DHCP_CLIENT_INFO (section 2.2.1.2.12) structure that
	// contains the DHCPv4 client lease record information that needs to be modified within
	// the DHCPv4 server database. The caller MUST pass the ClientIPAddress and ClientHardwareAddress
	// member fields for modification of a DHCPv4 client lease record stored in the DHCPv4
	// server database. The ClientHardwareAddress member field represents a DHCPv4 client-identifier
	// (section 2.2.1.2.5.1). The members ClientName, ClientComment, ClientLeaseExpires,
	// and OwnerHost are modified in the DHCPv4 client lease record identified by the ClientIPAddress
	// member.
	ClientInfo *dhcpm.ClientInfo `idl:"name:ClientInfo;pointer:ref" json:"client_info"`
}

SetClientInfoRequest structure represents the R_DhcpSetClientInfo operation request

func (*SetClientInfoRequest) MarshalNDR

func (o *SetClientInfoRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetClientInfoRequest) UnmarshalNDR

func (o *SetClientInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetClientInfoResponse

type SetClientInfoResponse struct {
	// Return: The R_DhcpSetClientInfo return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetClientInfoResponse structure represents the R_DhcpSetClientInfo operation response

func (*SetClientInfoResponse) MarshalNDR

func (o *SetClientInfoResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetClientInfoResponse) UnmarshalNDR

func (o *SetClientInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetClientInfoV4Request

type SetClientInfoV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ClientInfo: A pointer of type DHCP_CLIENT_INFO_V4 (section 2.2.1.2.14) structure
	// that contains the DHCPv4 client lease record information that needs to be modified
	// on the DHCPv4 server database. The caller MUST pass the ClientIPAddress and ClientHardwareAddress
	// member fields when modifying a DHCPv4 client lease record in the DHCPv4 server database.
	// The ClientHardwareAddress member represents a DHCPv4 client-identifier (section 2.2.1.2.5.1).
	// The members ClientName, ClientComment, ClientLeaseExpires, and OwnerHost are modified
	// in the DHCPv4 client lease record identified by the ClientIPaddress member.
	ClientInfo *dhcpm.ClientInfoV4 `idl:"name:ClientInfo;pointer:ref" json:"client_info"`
}

SetClientInfoV4Request structure represents the R_DhcpSetClientInfoV4 operation request

func (*SetClientInfoV4Request) MarshalNDR

func (o *SetClientInfoV4Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetClientInfoV4Request) UnmarshalNDR

func (o *SetClientInfoV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetClientInfoV4Response

type SetClientInfoV4Response struct {
	// Return: The R_DhcpSetClientInfoV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetClientInfoV4Response structure represents the R_DhcpSetClientInfoV4 operation response

func (*SetClientInfoV4Response) MarshalNDR

func (o *SetClientInfoV4Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetClientInfoV4Response) UnmarshalNDR

func (o *SetClientInfoV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetClientInfoVQRequest

type SetClientInfoVQRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ClientInfo: A pointer of type DHCP_CLIENT_INFO_VQ (section 2.2.1.2.19) structure
	// that contains the DHCPv4 client lease record information that needs to be modified
	// on the DHCPv4 server database. The caller MUST pass the ClientIPAddress and ClientHardwareAddress
	// members when modifying a DHCPv4 client lease record stored in the DHCPv4 server database.
	// The ClientHardwareAddress member represents a DHCPv4 client-identifier (section 2.2.1.2.5.1).
	// The members ClientName, ClientComment, ClientLeaseExpires, and OwnerHost are modified
	// in the DHCPv4 client lease record identified by the ClientIPAddress member.
	ClientInfo *dhcpm.ClientInfoVQ `idl:"name:ClientInfo;pointer:ref" json:"client_info"`
}

SetClientInfoVQRequest structure represents the R_DhcpSetClientInfoVQ operation request

func (*SetClientInfoVQRequest) MarshalNDR

func (o *SetClientInfoVQRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetClientInfoVQRequest) UnmarshalNDR

func (o *SetClientInfoVQRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetClientInfoVQResponse

type SetClientInfoVQResponse struct {
	// Return: The R_DhcpSetClientInfoVQ return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetClientInfoVQResponse structure represents the R_DhcpSetClientInfoVQ operation response

func (*SetClientInfoVQResponse) MarshalNDR

func (o *SetClientInfoVQResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetClientInfoVQResponse) UnmarshalNDR

func (o *SetClientInfoVQResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetOptionInfoRequest

type SetOptionInfoRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option
	// identifier for the option being modified.
	OptionID uint32 `idl:"name:OptionID" json:"option_id"`
	// OptionInfo: This is a pointer of type DHCP_OPTION (section 2.2.1.2.25) structure,
	// containing the option definition for the option being modified.
	OptionInfo *dhcpm.Option `idl:"name:OptionInfo;pointer:ref" json:"option_info"`
}

SetOptionInfoRequest structure represents the R_DhcpSetOptionInfo operation request

func (*SetOptionInfoRequest) MarshalNDR

func (o *SetOptionInfoRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetOptionInfoRequest) UnmarshalNDR

func (o *SetOptionInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetOptionInfoResponse

type SetOptionInfoResponse struct {
	// Return: The R_DhcpSetOptionInfo return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetOptionInfoResponse structure represents the R_DhcpSetOptionInfo operation response

func (*SetOptionInfoResponse) MarshalNDR

func (o *SetOptionInfoResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetOptionInfoResponse) UnmarshalNDR

func (o *SetOptionInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetOptionValueRequest

type SetOptionValueRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// OptionID: This is of type DHCP_OPTION_ID (section 2.2.1.2.3), containing the option
	// identifier for the option being set or modified.
	OptionID uint32 `idl:"name:OptionID" json:"option_id"`
	// ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure
	// that contains information describing the level (that is, default, server, scope,
	// multicast scope, or reservation level) at which this option value is set on.
	ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo;pointer:ref" json:"scope_info"`
	// OptionValue: A pointer to a DHCP_OPTION_DATA (section 2.2.1.2.24) structure that
	// contains the option value to be set. For Dynamic DNS update settings, see section
	// 3.3.1.
	OptionValue *dhcpm.OptionData `idl:"name:OptionValue;pointer:ref" json:"option_value"`
}

SetOptionValueRequest structure represents the R_DhcpSetOptionValue operation request

func (*SetOptionValueRequest) MarshalNDR

func (o *SetOptionValueRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetOptionValueRequest) UnmarshalNDR

func (o *SetOptionValueRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetOptionValueResponse

type SetOptionValueResponse struct {
	// Return: The R_DhcpSetOptionValue return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetOptionValueResponse structure represents the R_DhcpSetOptionValue operation response

func (*SetOptionValueResponse) MarshalNDR

func (o *SetOptionValueResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetOptionValueResponse) UnmarshalNDR

func (o *SetOptionValueResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetOptionValuesRequest

type SetOptionValuesRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// ScopeInfo: This is a pointer to a DHCP_OPTION_SCOPE_INFO (section 2.2.1.2.41) structure
	// that contains the level (that is, default, server, scope, multicast scope, or IPv4
	// reservation level) at which the option values are set.
	ScopeInfo *dhcpm.OptionScopeInfo `idl:"name:ScopeInfo;pointer:ref" json:"scope_info"`
	// OptionValues: This is a pointer of type DHCP_OPTION_VALUE_ARRAY (section 2.2.1.2.43)
	// structure that points to the location that contains one or more option identifiers
	// along with the values.
	OptionValues *dhcpm.OptionValueArray `idl:"name:OptionValues;pointer:ref" json:"option_values"`
}

SetOptionValuesRequest structure represents the R_DhcpSetOptionValues operation request

func (*SetOptionValuesRequest) MarshalNDR

func (o *SetOptionValuesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetOptionValuesRequest) UnmarshalNDR

func (o *SetOptionValuesRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetOptionValuesResponse

type SetOptionValuesResponse struct {
	// Return: The R_DhcpSetOptionValues return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetOptionValuesResponse structure represents the R_DhcpSetOptionValues operation response

func (*SetOptionValuesResponse) MarshalNDR

func (o *SetOptionValuesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetOptionValuesResponse) UnmarshalNDR

func (o *SetOptionValuesResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetSubnetInfoRequest

type SetSubnetInfoRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS, a DWORD structure containing the
	// IPv4 subnet ID for which the subnet information is modified.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// SubnetInfo: This is a pointer to a DHCP_SUBNET_INFO (section 2.2.1.2.8) structure
	// that contains the information of the IPv4 subnet that is modified in the existing
	// IPv4 subnet identified by SubnetAddress. The DHCP_HOST_INFO (section 2.2.1.2.7) structure
	// (referred by PrimaryHost) stored in SubnetInfo MUST be ignored by both the caller
	// and the server.
	SubnetInfo *dhcpm.SubnetInfo `idl:"name:SubnetInfo;pointer:ref" json:"subnet_info"`
}

SetSubnetInfoRequest structure represents the R_DhcpSetSubnetInfo operation request

func (*SetSubnetInfoRequest) MarshalNDR

func (o *SetSubnetInfoRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetSubnetInfoRequest) UnmarshalNDR

func (o *SetSubnetInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetSubnetInfoResponse

type SetSubnetInfoResponse struct {
	// Return: The R_DhcpSetSubnetInfo return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetSubnetInfoResponse structure represents the R_DhcpSetSubnetInfo operation response

func (*SetSubnetInfoResponse) MarshalNDR

func (o *SetSubnetInfoResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetSubnetInfoResponse) UnmarshalNDR

func (o *SetSubnetInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetSubnetInfoVQRequest

type SetSubnetInfoVQRequest struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS, containing the IPv4 subnet ID for
	// which the subnet information is modified.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// SubnetInfoVQ: This is a pointer to a DHCP_SUBNET_INFO_VQ (section 2.2.1.2.45) structure
	// that contains the information about the IPv4 subnet that is modified in the existing
	// IPv4 subnet identified by the SubnetAddress parameter. The structure DHCP_HOST_INFO
	// (section 2.2.1.2.7) (referred by the PrimaryHost member) stored in the SubnetInfoVQ
	// parameter MUST be ignored by both the caller and the server.
	SubnetInfoVQ *dhcpm.SubnetInfoVQ `idl:"name:SubnetInfoVQ;pointer:ref" json:"subnet_info_vq"`
}

SetSubnetInfoVQRequest structure represents the R_DhcpSetSubnetInfoVQ operation request

func (*SetSubnetInfoVQRequest) MarshalNDR

func (o *SetSubnetInfoVQRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetSubnetInfoVQRequest) UnmarshalNDR

func (o *SetSubnetInfoVQRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetSubnetInfoVQResponse

type SetSubnetInfoVQResponse struct {
	// Return: The R_DhcpSetSubnetInfoVQ return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetSubnetInfoVQResponse structure represents the R_DhcpSetSubnetInfoVQ operation response

func (*SetSubnetInfoVQResponse) MarshalNDR

func (o *SetSubnetInfoVQResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetSubnetInfoVQResponse) UnmarshalNDR

func (o *SetSubnetInfoVQResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetSuperScopeV4Request

type SetSuperScopeV4Request struct {
	// ServerIpAddress: The IP address/host name of the DHCP server. This parameter is unused.
	ServerIPAddress string `idl:"name:ServerIpAddress;string;pointer:unique" json:"server_ip_address"`
	// SubnetAddress: This is of type DHCP_IP_ADDRESS (section 2.2.1.2.1), containing the
	// IPv4 address of the subnet that is being set in a superscope or is removed from a
	// superscope.
	SubnetAddress uint32 `idl:"name:SubnetAddress" json:"subnet_address"`
	// SuperScopeName: This is of a pointer of WCHAR that points to the location that contains
	// the superscope name. If NULL is specified in this field, the subnet corresponding
	// to the SubnetAddress parameter is removed from any superscope that it was part of.
	SuperScopeName string `idl:"name:SuperScopeName;string;pointer:unique" json:"super_scope_name"`
	// ChangeExisting: This is a BOOL that MUST be set to TRUE if the IPv4 subnet is already
	// part of any superscope.
	ChangeExisting bool `idl:"name:ChangeExisting" json:"change_existing"`
}

SetSuperScopeV4Request structure represents the R_DhcpSetSuperScopeV4 operation request

func (*SetSuperScopeV4Request) MarshalNDR

func (o *SetSuperScopeV4Request) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetSuperScopeV4Request) UnmarshalNDR

func (o *SetSuperScopeV4Request) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetSuperScopeV4Response

type SetSuperScopeV4Response struct {
	// Return: The R_DhcpSetSuperScopeV4 return value.
	Return uint32 `idl:"name:Return" json:"return"`
}

SetSuperScopeV4Response structure represents the R_DhcpSetSuperScopeV4 operation response

func (*SetSuperScopeV4Response) MarshalNDR

func (o *SetSuperScopeV4Response) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetSuperScopeV4Response) UnmarshalNDR

func (o *SetSuperScopeV4Response) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL