Packet Sniffer SDK DLL Edition

HNAdapterConfig :: Properties :: AdpCfgGetIpCount

 Previous Next

Returns the number of IP addresses, assigned to the network adapter card.

Syntax:

DWORD __stdcall AdpCfgGetIpCount(HANDLE hCfg);

Parameters:

hCfg

[in] HNAdapterConfig object handle.

Return values:

If the function succeeds the return value will be the number of IP addresses, assigned to the network adapter card.

Description:

Use AdpCfgGetIpCount to obtain the number of IP addresses assigned to the network adapter card.

You should take into account this value if you call AdpCfgGetIp and AdpCfgGetSubnetMask functions.

See also:HNAdapterConfig, AdpCfgGetIp, AdpCfgGetSubnetMask