PSPSDK 2024-10-31
Loading...
Searching...
No Matches
psputility_sysparam.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * psputility_sysparam.h - Definitions and Functions for System Paramters
7 * section of the pspUtility library
8 *
9 * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
10 *
11 */
12#ifndef __PSPUTILITY_SYSPARAM_H__
13#define __PSPUTILITY_SYSPARAM_H__
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#include <psptypes.h>
20
26#define PSP_SYSTEMPARAM_ID_STRING_NICKNAME 1
27#define PSP_SYSTEMPARAM_ID_INT_ADHOC_CHANNEL 2
28#define PSP_SYSTEMPARAM_ID_INT_WLAN_POWERSAVE 3
29#define PSP_SYSTEMPARAM_ID_INT_DATE_FORMAT 4
30#define PSP_SYSTEMPARAM_ID_INT_TIME_FORMAT 5
31//Timezone offset from UTC in minutes, (EST = -300 = -5 * 60)
32#define PSP_SYSTEMPARAM_ID_INT_TIMEZONE 6
33#define PSP_SYSTEMPARAM_ID_INT_DAYLIGHTSAVINGS 7
34#define PSP_SYSTEMPARAM_ID_INT_LANGUAGE 8
42#define PSP_SYSTEMPARAM_ID_INT_UNKNOWN 9
43
47#define PSP_SYSTEMPARAM_RETVAL_OK 0
48#define PSP_SYSTEMPARAM_RETVAL_FAIL 0x80110103
49
53#define PSP_SYSTEMPARAM_ADHOC_CHANNEL_AUTOMATIC 0
54#define PSP_SYSTEMPARAM_ADHOC_CHANNEL_1 1
55#define PSP_SYSTEMPARAM_ADHOC_CHANNEL_6 6
56#define PSP_SYSTEMPARAM_ADHOC_CHANNEL_11 11
57
61#define PSP_SYSTEMPARAM_WLAN_POWERSAVE_OFF 0
62#define PSP_SYSTEMPARAM_WLAN_POWERSAVE_ON 1
63
67#define PSP_SYSTEMPARAM_DATE_FORMAT_YYYYMMDD 0
68#define PSP_SYSTEMPARAM_DATE_FORMAT_MMDDYYYY 1
69#define PSP_SYSTEMPARAM_DATE_FORMAT_DDMMYYYY 2
70
74#define PSP_SYSTEMPARAM_TIME_FORMAT_24HR 0
75#define PSP_SYSTEMPARAM_TIME_FORMAT_12HR 1
76
80#define PSP_SYSTEMPARAM_DAYLIGHTSAVINGS_STD 0
81#define PSP_SYSTEMPARAM_DAYLIGHTSAVINGS_SAVING 1
82
86#define PSP_SYSTEMPARAM_LANGUAGE_JAPANESE 0
87#define PSP_SYSTEMPARAM_LANGUAGE_ENGLISH 1
88#define PSP_SYSTEMPARAM_LANGUAGE_FRENCH 2
89#define PSP_SYSTEMPARAM_LANGUAGE_SPANISH 3
90#define PSP_SYSTEMPARAM_LANGUAGE_GERMAN 4
91#define PSP_SYSTEMPARAM_LANGUAGE_ITALIAN 5
92#define PSP_SYSTEMPARAM_LANGUAGE_DUTCH 6
93#define PSP_SYSTEMPARAM_LANGUAGE_PORTUGUESE 7
94#define PSP_SYSTEMPARAM_LANGUAGE_RUSSIAN 8
95#define PSP_SYSTEMPARAM_LANGUAGE_KOREAN 9
96#define PSP_SYSTEMPARAM_LANGUAGE_CHINESE_TRADITIONAL 10
97#define PSP_SYSTEMPARAM_LANGUAGE_CHINESE_SIMPLIFIED 11
98
107
115int sceUtilitySetSystemParamString(int id, const char *str);
116
125
134int sceUtilityGetSystemParamString(int id, char *str, int len);
135
136#ifdef __cplusplus
137}
138#endif
139
140#endif
float x
Definition psptypes.h:0
int sceUtilityGetSystemParamInt(int id, int *value)
Get Integer System Parameter.
int sceUtilityGetSystemParamString(int id, char *str, int len)
Get String System Parameter.
int sceUtilitySetSystemParamString(int id, const char *str)
Set String System Parameter.
int sceUtilitySetSystemParamInt(int id, int value)
Set Integer System Parameter.