OSOwnerInfo


C Specification

#include <nitro/os.h>
typedef struct OSOwnerInfo
{
    u8          language;
    u8          favoriteColor;
    struct {
        u8          month;
        u8          day;

    }           birthday;
    u16         nickName[ 10 ];
    u16         nickNameLength;
    u16         comment[ 26 ];
    u16         commentLength;

} OSOwnerInfo;

Description

This structure is for owner information, input by the end user, that is stored in a Nintendo DS.

Arguments

language The Language code. It will be one of the following:
OS_LANGUAGE_JAPANESE Japanese
OS_LANGUAGE_ENGLISH English
OS_LANGUAGE_FRENCH French
OS_LANGUAGE_GERMAN German
OS_LANGUAGE_ITALIAN Italian
OS_LANGUAGE_SPANISH Spanish
favoriteColor Displays the user's favorite color. The value range is 0 – 15.
birthday Displays a birthday. This structure consists of the following members:
month Month: The value range is 1 – 12.
day Day: The value range is 1 – 31.
nickName Character string that represents a nickname. Character format is Unicode (UTF16). No terminating character string.
nickNameLength Number of characters in the nickname
comment Character string that represents a user comment. Character format is Unicode (UTF16). No terminating character string.
commentLength Number of characters in the user comment

Revision History

09/03/2004 Initial version