CoRegisterMallocSpy(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.