Packet Sniffer SDK DLL Edition

Events :: OnThreadEnd

 Previous Next

Tracks the closing of the internal component thread.

Syntax:

void __stdcall OnThreadEnd(DWORD_PTR Param, DWORD_PTR ThParam);

Parameters:

Param

[in] OnThreadEnd event handler parameter. May be set by the (AdpSetOnThreadEnd, QueSetOnThreadEnd, LbAdpSetOnThreadEnd) functions call.

ThParam

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

Description:

Set this event handler to execute necessary functions at the moment of the closing of the internal component thread. This event handler is called in the context of the component thread during AdpCloseAdapter, QueStop, LbAdpCloseAdapter functions execution.

See also:HNAdapter, AdpSetOnThreadEnd, QueSetOnThreadEnd, LbAdpSetOnThreadEnd, HNFN_THREADBEGIN, AdpCloseAdapter, QueStop, LbAdpCloseAdapter