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.1.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>OSOwnerInfo[Ex]</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">OSOwnerInfo[Ex] <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></H1>
12
13<H2>Definition</H2>
14<P><IMG src="../../image/NTR.gif" align="middle"> <CODE><B>OSOwnerInfo</B></CODE></P>
15<DL>
16  <DD>
17<PRE><CODE>#include &lt;nitro/os.h&gt;</CODE></PRE>
18  <PRE><CODE>typedef struct OSOwnerInfo
19{
20    u8          language;
21    u8          favoriteColor;
22    struct {
23        u8          month;
24        u8          day;
25
26    }           birthday;
27    u16         nickName[ 11 ];
28    u16         nickNameLength;
29    u16         comment[ 27 ];
30    u16         commentLength;
31
32} OSOwnerInfo;</CODE></PRE>
33</DL>
34<P><BR> <IMG src="../../image/TWL.gif" align="middle"> <CODE><B>OSOwnerInfoEx</B></CODE></P>
35<DL>
36  <DD>
37<PRE><CODE>#include &lt;twl/os.h&gt;</CODE></PRE>
38  <PRE><CODE>typedef struct OSOwnerInfoEx
39{
40    u8          language;
41    u8          favoriteColor;
42    struct {
43        u8          month;
44        u8          day;
45
46    }           birthday;
47    u16         nickName[ 11 ];
48    u16         nickNameLength;
49    u16         comment[ 27 ];
50    u16         commentLength;
51    u8                       country;
52    u8          padding;
53} OSOwnerInfoEx;</CODE></PRE>
54</DL>
55
56
57<H2>Elements</H2>
58<P>The only difference between <CODE>OSOwnerInfo</CODE> and <CODE>OSOwnerInfoEx</CODE> is the last member variable, <B><I>country</I></B>.</P>
59<P><IMG src="../../image/NTR.gif" align="middle"> <CODE><B>OSOwnerInfo</B></CODE></P>
60<TABLE border="1" width="100%">
61  <TBODY>
62    <TR>
63<TD rowspan="10" width="200"><em><strong><font face="Courier New">language</font></strong></em></TD>
64<TD colspan="3">Language code. The following values are valid. (This code may be expanded in the future.)</TD>
65    </TR>
66    <TR>
67<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_JAPANESE</FONT></I></B></TD>
68<TD width="500">Japanese</TD>
69    </TR>
70    <TR>
71<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_ENGLISH</FONT></I></B></TD>
72<TD width="500">English</TD>
73    </TR>
74    <TR>
75<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_FRENCH</FONT></I></B></TD>
76<TD width="500">French</TD>
77    </TR>
78    <TR>
79<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_GERMAN</FONT></I></B></TD>
80<TD width="500">German</TD>
81    </TR>
82    <TR>
83<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_ITALIAN</FONT></I></B></TD>
84<TD width="500">Italian</TD>
85    </TR>
86    <TR>
87<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_SPANISH</FONT></I></B></TD>
88<TD width="500">Spanish</TD>
89    </TR>
90    <TR>
91<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_CHINESE</FONT></I></B></TD>
92<TD width="500">Chinese</TD>
93    </TR>
94    <TR>
95<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_HANGUL</FONT></I></B></TD>
96<TD width="500">Korean</TD>
97    </TR>
98    <TR>
99<TD colspan="2" width="300">Other</TD>
100<TD width="500">Reserved</TD>
101    </TR>
102    <TR>
103<TD width="200"><em><strong><font face="Courier New">favoriteColor</font></strong></em></TD>
104<TD colspan="3">Displays the user's favorite color. The value range is 0 through 15.</TD>
105    </TR>
106    <TR>
107<TD width="200" rowspan="3"><B><I><FONT face="Courier New">birthday</FONT></I></B></TD>
108<TD colspan="3">Displays a birthday. This structure consists of the following members: </TD>
109    </TR>
110    <TR>
111<TD colspan="2" width="300"><B><I><FONT face="Courier New">month</FONT></I></B></TD>
112<TD width="500">Month: The value range is 1 through 12.</TD>
113    </TR>
114    <TR>
115<TD colspan="2" width="300"><I><B><FONT face="Courier New">day</FONT></B></I></TD>
116<TD width="500">Day: The value range is 1 through 31.</TD>
117    </TR>
118    <TR>
119<TD width="200"><em><strong><font face="Courier New">nickName</font></strong></em></TD>
120<TD colspan="3">String that represents a nickname. Character format is Unicode (UTF16); the NULL terminator is included.</TD>
121    </TR>
122    <TR>
123<TD width="200"><em><strong><font face="Courier New">nickNameLength</font></strong></em></TD>
124<TD colspan="3">Number of characters in the nickname. </TD>
125    </TR>
126    <TR>
127<TD width="200"><em><strong><font face="Courier New">comment</font></strong></em></TD>
128<TD colspan="3">String that represents a user comment. The character encoding is Unicode (UTF16); the NULL terminator is included.</TD>
129    </TR>
130    <TR>
131<TD width="200"><em><strong><font face="Courier New">commentLength</font></strong></em></TD>
132<TD colspan="3">Number of characters in the user comment.</TD>
133    </TR>
134  </TBODY>
135</TABLE>
136<P><BR> <BR> <IMG src="../../image/TWL.gif" align="middle"> <CODE><B>OSOwnerInfoEx</B></CODE></P>
137<TABLE border="1" width="100%">
138  <TBODY>
139    <TR>
140<TD rowspan="10" width="200"><em><strong><font face="Courier New">language</font></strong></em></TD>
141<TD colspan="3">Language code. The following values are valid. (This code may be expanded in the future.)</TD>
142    </TR>
143    <TR>
144<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_JAPANESE</FONT></I></B></TD>
145<TD width="500">Japanese</TD>
146    </TR>
147    <TR>
148<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_ENGLISH</FONT></I></B></TD>
149<TD width="500">English</TD>
150    </TR>
151    <TR>
152<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_FRENCH</FONT></I></B></TD>
153<TD width="500">French</TD>
154    </TR>
155    <TR>
156<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_GERMAN</FONT></I></B></TD>
157<TD width="500">German</TD>
158    </TR>
159    <TR>
160<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_ITALIAN</FONT></I></B></TD>
161<TD width="500">Italian</TD>
162    </TR>
163    <TR>
164<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_SPANISH</FONT></I></B></TD>
165<TD width="500">Spanish</TD>
166    </TR>
167    <TR>
168<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_CHINESE</FONT></I></B></TD>
169<TD width="500">Chinese</TD>
170    </TR>
171    <TR>
172<TD colspan="2" width="300"><B><I><FONT face="Courier New">OS_LANGUAGE_HANGUL</FONT></I></B></TD>
173<TD width="500">Korean</TD>
174    </TR>
175    <TR>
176<TD colspan="2" width="300">Other</TD>
177<TD width="500">Reservations</TD>
178    </TR>
179    <TR>
180<TD width="200"><em><strong><font face="Courier New">favoriteColor</font></strong></em></TD>
181<TD colspan="3">Displays the user's favorite color. The value range is from 0 to 15.</TD>
182    </TR>
183    <TR>
184<TD width="200" rowspan="3"><B><I><FONT face="Courier New">birthday</FONT></I></B></TD>
185<TD colspan="3">Displays a birthday. This structure consists of the following members.</TD>
186    </TR>
187    <TR>
188<TD colspan="2" width="300"><B><I><FONT face="Courier New">month</FONT></I></B></TD>
189<TD width="500">Indicates the month. The value range is from 1 to 12.</TD>
190    </TR>
191    <TR>
192<TD colspan="2" width="300"><I><B><FONT face="Courier New">day</FONT></B></I></TD>
193<TD width="500">Indicates the day. The value range is from 1 to 31.</TD>
194    </TR>
195    <TR>
196<TD width="200"><em><strong><font face="Courier New">nickName</font></strong></em></TD>
197<TD colspan="3">String that represents a nickname. The character encoding is Unicode (UTF16); the NULL terminator is included.</TD>
198    </TR>
199    <TR>
200<TD width="200"><em><strong><font face="Courier New">nickNameLength</font></strong></em></TD>
201<TD colspan="3">Number of characters in the nickname.</TD>
202    </TR>
203    <TR>
204<TD width="200"><em><strong><font face="Courier New">comment</font></strong></em></TD>
205<TD colspan="3">String that represents a user comment. The character encoding is Unicode (UTF16); the NULL terminator is included.</TD>
206    </TR>
207    <TR>
208<TD width="200"><em><strong><font face="Courier New">commentLength</font></strong></em></TD>
209<TD colspan="3">Number of characters in the user comment.</TD>
210    </TR>
211    <TR>
212<TD><em><strong><font face="Courier New">country</font></strong></em></TD>
213<TD colspan="3">Country and region code.</TD>
214    </TR>
215  </TBODY>
216</TABLE>
217<H2>Description</H2>
218<P>These structures are used for owner information that is entered by the end user and stored on a NITRO or TWL console.</P>
219
220<H2>Revision History</H2>
221<P>2008/09/02 Added a description of <CODE>OSOwnerInfoEx</CODE>. <BR>2007/01/16 Changed descriptions of the <CODE>nickName</CODE> and <CODE>comment</CODE> members. <BR>2006/12/06 Added extended language codes. <BR>2004/09/03 Initial version.
222</P>
223<hr><p>CONFIDENTIAL</p></body>
224</HTML>