Packet Sniffer SDK DLL Edition

Events :: OnDelete

 Previous Next

Tracks the releasing of the queue resources.

Syntax:

void __stdcall OnDelete(DWORD_PTR Param);

Parameters:

Param

[in] OnDelete event handler parameter. May be set by the QueSetOnDelete function call.

Description:

Define this event handler in order to execute all the necessary operations preceding the releasing of the queue resources. This event handler is called during QueFreeItems function execution.

Don't use HNPacket objects from the queue after QueFreeItems is executed, because the resources allocated for these objects before, are already released.

See also:HNQueue, QueSetOnDelete, QueFreeItems