Packet Sniffer SDK DLL Edition

HNFileAdapter :: Properties :: FAdpGetCapFormat

 Previous Next

Returns the CAP file type.

Syntax:

DWORD __stdcall FAdpGetCapFormat(HANDLE hFAdp);

Parameters:

hFAdp

[in] HNFileAdapter object handle.

Return values:

If the function succeeds the return value will be the CAP file type (see HNCapFormat).

Description:

Use FAdpGetCapFormat to predetermine CAP file format type before creation of it (see FAdpCreateFile), or to detect it after it is opened (see FAdpOpenFile).

See also:HNFileAdapter, HNCapFormat, FAdpSetCapFormat, FAdpCreateFile, FAdpOpenFile