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=utf-8">
6<META http-equiv="Content-Style-Type" content="text/css">
7
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9
10<!-- タイトル名 -->
11<TITLE>SCGetSimpleAddressRegionIdHi</TITLE>
12
13</HEAD>
14
15
16<BODY>
17
18
19<!-- タイトル名 -->
20<H1>SCGetSimpleAddressRegionIdHi</H1>
21
22
23<H2>Syntax</H2>
24<dl><dd><pre class="construction">#include &lt;revolution/sc.h&gt;
25
26#define SC_SIMPLE_ADDRESS_REGION_ID_HI_UNDEFINED  (0x00)
27#define SC_SIMPLE_ADDRESS_REGION_ID_HI_UNDEFINED2 (0xff)
28
29BOOL SCGetSimpleAddressRegionIdHi(u8* <em>id</em>);
30</pre></dd></dl>
31
32
33<H2>Arguments</H2>
34<TABLE border="1" cellpadding="3" cellspacing="0.1">
35  <TBODY>
36    <TR>
37      <TD width="30%" bgcolor="#ffffe8"><em><strong><code>id</code></strong></em></TD>
38      <TD width="*">Wide-area region ID.</TD>
39    </TR>
40  </TBODY>
41</TABLE>
42
43
44<H2>Return Values</H2>
45<P>Returns <code>TRUE</code> if the reference to the setting succeeds. Returns <CODE>FALSE</CODE> if it fails.</P>
46
47
48<H2>Description</H2>
49<P>References the simple address data's wide-area region ID.</p>
50
51<p><I>Simple address data</I> is the comprehensive term for the 32-bit value derived from the <I>Wide-Area Region ID</I> (representing the country equivalent) and the <I>Detailed Region ID</I> (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 the Wide-Area Region ID that has been set on these menus.
52</p><p>
53The 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>
54
55<p>Note that a time has not been decided for releasing the means of setting and getting the <EM>Detailed Region ID</EM>.</p>
56
57<H2>See Also</H2>
58<p class="reference">
59<A href="RegionList_SimpleAddress.xls">RegionList_SimpleAddress.xls</A>
60
61<H2>Revision History</H2>
62<P>
632008/11/04 Changed file link.<br> 2008/08/25 Added information to <B>Description</B>.<br> 2008/06/30 Initial version.</P>
64
65<hr><p>CONFIDENTIAL</p></body>
66</HTML>
67