CoRegisterMallocSpy3w
Usage
HRESULT CoRegisterMallocSpy
(
LPMALLOCSPY pMallocSpy
)
Overview
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".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.