Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 2.35 KB

nf-dhcpsapi-dhcpenumservers.md

File metadata and controls

83 lines (64 loc) · 2.35 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dhcpsapi.DhcpEnumServers
DhcpEnumServers function (dhcpsapi.h)
The DhcpEnumServers function returns an enumerated list of DHCP servers found in the directory service.
DhcpEnumServers
DhcpEnumServers function [DHCP]
dhcp.dhcpenumservers
dhcpsapi/DhcpEnumServers
dhcp\dhcpenumservers.htm
DHCP
c8b4d241-19d4-4a97-9129-c2954d63b6ac
12/05/2018
DhcpEnumServers, DhcpEnumServers function [DHCP], dhcp.dhcpenumservers, dhcpsapi/DhcpEnumServers
dhcpsapi.h
Windows
None supported
Windows 2000 Server [desktop apps only]
Dhcpsapi.lib
Dhcpsapi.dll
Windows
19H1
DhcpEnumServers
dhcpsapi/DhcpEnumServers
c++
APIRef
kbSyntax
DllExport
Dhcpsapi.dll
DhcpEnumServers

DhcpEnumServers function

-description

The DhcpEnumServers function returns an enumerated list of DHCP servers found in the directory service.

-parameters

-param Flags [in]

Reserved for future use. This field should be set to 0.

-param IdInfo [in]

Pointer to an address containing the server's ID block. This field should be set to null.

-param Servers [out]

Pointer to a DHCP_SERVER_INFO_ARRAY structure that contains the output list of DHCP servers.

-param CallbackFn [in]

Pointer to the callback function that will be called when the server add operation completes. This field should be null.

-param CallbackData [in]

Pointer to a data block containing the formatted structure for callback information. This field should be null.

-returns

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

-see-also

DHCP_SERVER_INFO_ARRAY