SHGetMalloc(3w)

SHGetMalloc3w

Usage

HRESULT SHGetMalloc
(
LPMALLOC* lpmal
)

Overview

Equivalent to CoGetMalloc(MEMCTX_TASK, ...). Under Windows(tm) 9x this function could use the shell32 built-in "mini-COM" without the need to load ole32.dll - see SHLoadOLE for details.

Params

lpmal [Out] Destination for IMalloc interface.

Returns

Success: S_OK. lpmal contains the shells IMalloc interface. Failure. An HRESULT error code.

Implementation

Declared in "shlobj.h".

Implemented in "dlls/shell32/shellole.c".

Debug channel "shell".

Releases

5 releases since Debian 2.0 (Hamm); the text changed 4 times.

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

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