Skip to content

Latest commit

 

History

History
107 lines (92 loc) · 2.35 KB

nf-objidl-imalloc-didalloc.md

File metadata and controls

107 lines (92 loc) · 2.35 KB
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.
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
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
IMalloc::DidAlloc
objidl/IMalloc::DidAlloc
c++
APIRef
kbSyntax
COM
objidlbase.h
IMalloc.DidAlloc

IMalloc::DidAlloc

-description

Determines whether this allocator was used to allocate the specified block of memory.

-parameters

-param pv [in]

A pointer to the block of memory. If this parameter is a NULL pointer, -1 is returned.

-returns

This method can return the following values.

Return value Description
1
The block of memory was allocated by this allocator.
0
The block of memory was not allocated by this allocator.
-1
This method cannot determine whether this allocator allocated the block of memory.

-see-also

IMalloc