Packet Sniffer SDK DLL Edition

HNQueue :: Methods :: QueReturnFullItem

 Previous Next

Returns HNPacket element with Full status back to the queue.

Syntax:

void __stdcall QueReturnFullItem(HANDLE hQue, HANDLE hPkt);

Parameters:

hQue

[in] HNQueue object handle.

hPacket

[in] HNPacket object handle.

Description:

Use QueReturnFullItem to return free HNPacket object back to the queue after it is used by your application.

After QueReturnFullItem is executed FullCount [Get] property will be changed. Also, if another thread was awaiting for QueGetFullItem function completion, its status will be changed.

If there are HNPacket objects non-returned to the queue, then after deleting of queue element or releasing queue resources by QueFreeItems function memory access errors may occur if you use such objects.
See also:HNQueue, QueGetFullCount, QueGetFreeItem, QueGetFullItem