Skip to content

Latest commit

 

History

History
71 lines (57 loc) · 2.16 KB

nf-objidlbase-imalloc-free.md

File metadata and controls

71 lines (57 loc) · 2.16 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:objidlbase.IMalloc.Free
IMalloc::Free (objidlbase.h)
The IMalloc::Free (objidlbase.h) method frees a previously allocated block of memory.
Free
Free method [COM]
Free method [COM]
IMalloc interface
IMalloc interface [COM]
Free method
IMalloc.Free
IMalloc::Free
_com_imalloc_free
com.imalloc_free
objidlbase/IMalloc::Free
com\imalloc_free.htm
com
d65411ea-13d5-4932-a757-d897311e9e28
08/13/2022
Free, Free method [COM], Free method [COM],IMalloc interface, IMalloc interface [COM],Free method, IMalloc.Free, IMalloc::Free, _com_imalloc_free, com.imalloc_free, objidlbase/IMalloc::Free
objidlbase.h
ObjIdl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
ObjIdl.idl
Windows
19H1
IMalloc::Free
objidlbase/IMalloc::Free
c++
APIRef
kbSyntax
COM
objidlbase.h
IMalloc.Free

IMalloc::Free

-description

Frees a previously allocated block of memory.

-parameters

-param pv [in]

A pointer to the memory block to be freed. If this parameter is NULL, this method has no effect.

-remarks

This method frees a block of memory previously allocated through a call to IMalloc::Alloc or IMalloc::Realloc. The number of bytes freed equals the number of bytes that were allocated. After the call, the block of memory pointed to by pv is invalid and can no longer be used.

-see-also

CoTaskMemFree

IMalloc