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 "include/shlobj.h". gitlab.winehq.org/wine/wine/blob/master/include/shlobj.h

Implemented in "dlls/shell32/shellole.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shell32/shellole.c

Debug channel "shell".


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