Reference

CoGetMalloc(3w)

NAME

CoGetMalloc (OLE32.@)

SYNOPSIS

HRESULT CoGetMalloc
(
DWORD dwMemContext,
LPMALLOC* lpMalloc
)

DESCRIPTION

Retrieves the current IMalloc interface for the process.

PARAMS

dwMemContext [In] .

lpMalloc [Out] Address where memory allocator object will be stored.

RETURNS

Success: S_OK.

Failure: HRESULT code.

IMPLEMENTATION

Declared in "objbase.h".

Implemented in "dlls/ole32/ifs.c".

Debug channel "olemalloc".

History