DhcpGetClientOptions function

The DhcpGetClientOptions function returns only ERROR_NOT_IMPLEMENTED, as it is not used or supported.

Syntax


DWORD DHCP_API_FUNCTION DhcpGetClientOptions(
  _In_  DHCP_CONST WCHAR   *ServerIpAddress,
  _In_  DHCP_IP_ADDRESS    ClientIpAddress,
  _In_  DHCP_IP_MASK       ClientSubnetMask,
  _Out_ LPDHCP_OPTION_LIST *ClientOptions
);

Parameters

ServerIpAddress [in]

Unicode string that specifies the IP address or hostname of the DHCP server.

ClientIpAddress [in]

DHCP_IP_ADDRESS value that specifies the IP address or hostname of the DHCP client whose option values will be returned.

ClientSubnetMask [in]

DHCP_IP_MASK value that specifies the subnet mask of the DHCP client whose option values will be returned.

ClientOptions [out]

Pointer to a DHCP_OPTION_LIST structure that contains the returned option values for the DHCP client.

Note  

The memory for this parameter must be free using DhcpRpcFreeMemory.

 

Return value

This function returns ERROR_SUCCESS upon a successful call. Otherwise, it returns one of the DHCP Server Management API Error Codes.

Return codeDescription
ERROR_NOT_IMPLEMENTED

This function is not implemented and is not supported.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dhcpsapi.h

Library

Dhcpsapi.lib

DLL

Dhcpsapi.dll

See also

DHCP_OPTION_LIST

 

 

Show: