CoTaskMemFree
void CoTaskMemFree(pv)
Semantically identical to retrieving the current task allocator with CoGetMalloc, invoking IMalloc::Free on that pointer with the same parameters, then releasing the IMalloc pointer.
Argument
Type
Description
pv
void *
Pointer to the block to free. May be NULL.