MBM.PoolGetBlock (FUN)

( CAA_MemBlockMan.Library)

A free block from the pool is requested. If there is still a block available, its handle will be returned via hBlock. If no blocks are available CAA.gc_hINVALID will be returned.

Input:

hPool

CAA.HANDLE

Handle of the block pool.

peError

POINTER TO MBM.ERROR

Pointer on error ID.

Output:

hBlock

CAA.PVOID

Handle of the block pool.