Packet Sniffer SDK DLL Edition

Events :: OnFileClose

 Previous Next

Fires on CAP file close.

Syntax:

void __stdcall OnFileClose(DWORD_PTR Param, DWORD_PTR ThParam, DWORD Result);

Parameters:

Param

[in] OnFileClose event handler parameter. May be set by the FAdpSetOnFileClose function call.

ThParam

[in] User defined thread parameter (see HNFN_THREADBEGIN).

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, FAdpSetOnFileClose