00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef __PSPUTILITY_SYSPARAM_H__
00014 #define __PSPUTILITY_SYSPARAM_H__
00015
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019
00020 #include <psptypes.h>
00021
00027 #define PSP_SYSTEMPARAM_ID_STRING_NICKNAME 1
00028 #define PSP_SYSTEMPARAM_ID_INT_ADHOC_CHANNEL 2
00029 #define PSP_SYSTEMPARAM_ID_INT_WLAN_POWERSAVE 3
00030 #define PSP_SYSTEMPARAM_ID_INT_DATE_FORMAT 4
00031 #define PSP_SYSTEMPARAM_ID_INT_TIME_FORMAT 5
00032
00033 #define PSP_SYSTEMPARAM_ID_INT_TIMEZONE 6
00034 #define PSP_SYSTEMPARAM_ID_INT_DAYLIGHTSAVINGS 7
00035 #define PSP_SYSTEMPARAM_ID_INT_LANGUAGE 8
00036
00043 #define PSP_SYSTEMPARAM_ID_INT_UNKNOWN 9
00044
00048 #define PSP_SYSTEMPARAM_RETVAL_OK 0
00049 #define PSP_SYSTEMPARAM_RETVAL_FAIL 0x80110103
00050
00054 #define PSP_SYSTEMPARAM_ADHOC_CHANNEL_AUTOMATIC 0
00055 #define PSP_SYSTEMPARAM_ADHOC_CHANNEL_1 1
00056 #define PSP_SYSTEMPARAM_ADHOC_CHANNEL_6 6
00057 #define PSP_SYSTEMPARAM_ADHOC_CHANNEL_11 11
00058
00062 #define PSP_SYSTEMPARAM_WLAN_POWERSAVE_OFF 0
00063 #define PSP_SYSTEMPARAM_WLAN_POWERSAVE_ON 1
00064
00068 #define PSP_SYSTEMPARAM_DATE_FORMAT_YYYYMMDD 0
00069 #define PSP_SYSTEMPARAM_DATE_FORMAT_MMDDYYYY 1
00070 #define PSP_SYSTEMPARAM_DATE_FORMAT_DDMMYYYY 2
00071
00075 #define PSP_SYSTEMPARAM_TIME_FORMAT_24HR 0
00076 #define PSP_SYSTEMPARAM_TIME_FORMAT_12HR 1
00077
00081 #define PSP_SYSTEMPARAM_DAYLIGHTSAVINGS_STD 0
00082 #define PSP_SYSTEMPARAM_DAYLIGHTSAVINGS_SAVING 1
00083
00087 #define PSP_SYSTEMPARAM_LANGUAGE_JAPANESE 0
00088 #define PSP_SYSTEMPARAM_LANGUAGE_ENGLISH 1
00089 #define PSP_SYSTEMPARAM_LANGUAGE_FRENCH 2
00090 #define PSP_SYSTEMPARAM_LANGUAGE_SPANISH 3
00091 #define PSP_SYSTEMPARAM_LANGUAGE_GERMAN 4
00092 #define PSP_SYSTEMPARAM_LANGUAGE_ITALIAN 5
00093 #define PSP_SYSTEMPARAM_LANGUAGE_DUTCH 6
00094 #define PSP_SYSTEMPARAM_LANGUAGE_PORTUGUESE 7
00095 #define PSP_SYSTEMPARAM_LANGUAGE_RUSSIAN 8
00096 #define PSP_SYSTEMPARAM_LANGUAGE_KOREAN 9
00097 #define PSP_SYSTEMPARAM_LANGUAGE_CHINESE_TRADITIONAL 10
00098 #define PSP_SYSTEMPARAM_LANGUAGE_CHINESE_SIMPLIFIED 11
00099
00107 int sceUtilitySetSystemParamInt(int id, int value);
00108
00116 int sceUtilitySetSystemParamString(int id, const char *str);
00117
00125 int sceUtilityGetSystemParamInt( int id, int *value );
00126
00135 int sceUtilityGetSystemParamString(int id, char *str, int len);
00136
00137 #ifdef __cplusplus
00138 }
00139 #endif
00140
00141 #endif