CoRegisterMallocSpy.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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".

Debug channel "olemalloc".