OSOwnerInfo[Ex]

Definition

OSOwnerInfo

#include <nitro/os.h>
typedef struct OSOwnerInfo
{
    u8          language;
    u8          favoriteColor;
    struct {
        u8          month;
        u8          day;
    
    }           birthday;
    u16         nickName[ 11 ];
    u16         nickNameLength;
    u16         comment[ 27 ];
    u16         commentLength;

} OSOwnerInfo;


OSOwnerInfoEx

#include <twl/os.h>
typedef struct OSOwnerInfoEx
{
    u8          language;
    u8          favoriteColor;
    struct {
        u8          month;
        u8          day;
    
    }           birthday;
    u16         nickName[ 11 ];
    u16         nickNameLength;
    u16         comment[ 27 ];
    u16         commentLength;
    u8                       country;
    u8          padding;
} OSOwnerInfoEx;

Elements

The only difference between OSOwnerInfo and OSOwnerInfoEx is the last member variable, country.

OSOwnerInfo

language Language code. The following values are valid. (This code may be expanded in the future.)
OS_LANGUAGE_JAPANESE Japanese
OS_LANGUAGE_ENGLISH English
OS_LANGUAGE_FRENCH French
OS_LANGUAGE_GERMAN German
OS_LANGUAGE_ITALIAN Italian
OS_LANGUAGE_SPANISH Spanish
OS_LANGUAGE_CHINESE Chinese
OS_LANGUAGE_HANGUL Korean
Other Reserved
favoriteColor Displays the user's favorite color. The value range is 0 through 15.
birthday Displays a birthday. This structure consists of the following members:
month Month: The value range is 1 through 12.
day Day: The value range is 1 through 31.
nickName String that represents a nickname. Character format is Unicode (UTF16); the NULL terminator is included.
nickNameLength Number of characters in the nickname.
comment String that represents a user comment. The character encoding is Unicode (UTF16); the NULL terminator is included.
commentLength Number of characters in the user comment.



OSOwnerInfoEx

language Language code. The following values are valid. (This code may be expanded in the future.)
OS_LANGUAGE_JAPANESE Japanese
OS_LANGUAGE_ENGLISH English
OS_LANGUAGE_FRENCH French
OS_LANGUAGE_GERMAN German
OS_LANGUAGE_ITALIAN Italian
OS_LANGUAGE_SPANISH Spanish
OS_LANGUAGE_CHINESE Chinese
OS_LANGUAGE_HANGUL Korean
Other Reservations
favoriteColor Displays the user's favorite color. The value range is from 0 to 15.
birthday Displays a birthday. This structure consists of the following members.
month Indicates the month. The value range is from 1 to 12.
day Indicates the day. The value range is from 1 to 31.
nickName String that represents a nickname. The character encoding is Unicode (UTF16); the NULL terminator is included.
nickNameLength Number of characters in the nickname.
comment String that represents a user comment. The character encoding is Unicode (UTF16); the NULL terminator is included.
commentLength Number of characters in the user comment.
country Country and region code.

Description

These structures are used for owner information that is entered by the end user and stored on a NITRO or TWL console.

Revision History

2008/09/02 Added a description of OSOwnerInfoEx.
2007/01/16 Changed descriptions of the nickName and comment members.
2006/12/06 Added extended language codes.
2004/09/03 Initial version.


CONFIDENTIAL