Packet Sniffer SDK DLL Edition

HNAdapterConfig :: Properties :: AdpCfgGetAdapterType

 Previous Next

Returns the network adapter type.

Syntax:

DWORD __stdcall AdpCfgGetAdapterType(HANDLE hCfg);

Parameters:

hCfg

[in] HNAdapterConfig object handle.

Return values:

If the function succeeds the return value will be the network adapter type defined in the HNNetAdapterType enumeration.

Description:

Use AdpCfgGetAdapterType to obtain the network adapter type, defined in HNAdapterConfig object. Returned value is the device type set in the HNNetAdapterType enumeration.

See also:HNAdapterConfig, HNNetAdapterType