Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Call this method to allocate a block of memory.
virtual 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 CComHeap::Free or CComHeap::Reallocate to free the memory allocated by this method.
Implemented using CoTaskMemAlloc.
Requirements
Header: atlcommem.h