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
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9
10<TITLE>SCGetSimpleAddressRegionIdHi</TITLE>
11
12</HEAD>
13
14
15<BODY>
16
17
18<H1>SCGetSimpleAddressRegionIdHi</H1>
19
20
21<H2>Syntax</H2>
22<dl><dd><pre class="construction">#include &lt;revolution/sc.h&gt;
23
24#define SC_SIMPLE_ADDRESS_REGION_ID_HI_UNDEFINED  (0x00)
25#define SC_SIMPLE_ADDRESS_REGION_ID_HI_UNDEFINED2 (0xff)
26
27BOOL SCGetSimpleAddressRegionIdHi(u8* <em>id</em>);
28</pre></dd></dl>
29
30
31<H2>Arguments</H2>
32<TABLE border="1" cellpadding="3" cellspacing="0.1">
33  <TBODY>
34    <TR>
35      <TD width="30%" bgcolor="#ffffe8"><em><strong><code>id</code></strong></em></TD>
36      <TD width="*">Wide-area region ID.</TD>
37    </TR>
38  </TBODY>
39</TABLE>
40
41
42<H2>Return Values</H2>
43<P>Returns <code>TRUE</code> if the reference to the setting succeeds. Returns <CODE>FALSE</CODE> if it fails.</P>
44
45
46<H2>Description</H2>
47<P>References the simple address data's wide-area region ID.</p>
48
49<p><EM>Simple address data</EM> is the comprehensive term for the 32-bit value derived from the <EM>Wide-Area Region ID</EM> representing the country equivalent and the <EM>Detailed Region ID</EM> representing the regions that make up that country equivalent (such as cities, towns, or villages). The Wide-Area Region ID is set by selecting country information on the Wii Menu or DEVKIT Menu, although the other ID cannot be set in this way. This function obtains is the Wide-Area Region ID that has been set on these menus.
50</p><p>
51The range of valid IDs is from 1 to 254. For the correspondence between IDs and region names, see <A href="RegionList_SimpleAddress.xls">RegionList_SimpleAddress.xls</A>.</P>
52
53<p>Note that a time has not been decided for releasing the means of setting and getting the <EM>Detailed Region ID</EM>.</p>
54
55<H2>See Also</H2>
56<p class="reference">
57<A href="RegionList_SimpleAddress.xls">RegionList_SimpleAddress.xls</A>
58
59<H2>Revision History</H2>
60<P>
612008/08/25 Added information to <B>Description</B>.<br>2008/06/30 Initial version.</P>
62
63<hr><p>CONFIDENTIAL</p></body>
64</HTML>
65