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.