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_IsEnabled</title>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</head>
10<body>
11<h1 align="left">CTRDG_IsEnabled <IMG src="../image/NTR.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<dl>
14  <dd>
15<CODE>#include &lt;nitro/ctrdg.h&gt;</CODE><BR>
16  <BR>
17  <CODE>BOOL CTRDG_IsEnabled(void);</CODE><br>
18  <br>
19  </dd>
20</dl>
21<h2>Arguments</h2>
22<p>None.</p>
23<h2>Return Values</h2>
24<p>Returns TRUE if access to the AGB cartridge is enabled; otherwise, returns FALSE.</p>
25<H2>Description</H2>
26<P>This function checks access permission status to determine whether access to the AGB Game Pak is enabled. The program will forcibly halt if an attempt is made to access the AGB Game Pak while access is disabled. Note that this access permission does not apply to direct AGB Game Pak operations that do not use the CTRDG library. To learn more about functions that to which this access permission applies, see the <A href="CTRDG_Enable.html"><CODE>CTRDG_Enable</CODE></A> function reference page.</font><br> By default, the access permission status is set to <CODE>FALSE</CODE>; to change it, use the <A href="CTRDG_Enable.html"><CODE>CTRDG_Enable</CODE></A> function. <br>
27</p>
28<BR>
29<h2>See Also</h2>
30<p>
31<A href="CTRDG_Init.html">CTRDG_Init</A><BR> <A href="CTRDG_Enable.html">CTRDG_Enable</A><BR> <A href="CTRDG_CheckEnabled.html">CTRDG_CheckEnabled</A> <BR>
32</P>
33<H2>Revision History</H2>
34<P>
352005/12/01 Initial version.
36</P>
37<hr><p>CONFIDENTIAL</p></body>
38</html>
39