Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Allocates, frees, and manages memory.
The IMalloc interface inherits from the IUnknown interface. IMalloc also has these types of members:
The IMalloc interface has these methods.
IMalloc::DidAlloc The IMalloc::DidAlloc (objidlbase.h) method determines whether this allocator was used to allocate the specified block of memory. |
IMalloc::Free The IMalloc::Free (objidlbase.h) method frees a previously allocated block of memory. |
IMalloc::GetSize The IMalloc::GetSize (objidlbase.h) method retrieves the size of a previously allocated block of memory. |
IMalloc::HeapMinimize The IMalloc::HeapMinimize (objidlbase.h) method minimizes the heap by releasing unused memory to the operating system. |
IMalloc::Realloc The IMalloc::Realloc (objidlbase.h) method changes the size of a previously allocated block of memory. |
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | objidlbase.h (include ObjIdl.h) |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!