Packet Sniffer SDK DLL Edition

HNAdapterConfig :: Properties :: AdpCfgGetMACAddrSize

 Previous Next

Returns the MAC address size.

Syntax:

DWORD __stdcall AdpCfgGetMACAddrSize(HANDLE hCfg);

Parameters:

hCfg

[in] HNAdapterConfig object handle.

Return values:

If the function succeeds the return value will be the MAC address size.

Description:

Use AdpCfgGetMACAddrSize to obtain the MAC address size in bytes.

Returned value may be useful to define the buffer size before AdpCfgGetMACAddress function call.

See also:HNAdapterConfig, AdpCfgGetMACAddress