Packet Sniffer SDK VCL Edition

HNFileAdapter :: Events :: OnFileClose

 Previous Next

Fires on CAP file close.

Syntax:

TOnFileClose = procedure (Sender : TObject;
                         ThParam : Pointer;
                          Result : DWORD) of object;

Parameters:

ThParam

[in] User defined thread parameter (see HNFileAdapter.OnThreadBegin).

Result

[in] The reason of the OnFileClose triggering.

Description:

PSSDK calls OnFileClose event handler only in HNFileAdapter AutoMode. OnFileClose event fires in context of the HNFileAdapter internal thread.

See also:HNFileAdapter, HNFileAdapter.AutoMode, Error codes