Packet Sniffer SDK DLL Edition
HNAdapterConfig :: Properties :: AdpCfgGetAdapterName | | Previous Next |
Returns the network adapter system name.
Syntax:
LPCTSTR __stdcall AdpCfgGetAdapterName(HANDLE hCfg);
Parameters:
hCfg
Return values:
Returns the pointer to the string containing the network adapter system name.
Description:
Use AdpCfgGetAdapterName to obtain the string with the network adapter system name
(e.g., "\Device\{86EFC4F6-0BEC-44C3-B08D-425C931557B7}").
This name is unique for each device on the system, so you can use it for settings storing in your application.
Requirements:
Unicode
Implemented as AdpCfgGetAdapterNameW (Unicode) and AdpCfgGetAdapterNameA (ANSI).