UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:objidl.IMalloc.DidAlloc |
IMalloc::DidAlloc (objidl.h) |
The IMalloc::DidAlloc method (objidl.h) determines whether this allocator was used to allocate the specified block of memory. |
|
com\imalloc_didalloc.htm |
com |
085dd7cd-c360-48fa-8713-64dd9057e20d |
08/12/2022 |
DidAlloc, DidAlloc method [COM], DidAlloc method [COM],IMalloc interface, IMalloc interface [COM],DidAlloc method, IMalloc.DidAlloc, IMalloc::DidAlloc, _com_imalloc_didalloc, com.imalloc_didalloc, objidlbase/IMalloc::DidAlloc |
objidl.h |
ObjIdl.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
ObjIdl.idl |
Windows |
19H1 |
|
|
|
|
|
|
Determines whether this allocator was used to allocate the specified block of memory.
A pointer to the block of memory. If this parameter is a NULL pointer, -1 is returned.
This method can return the following values.
Return value | Description |
---|---|
|
The block of memory was allocated by this allocator. |
|
The block of memory was not allocated by this allocator. |
|
This method cannot determine whether this allocator allocated the block of memory. |