SHGetMalloc.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

SHGetMalloc (SHELL32.@)

SYNOPSIS

HRESULT SHGetMalloc
 (
  LPMALLOC* lpmal
 )

DESCRIPTION

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.

SEE ALSO

CoGetMalloc, SHLoadOLE

IMPLEMENTATION

Defined in "shlobj.h".

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

Debug channel "shell".