1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>CTRDG_IsPulledOut</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">CTRDG_IsPulledOut <IMG src="../image/NTR.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <PRE><CODE>#include &lt;nitro/ctrdg.h&gt;</CODE></PRE>
16  <PRE><CODE>BOOL CTRDG_IsPulledOut( void );
17  </CODE></PRE>
18</DL>
19<H2>Arguments</H2>
20<P>None.</P>
21<H2>Return Values</H2>
22<P>Returns a value of TRUE when a Game Pak is removed. Otherwise it returns a value of FALSE. This function will always return a value of FALSE after the initial removal of an Game Pak.</P>
23<H2>Description</H2>
24<P>This function detects the removal of a Game Pak. <br> This function can be called when the cartridge bus is locked with the <a href="../os/spinLock/OS_LockCartridge.html"><CODE>OS_LockCartridge</CODE></a> function. However, while the bus is locked, the ARM7 does not detect removal automatically, so call the <A href="CTRDG_IsExisting.html"><CODE>CTRDG_IsExisting</CODE></A> function at regular intervals, such as each game frame, during which the player cannot perform a re-insert operation. (This function internally calls the <A href="CTRDG_IsExisting.html"><CODE>CTRDG_IsExisting</CODE></A> function.)
25</P>
26
27
28<H2>See Also</H2>
29<P><A href="CTRDG_Init.html"><code>CTRDG_Init</code></A>, <A href="CTRDG_IsExisting.html"><code>CTRDG_IsExisting</code></A></P>
30<H2>Revision History</H2>
31<P>
322005/04/12 Added description of cartridge bus lock.<br /> 2004/09/15 Initial version.
33</P>
34<hr><p>CONFIDENTIAL</p></body>
35</HTML>
36