Packet Sniffer SDK DLL Edition

HNFileAdapter :: Methods :: FAdpCreate

 Previous Next

Creates an HNFileAdapter object.

Syntax:

HANDLE __stdcall FAdpCreate();

Return values:

If the function succeeds, the return value will be the handle of the HNFileAdapter object. Otherwise the return value will be NULL. The one only reason for unsuccessful HNFileAdapter object creation can be a lack of memory.

Description:

Creates an instance of HNFileAdapter necessary to work with a CAP file.

HNFileAdapter provides reading/dumping packets from/to a CAP file and gathering the traffic statistics.

See also:HNFileAdapter, FAdpDestroy