Packet Sniffer SDK DLL Edition

HNFileAdapter :: Properties :: FAdpSetCapFormat

 Previous Next

Sets the CAP file type.

Syntax:

DWORD __stdcall FAdpSetCapFormat(HANDLE hFAdp, DWORD CapFormat);

Return values:

If the function succeeds the return value will be the CapFormat parameter value.

Parameters:

hFAdp

[in] HNFileAdapter object handle.

CapFormat

[in] CAP file type (see HNCapFormat).

Description:

Use FAdpSetCapFormat to set CAP file format before FAdpCreateFile function call to make HNFileAdpater object to create CAP file of desired format.

See also:HNFileAdapter, HNCapFormat, FAdpSetCapFormat, FAdpCreateFile