Packet Sniffer SDK DLL Edition
HNPacket :: Properties :: PktGetMediumType | | Previous Next |
Returns the network adapter type.
Syntax:
DWORD __stdcall PktGetMediumType(HANDLE hPkt);
Parameters:
hPkt
[in] HNPacket object handle.
Return values:
If the function succeeds the return value will be the network adapter type, otherwise it will be atUnknown.
Description:
Use PktGetMediumType to detect the type of the adapter which received this packet.