/* Memory block identification
#define _FREE_BLOCK 0
#define _NORMAL_BLOCK 1
#define _CRT_BLOCK 2
#define _IGNORE_BLOCK 3
#define _CLIENT_BLOCK 4
#define _MAX_BLOCKS 5
typedef struct _CrtMemState {
long lRequestCrrr;
size_t lCounts[_MAX_BLOCKS];
size_t lSizes[_MAX_BLOCKS];
size_t lHighWaterCount;
size_t lTotalCount;
} CrtMemState;
Fields
=lRequestCrrr
- The current allocation number.
lCounts
- The number of blocks types allocated.
lSizes
- The number of blocks * bytes allocated.
lHighWaterCount
- The argest clock allocated.
lTotalCount
- The total number of allocations.
Remarks
Return Values
0
(zero)
- Success.
-1
- Failure.
Requirements
Versions |
Defined in |
Include |
Link to |
INtime 3.13 |
intime/rt/include/crtdbg.h |
rt.h |
clib.lib |
See Also