Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32def.h
Link against:

__KHEAP_SETFAIL

__KHEAP_SETFAIL(aType,aValue) User::__DbgSetAllocFail(RHeap::EKernel,aType,aValue)

Support

Supported from 5.0

Description

Simulates Kernel heap allocation failure. The failure occurs on subsequent calls to new or any of the functions which allocate memory from this heap.

This macro is defined only for debug builds.

Parameters

aType

The type of failure to be simulated.

aValue

The failure rate.

See also: