Location:
e32base.h
Link against: euser.lib
class CTrapCleanup : public CBase;
Cleanup stack interface.
The creation and destruction of a cleanup stack is done automatically by GUI applications and servers.
CBase
- Base class for all classes to be instantiated on the heap
CTrapCleanup
- Cleanup stack interface
Defined in CTrapCleanup
:
CTrapCleanup()
, New()
, ~CTrapCleanup()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
IMPORT_C ~CTrapCleanup();
Destructor.
Frees resources owned by the object, prior to its destruction. This cleanup stack ceases to be the current cleanup stack.
If there is a stack of cleanup stacks, then the next cleanup stack becomes the current cleanup stack.
static IMPORT_C CTrapCleanup *New();
Allocates and constructs a cleanup stack.
If successfully constructed, this cleanup stack becomes the current cleanup stack.
|