CHeapPtrBase::AllocateBytes
Call this method to allocate memory.
bool AllocateBytes(
size_t nBytes
) throw( );
Parameters
- nBytes
The number of bytes of memory to allocate.
Return Value
Returns true if the memory is successfully allocated, false otherwise.
Remarks
In debug builds, an assertion failure will occur if the CHeapPtrBase::m_pData member variable currently points to an existing value; that is, it is not equal to NULL.
Requirements
Header: atlcoll.h