CoRegisterMallocSpy (OLE32.@)
HRESULT CoRegisterMallocSpy ( LPMALLOCSPY pMallocSpy )
Registers an object that receives notifications on memory allocations and frees.
pMallocSpy | [In] | New spy object. |
Success: S_OK.
Failure: HRESULT code.
if a mallocspy is already registered, we can't do it again since only the spy knows, how to free a memory block
Defined in "objbase.h".
Implemented in "dlls/ole32/ifs.c". source.winehq.org/source/dlls/ole32/ifs.c
Debug channel "olemalloc".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.