DOS/32 Advanced DOS Extender - D32A C/C++ Run-Time Library Reference
4.11 - DOS/32 Advanced D32A Library function - d32a_getmemblock_info()
Synopsys:
#include <d32a.h>
int d32a_getmemblock_info(char *Ptr, D32A_MEMBLOCKINFO *BlockInfo);
typedef struct _D32A_MEMBLOCKINFO {
unsigned long BlockBase;
unsigned long BlockSize;
unsigned long BlockHandle;
unsigned long BlockAttr;
} D32A_MEMBLOCKINFO;
Description:
The d32a_getmemblock_info function retrieves the information about
a memory block with handle Ptr previously allocated with functions
d32a_malloc, d32a_malloc_low and d32a_malloc_high. The information is
then stored in the BlockInfo structure.
Returns:
If successful, the BlockInfo structure is filled with information about
memory block with handle Ptr and the function returns TRUE. If failed, when
the Ptr handle is invalid (the block does not exists or has been previously
freed by d32a_free function), the BlockInfo structure is not modified and
the function returns FALSE.
Copyright © DOS/32 Advanced Team 1996-2002 All Rights Reserved
|