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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MI_IsWramSlotUsed</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_IsWramSlotUsed* <IMG src="../../image/TWL.gif" align="middle"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;twl/mi.h&gt;</CODE><BR> <BR> <CODE>BOOL MI_IsWramSlotUsed( MIWramPos wram, int num )</CODE></dd>
20</dl>
21<dl>
22<dd><br> <CODE>(define)</CODE><br> <CODE>BOOL MI_IsWramSlotUsed_A( int num )</CODE><br> <CODE>BOOL MI_IsWramSlotUsed_B( int num )</CODE><br> <CODE>BOOL MI_IsWramSlotUsed_C( int num )</CODE></dd>
23</dl>
24<h2>Arguments</h2>
25<TABLE border="1" width="100%">
26  <TBODY>
27    <TR>
28<TD width="13%"><CODE>wram</CODE></TD>
29<TD width="87%">The WRAM to get information about.</TD>
30    </TR>
31    <TR>
32<TD><CODE>num</CODE></TD>
33<TD>The slot number of the WRAM to get information about.</TD>
34    </TR>
35  </TBODY>
36</TABLE>
37
38<h2>Return Values</h2>
39<p>Indicates whether the specified WRAM slot has been allocated and is in use by one of the processors. If TRUE, the specified slot is in use. If FALSE, it has not been allocated.</p>
40
41<H2>Description</H2>
42<P>Determines whether the specified WRAM slot is in use.</P>
43<P><CODE>num</CODE> indicates which slot number of the designated WRAM to check for use.</P>
44<P>The <CODE><A href="MI_GetUsedWramSlot.html">MI_GetUsedWramSlot*</A></CODE> functions are also available. These functions get all the information about the specified WRAM at once.</P>
45<P><CODE>MI_IsWramSlotUsed_A()</CODE> is the #define directive of <CODE>MI_IsWramSlotUsed( MI_WRAM_A, ... )</CODE>. <BR><CODE>MI_IsWramSlotUsed_B()</CODE> is the #define directive of <CODE>MI_IsWramSlotUsed( MI_WRAM_B, ... )</CODE>. <BR><CODE>MI_IsWramSlotUsed_C()</CODE> is the #define directive of <CODE>MI_IsWramSlotUsed( MI_WRAM_C, ... )</CODE>. </P>
46<h2>See Also</h2>
47<P><A href="MI_GetUsedWramSlot.html"><CODE>MI_GetUsedWramSlot*</CODE></A><BR> <A href="../mi_constant.html">MI-Related Constants</A> <BR> <A href="about_Wram.html">Overview (Work RAM)</A></P>
48
49<H2>Revision History</H2>
50<P>2008/05/29 Added info about the <CODE><A href="MI_GetUsedWramSlot.html">MI_GetUsedWramSlot*</A></CODE> functions.<BR>2007/10/08 Initial version.</P>
51<hr><p>CONFIDENTIAL</p></body>
52</html>
53