Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this method to allocate a block of memory.
void* Allocate(
size_t nBytes
) throw( );
Parameters
- nBytes
The requested number of bytes in the new memory block.
Return Value
Returns a pointer to the start of the newly allocated memory block.
Remarks
Call IAtlMemMgr::Free or IAtlMemMgr::Reallocate to free the memory allocated by this method.
Example
For an example, see the IAtlMemMgr Overview.
Requirements
Header: atlmem.h