Packet Sniffer SDK DLL Edition

HNQueue :: Properties :: QueGetAllocatedSize

 Previous Next

Returns total size of the memory pool used by queue.

Syntax:

DWORD __stdcall QueGetAllocatedSize(HANDLE hQue);

Parameters:

hQue

[in] HNQueue object handle.

Return values:

If the function succeeds the return value will be total size of the memory pool used by queue.

Description:

Use QueGetAllocatedSize to get total size of the memory pool used by queue. AllocatedSize property will be changed after QueAllocItems and QueFreeItems functions are called.

See also:HNQueue, QueAllocItems, QueFreeItems