Skip to content

Latest commit

 

History

History
94 lines (77 loc) · 2.68 KB

nf-dhcpsapi-dhcpgetserverspecificstrings.md

File metadata and controls

94 lines (77 loc) · 2.68 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.DhcpGetServerSpecificStrings
DhcpGetServerSpecificStrings function (dhcpsapi.h)
Retrieves the names of the default vendor class and user class.
DhcpGetServerSpecificStrings
DhcpGetServerSpecificStrings function [DHCP]
dhcp.dhcpgetserverspecificstrings
dhcpsapi/DhcpGetServerSpecificStrings
dhcp\dhcpgetserverspecificstrings.htm
DHCP
dc283fa3-6077-4010-8c71-9dc91ed2dadf
12/05/2018
DhcpGetServerSpecificStrings, DhcpGetServerSpecificStrings function [DHCP], dhcp.dhcpgetserverspecificstrings, dhcpsapi/DhcpGetServerSpecificStrings
dhcpsapi.h
Windows
None supported
Windows Server 2008 R2 [desktop apps only]
Dhcpsapi.lib
Dhcpsapi.dll
Windows
19H1
DhcpGetServerSpecificStrings
dhcpsapi/DhcpGetServerSpecificStrings
c++
APIRef
kbSyntax
DllExport
Dhcpsapi.dll
DhcpGetServerSpecificStrings

DhcpGetServerSpecificStrings function

-description

The DhcpGetServerSpecificStrings function retrieves the names of the default vendor class and user class.

-parameters

-param ServerIpAddress [in]

Unicode string that specifies the IPv4 address of the DHCPv4 server.

-param ServerSpecificStrings [out]

Pointer to a DHCP_SERVER_SPECIFIC_STRINGS structure that receives the information for the default vendor class and user class name strings.

Note  

The memory for this parameter must be free using DhcpRpcFreeMemory.

 

-returns

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

Return code Description
ERROR_DHCP_JET_ERROR
An error occurred while accessing the DHCP server database.

-see-also

DHCP_SERVER_SPECIFIC_STRINGS