Contents Index Topic Contents | ||
Previous Topic: SHGetInstanceExplorer Next Topic: SHGetNewLinkInfo |
SHGetMalloc
HRESULT SHGetMalloc( LPMALLOC *ppMalloc );Retrieves a pointer to the shell's IMalloc interface. This interface must be used to free memory that was allocated by the shell or to allocate memory that will be freed by the shell. Applications can also use this interface to allocate and free their own memory.
- Returns NOERROR if successful, or E_FAIL otherwise.
- ppMalloc
- Address of a pointer that receives the shell's IMalloc interface pointer.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.