Skip to content

Latest commit

 

History

History
93 lines (68 loc) · 2.92 KB

nf-dhcpsapi-dhcpserverqueryattributes.md

File metadata and controls

93 lines (68 loc) · 2.92 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.DhcpServerQueryAttributes
DhcpServerQueryAttributes function (dhcpsapi.h)
Returns an array of attributes set on the DHCP server.
DhcpServerQueryAttributes
DhcpServerQueryAttributes function [DHCP]
dhcp.dhcpserverqueryattributes
dhcpsapi/DhcpServerQueryAttributes
dhcp\dhcpserverqueryattributes.htm
DHCP
24c3e7b2-80eb-4fee-aea6-38243d25c50b
12/05/2018
DhcpServerQueryAttributes, DhcpServerQueryAttributes function [DHCP], dhcp.dhcpserverqueryattributes, dhcpsapi/DhcpServerQueryAttributes
dhcpsapi.h
Windows
None supported
Windows Server 2008 R2 [desktop apps only]
Dhcpsapi.lib
Dhcpsapi.dll
Windows
19H1
DhcpServerQueryAttributes
dhcpsapi/DhcpServerQueryAttributes
c++
APIRef
kbSyntax
DllExport
Dhcpsapi.dll
DhcpServerQueryAttributes

DhcpServerQueryAttributes function

-description

The DhcpServerQueryAttributes function returns an array of attributes set on the DHCP server.

-parameters

-param ServerIpAddr [in]

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

-param dwReserved [in]

Reserved. This value must be set to zero.

-param dwAttribCount [in]

Specifies the number of attributes listed in pDhcpAttribArr.

-param pDhcpAttribs [in]

Specifies an array of DHCP_ATTRIB_ID values (of length dwAttribCount) to retrieve the corresponding attribute information from.

-param pDhcpAttribArr [out]

Pointer to a DHCP_ATTRIB_ARRAY structure that contains the attributes directly corresponding to the attribute ID values specified in pDhcpAttribs[].

-returns

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

-remarks

A DHCP server attribute is a value that can be queried to determine supported and available features.

Callers of this function should free the memory pointed to by pDhcpAttribs and pDhcpAttribArr after use.

-see-also

DHCP_ATTRIB_ARRAY

DhcpServerQueryAttribute