NAME
CoRegisterMallocSpy (OLE32.@)
SYNOPSIS
HRESULT CoRegisterMallocSpy
(
LPMALLOCSPY pMallocSpy
)
DESCRIPTION
Registers an object that receives notifications on memory allocations and frees.
PARAMS
pMallocSpy [In] New spy object.
RETURNS
Success: S_OK.
Failure: HRESULT code.
NOTES
if a mallocspy is already registered, we can't do it again since only the spy knows, how to free a memory block
IMPLEMENTATION
Declared in "objbase.h".
Implemented in "dlls/ole32/ifs.c".
Debug channel "olemalloc".