This topic has not yet been rated - Rate this topic

IMalloc::Free (Windows Embedded CE 6.0)

1/6/2010

This method frees a previously allocated block of memory.


void Free(
  void* pv 
);
pv

[in] Pointer to the memory block to be freed.

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

Ee488292.note(en-US,WinEmbedded.60).gifNote:
The pv parameter can be NULL. If so, this method has no effect.

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Headerobjidl.h, objidl.idl
Libraryole32.lib
Windows Embedded CEWindows CE 3.0 and later
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.