NAME

SHGetMalloc  (SHELL32.@)

SYNOPSIS

 HRESULT SHGetMalloc
 (
  LPMALLOC* lpmal
 )

DESCRIPTION

Equivalent to CoGetMalloc(MEMCTX_TASK, ...). Under Windows® 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

Declared in "shlobj.h". https://source.winehq.org/source/include/shlobj.h

Implemented in "dlls/shell32/shellole.c". https://source.winehq.org/source/dlls/shell32/shellole.c

Debug channel "shell".


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2021.