1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3 4<HEAD> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 8 9<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 10 11 <TITLE>MEMFindContainHeap</TITLE> 12 13</HEAD> 14 15 16<BODY> 17 18<H1>MEMFindContainHeap</H1> 19 20<H2>Syntax</H2> 21<DL><DD><PRE class="construction"> 22#include <revolution/mem.h> 23 24MEMHeapHandle MEMFindContainHeap( const void* memBlock ); 25</PRE></DD></DL> 26 27<H2>Arguments</H2> 28<TABLE class="arguments" border="1"> 29 <TR> 30<TH><STRONG><EM><CODE>memBlock</CODE></EM></STRONG></TH> 31<TD>Memory block to search for.</TD> 32 </TR> 33</TABLE> 34 35<H2>Return Values</H2> 36<P>Returns the heap handle if the heap that contains the specified memory block is found. Otherwise, returns <CODE>MEM_HEAP_INVALID_HANDLE</CODE> (a <CODE>NULL</CODE> value).</P> 37 38<H2>Description</H2> 39<P>Finds the heap that includes the specified memory block.</P> 40 41<H2>See Also</H2> 42<P class="reference"> 43<A href="../ExpHeap/MEMAllocFromExpHeap.html">MEMAllocFromExpHeap</A>, 44<A href="../FrmHeap/MEMAllocFromFrmHeap.html">MEMAllocFromFrmHeap</A>, 45<A href="../UnitHeap/MEMAllocFromUnitHeap.html">MEMAllocFromUnitHeap</A> 46</P> 47 48 49<H2>Revision History</H2> 50<P> 512006/03/01 Initial version.<BR> 52</P> 53 54<hr><p>CONFIDENTIAL</p></body> 55</HTML> 56