PSP2SDK
dirty-f9e4f2d
The free SDK for PSP2
|
00001 00012 #ifndef _PSP2_SYSMODULE_H_ 00013 #define _PSP2_SYSMODULE_H_ 00014 00015 #include <psp2/types.h> 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00021 enum { 00022 SCE_SYSMODULE_LOADED = 0, 00023 SCE_SYSMODULE_ERROR_INVALID_VALUE = 0x805A1000, 00024 SCE_SYSMODULE_ERROR_UNLOADED = 0x805A1001, 00025 SCE_SYSMODULE_ERROR_FATAL = 0x805A10FF, 00026 }; 00027 00028 /* module IDs */ 00029 enum { 00030 PSP2_SYSMODULE_INVALID = 0x0000, 00031 PSP2_SYSMODULE_NET = 0x0001, 00032 PSP2_SYSMODULE_HTTP = 0x0002, 00033 PSP2_SYSMODULE_SSL = 0x0003, 00034 PSP2_SYSMODULE_HTTPS = 0x0004, 00035 PSP2_SYSMODULE_PERF = 0x0005, 00036 PSP2_SYSMODULE_FIBER = 0x0006, 00037 PSP2_SYSMODULE_ULT = 0x0007, 00038 PSP2_SYSMODULE_DBG = 0x0008, 00039 PSP2_SYSMODULE_RAZOR_CAPTURE = 0x0009, 00040 PSP2_SYSMODULE_RAZOR_HUD = 0x000a, 00041 PSP2_SYSMODULE_NGS = 0x000b, 00042 PSP2_SYSMODULE_SULPHA = 0x000c, 00043 PSP2_SYSMODULE_SAS = 0x000d, 00044 PSP2_SYSMODULE_PGF = 0x000e, 00045 PSP2_SYSMODULE_APPUTIL = 0x000f, 00046 PSP2_SYSMODULE_FIOS2 = 0x0010, 00047 PSP2_SYSMODULE_IME = 0x0011, 00048 PSP2_SYSMODULE_NP_BASIC = 0x0012, 00049 PSP2_SYSMODULE_SYSTEM_GESTURE = 0x0013, 00050 PSP2_SYSMODULE_LOCATION = 0x0014, 00051 PSP2_SYSMODULE_NP = 0x0015, 00052 PSP2_SYSMODULE_PHOTO_EXPORT = 0x0016, 00053 PSP2_SYSMODULE_XML = 0x0017, 00054 PSP2_SYSMODULE_NP_COMMERCE2 = 0x0018, 00055 PSP2_SYSMODULE_NP_UTILITY = 0x0019, 00056 PSP2_SYSMODULE_VOICE = 0x001a, 00057 PSP2_SYSMODULE_VOICEQOS = 0x001b, 00058 PSP2_SYSMODULE_NP_MATCHING2 = 0x001c, 00059 PSP2_SYSMODULE_SCREEN_SHOT = 0x001d, 00060 PSP2_SYSMODULE_NP_SCORE_RANKING = 0x001e, 00061 PSP2_SYSMODULE_SQLITE = 0x001f, 00062 PSP2_SYSMODULE_RUDP = 0x0021, 00063 PSP2_SYSMODULE_CODECENGINE_PERF = 0x0022, 00064 PSP2_SYSMODULE_LIVEAREA = 0x0023, 00065 PSP2_SYSMODULE_NP_ACTIVITY = 0x0024, 00066 PSP2_SYSMODULE_NP_TROPHY = 0x0025, 00067 PSP2_SYSMODULE_NP_MESSAGE = 0x0026, 00068 PSP2_SYSMODULE_SHUTTER_SOUND = 0x0027, 00069 PSP2_SYSMODULE_CLIPBOARD = 0x0028, 00070 PSP2_SYSMODULE_NP_PARTY = 0x0029, 00071 PSP2_SYSMODULE_NET_ADHOC_MATCHING = 0x002a, 00072 PSP2_SYSMODULE_NEAR_UTIL = 0x002b, 00073 PSP2_SYSMODULE_NP_TUS = 0x002c, 00074 PSP2_SYSMODULE_MP4 = 0x002d, 00075 PSP2_SYSMODULE_HANDWRITING = 0x002f, 00076 PSP2_SYSMODULE_ATRAC = 0x0030, 00077 PSP2_SYSMODULE_NP_SNS_FACEBOOK = 0x0031, 00078 PSP2_SYSMODULE_FACE = 0x0038, 00079 PSP2_SYSMODULE_SMART = 0x0039 00080 }; 00081 00082 int sceSysmoduleLoadModule(SceUInt16 id); 00083 int sceSysmoduleUnloadModule(SceUInt16 id); 00084 int sceSysmoduleIsLoaded(SceUInt16 id); 00085 00086 #ifdef __cplusplus 00087 } 00088 #endif 00089 00090 #endif /* _PSP2_SYSMODULE_H_ */