Retrieves the default OLE task memory allocator (a pointer to the system
implementation of the IMalloc
interface) so applications can use it to manage memory.
| DWORD dwMemContext,
||//Indicates if memory is private or shared
| LPMALLOC * ppMalloc
||//Receives pointer to memory allocator on return
Indicates this is reserved; the value must be 1.
Receives a pointer to the memory allocator on return.
Indicates the allocator was retrieved successfully.
Indicates either dwMemContext
is not equal to 1, or ppMalloc
is an invalid out pointer.
Inidcates pointer wasn't returned because the system is out of memory.
The pointer to the IMalloc
interface pointer received through the ppMalloc
parameter cannot be called from a remote process
each process must have its own allocator.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages