Packet Sniffer SDK DLL Edition

HNAdapterConfig :: Properties :: AdpCfgGetIpDhcpCount

 Previous Next

Returns the number of the IP addresses of DHCP servers set on the system.

Syntax:

DWORD __stdcall AdpCfgGetIpDhcpCount(HANDLE hCfg);

Parameters:

hCfg

[in] HNAdapterConfig object handle.

Return values:

If the function succeeds the return value will be the number of the IP addresses of DHCP servers set on the system.

Description:

Use AdpCfgGetIpDhcpCount to obtain the number of the IP addresses of DHCP servers set on the system. You should take into account this value when you call AdpCfgGetIpDhcp function.

See also:HNAdapterConfig