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

Defined in "objbase.h".

Implemented in "dlls/ole32/ifs.c". source.winehq.org/source/dlls/ole32/ifs.c

Debug channel "olemalloc".


Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.