Table of Contents

AKRESULT __cdecl AK::MemoryMgr::SetMonitoring ( AkMemPoolId  in_poolId,
bool  in_bDoMonitor  
)

Enables or disables error notifications posted by a memory pool. The notifications are enabled by default when creating a pool. They are always disabled in the Release build.

Returns:
AK_Success if the pool exists
See also:
Parameters:
in_poolId  ID of memory pool
in_bDoMonitor  Enables error monitoring (has no effect in Release build)