Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 2.46 KB

nf-dhcpsapi-dhcpdeleteserver.md

File metadata and controls

87 lines (65 loc) · 2.46 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.DhcpDeleteServer
DhcpDeleteServer function (dhcpsapi.h)
The DhcpDeleteServer function attempts to delete a DHCP server and any related objects (such as subnet information and IP reservations) from the directory service.
DhcpDeleteServer
DhcpDeleteServer function [DHCP]
dhcp.dhcpdeleteserver
dhcpsapi/DhcpDeleteServer
dhcp\dhcpdeleteserver.htm
DHCP
88b6c29b-7b01-40c7-b4f5-4920845f1eb9
12/05/2018
DhcpDeleteServer, DhcpDeleteServer function [DHCP], dhcp.dhcpdeleteserver, dhcpsapi/DhcpDeleteServer
dhcpsapi.h
Windows
None supported
Windows 2000 Server [desktop apps only]
Dhcpsapi.lib
Dhcpsapi.dll
Windows
19H1
DhcpDeleteServer
dhcpsapi/DhcpDeleteServer
c++
APIRef
kbSyntax
DllExport
Dhcpsapi.dll
DhcpDeleteServer

DhcpDeleteServer function

-description

The DhcpDeleteServer function attempts to delete a DHCP server and any related objects (such as subnet information and IP reservations) from the directory service.

-parameters

-param Flags [in]

Set to zero.

-param IdInfo [in]

Set to null.

-param NewServer [in]

Pointer to a DHCP_SERVER_INFO structure that contains the details of the DHCP server to delete from the directory service.

-param CallbackFn [in]

Pointer to the function to call after this operation is executed. Set to null.

-param CallbackData [in]

Pointer to the list of data that will be passed to the callback function specified in CallbackFn. Set to 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

DhcpEnumServers