Checks the memory pool for internal consistency.
BOOLEAN mpool_check(
    MPOOL pool, 
    DWORD flags
);
Parameters
pool 
- The memory pool created by mpool_create. 
 flags 
- Valid values include: 
| MPOOL_CHECK_FAST | 
Perform a fast check. | 
 
Remarks
Use this call only in a low-priority context as it may slow your system. The pool is locked for the duration of the call.
Return Values
- TRUE 
 - Success. 
 - FALSE 
 - Failure. The function sets errno to one of these values: 
EEXIST | 
The pool is deleted. | 
EINVAL | 
The pool is not a valid MPOOL or an internal error was detected. | 
  
Requirements
| Versions | 
Defined in | 
Include | 
Link to | 
| INtime 4.0 | 
intime/rt/include/mpool.h | 
mpool.h | 
clib.lib | 
      
            
            See Also