CoTaskMemRealloc
void CoTaskMemRealloc(pv, cb)
Semantically identical to retrieving the current task allocator with CoGetMalloc, invoking IMalloc::Realloc on that pointer with the same parameters, then releasing the IMalloc pointer.
Argument
Type
Description
pv
void *
Pointer to the block to reallocate. May be NULL.
cb
ULONG
The new size in bytes to allocate. May be zero.
return value
void *
The reallocated memory block, or NULL.