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. |
|
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 |
|
|
|
|
|
|
The DhcpEnumServers function returns an enumerated list of DHCP servers found in the directory service.
Reserved for future use. This field should be set to 0.
Pointer to an address containing the server's ID block. This field should be set to null.
Pointer to a DHCP_SERVER_INFO_ARRAY structure that contains the output list of DHCP servers.
Pointer to the callback function that will be called when the server add operation completes. This field should be null.
Pointer to a data block containing the formatted structure for callback information. This field should be null.
This function returns ERROR_SUCCESS upon a successful call. Otherwise, it returns one of the DHCP Server Management API Error Codes.