SHGetMalloc (Windows CE 5.0)
This function retrieves a pointer to the shell's IMalloc interface. A shell extension must use this interface to allocate memory that is later freed by the shell. Applications can also use this interface to allocate and free their own memory.
HRESULT SHGetMalloc( LPMALLOC* ppMalloc );
- [out] Pointer to a pointer that receives the shell's IMalloc interface pointer.
NOERROR indicates success. E_FAIL indicates failure.
OS Versions: Windows CE 2.12 and later.
Link Library: Ceshell.lib.
Send Feedback on this topic to the authors