CHtmlStream::Alloc
virtual BYTE* Alloc( DWORD nBytes );
Return Value
A pointer to the memory block that was allocated, or NULL if the allocation failed.
Parameters
nBytes
Number of bytes of memory to be allocated.
Remarks
Called by the framework to allocate memory. Override this function to implement custom memory allocation. If you override this function, override Free, too.
The default implementation uses the run-time library function to allocate memory.
CHtmlStream Overview | Class Members | Hierarchy Chart
See Also CHtmlStream::Realloc