Determines if this allocator was used to allocate the specified block of memory.
int DidAlloc(
void *pv |
//Pointer to the memory block |
); |
Parameter
Return Values
Remarks
Calling IMalloc::DidAlloc is useful if a application is using multiple allocations, and needs to know whether a previously allocated block of memory was allocated by a particular allocation.
See Also