Packet Sniffer SDK DLL Edition

Events :: OnThreadBegin

 Previous Next

Tracks the creating of the internal component thread.

Syntax:

void __stdcall OnThreadBegin(DWORD_PTR Param, DWORD_PTR *pThParam);

Parameters:

Param

[in] OnThreadBegin event handler parameter. May be set by the (AdpSetOnThreadBegin, QueSetOnThreadBegin, LbAdpSetOnThreadBegin) functions call.

ThParam

[out] User defined thread parameter, is available only in the calling thread context (see HNFN_PKTRECEIVE, HNFN_LBCONNECT, HNFN_LBDISCONNECT, HNFN_LBTCPPKTRECEIVE, HNFN_LBUDPPKTRECEIVE).

Description:

Set this event handler to execute necessary functions at the moment of the creation of the internal component thread. This event handler is called in the context of the internal component thread immediately after successful AdpOpenAdapter, QueStart, LbAdpOpenAdapter functions execution.

See also:HNAdapter, AdpSetOnThreadBegin, QueSetOnThreadBegin, LbAdpSetOnThreadBegin, AdpOpenAdapter, AdpOpenAdapter, QueStart, LbAdpOpenAdapter, HNFN_PKTRECEIVE, HNFN_LBCONNECT, HNFN_LBDISCONNECT, HNFN_LBTCPPKTRECEIVE, HNFN_LBUDPPKTRECEIVE