vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Load the required module:
Functions | |
VITASDK_BUILD_ASSERT_EQ (0x50, SceTriggerUtilEventParamDaily) | |
VITASDK_BUILD_ASSERT_EQ (0x58, SceTriggerUtilEventParamOneTime) | |
VITASDK_BUILD_ASSERT_EQ (0x46A, SceTriggerUtilUserAppInfo) | |
VITASDK_BUILD_ASSERT_EQ (0x602, SceTriggerUtilSystemAppInfo) | |
int | sceTriggerUtilRegisterDailyEvent (const char *titleid, const SceTriggerUtilEventParamDaily *param, int eventId, int a4, int a5) |
Register application start event that will be repeated on certain days. | |
int | sceTriggerUtilRegisterOneTimeEvent (const char *titleid, const SceTriggerUtilEventParamOneTime *param, int eventId, int a4, int a5) |
Register one time application start event. | |
int | sceTriggerUtilUnregisterDailyEvent (int eventId, int a2, int a3) |
Unregister daily event for caller application. | |
int | sceTriggerUtilUnregisterOneTimeEvent (int eventId, int a2, int a3) |
Unregister one time event for caller application. | |
int | sceTriggerUtilGetAutoStartStatus (int *status, int a2, int a3) |
Get value from "Settings->System->Auto-Start Settings" for caller application. | |
int | sceTriggerUtilGetOneTimeEventInfo (int eventId, SceRtcTick *triggerTime, int a4, int a5) |
Get one time event info for caller application. | |
int | sceTriggerUtilGetDailyEventInfo (int eventId, SceTriggerUtilEventParamDaily *param, int a5, int a6) |
Get daily event info for caller application. | |
int | sceTriggerUtilGetUserAppInfo (const char *titleid, SceTriggerUtilUserAppInfo *appInfo, int a4, int a5) |
Get info for user application that has registered sceTriggerUtil events. | |
int | sceTriggerUtilGetRegisteredUserTitleIdList (char *titleIdBuffer, int numOfIds) |
Get list of user applications that has registered sceTriggerUtil events. | |
int | sceTriggerUtilGetSystemAppInfo (const char *titleid, SceTriggerUtilSystemAppInfo *appInfo, int a4, int a5) |
Get info for system application that has registered sceTriggerUtil events. | |
int | sceTriggerUtilGetRegisteredSystemTitleIdList (char *buffer, int numOfIds) |
Get list of system applications that has registered sceTriggerUtil events. | |
Macros | |
#define | SCE_TRIGGER_UTIL_VERSION 0x3200000 |
struct SceTriggerUtilEventParamDaily |
struct SceTriggerUtilEventParamOneTime |
Data Fields | ||
---|---|---|
SceUInt32 | ver | |
SceRtcTick | triggerTime | |
SceUInt8 | extraParam1 | |
SceUInt8 | extraParam2 | |
SceChar8 | reserved[0x44] |
struct SceTriggerUtilUserAppInfo |
Data Fields | ||
---|---|---|
SceWChar16 | name[0x34] | |
SceChar8 | iconPath[0x400] | |
short | unk |
struct SceTriggerUtilSystemAppInfo |
Data Fields | ||
---|---|---|
SceWChar16 | name[0x100] | |
SceChar8 | iconPath[0x400] | |
char | reserved[2] |
#define SCE_TRIGGER_UTIL_VERSION 0x3200000 |
enum SceTriggerUtilDays |
Days of the week for use in repeatDays member of SceTriggerUtilEventParamDaily.
Enumerator | |
---|---|
SCE_TRIGGER_UTIL_SUNDAY | |
SCE_TRIGGER_UTIL_MONDAY | |
SCE_TRIGGER_UTIL_TUESDAY | |
SCE_TRIGGER_UTIL_WEDNESDAY | |
SCE_TRIGGER_UTIL_THURSDAY | |
SCE_TRIGGER_UTIL_FRIDAY | |
SCE_TRIGGER_UTIL_SATURDAY |
VITASDK_BUILD_ASSERT_EQ | ( | 0x50 | , |
SceTriggerUtilEventParamDaily | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x58 | , |
SceTriggerUtilEventParamOneTime | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x46A | , |
SceTriggerUtilUserAppInfo | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 0x602 | , |
SceTriggerUtilSystemAppInfo | |||
) |
int sceTriggerUtilRegisterDailyEvent | ( | const char * | titleid, |
const SceTriggerUtilEventParamDaily * | param, | ||
int | eventId, | ||
int | a4, | ||
int | a5 | ||
) |
Register application start event that will be repeated on certain days.
[in] | titleid | - title ID of application to register event for. |
[in] | param | - event parameters. |
[in] | eventId | - ID number of event. |
[in] | a4 | - Unknown, set to 0. |
[in] | a5 | - Unknown, set to 0. |
int sceTriggerUtilRegisterOneTimeEvent | ( | const char * | titleid, |
const SceTriggerUtilEventParamOneTime * | param, | ||
int | eventId, | ||
int | a4, | ||
int | a5 | ||
) |
Register one time application start event.
[in] | titleid | - title ID of application to register event for. |
[in] | param | - event parameters. |
[in] | eventId | - ID number of event. |
[in] | a4 | - Unknown, set to 0. |
[in] | a5 | - Unknown, set to 0. |
int sceTriggerUtilUnregisterDailyEvent | ( | int | eventId, |
int | a2, | ||
int | a3 | ||
) |
Unregister daily event for caller application.
[in] | eventId | - ID number of event to unregister. |
[in] | a2 | - Unknown, set to 0. |
[in] | a3 | - Unknown, set to 0. |
int sceTriggerUtilUnregisterOneTimeEvent | ( | int | eventId, |
int | a2, | ||
int | a3 | ||
) |
Unregister one time event for caller application.
[in] | eventId | - ID number of event to unregister. |
[in] | a2 | - Unknown, set to 0. |
[in] | a3 | - Unknown, set to 0. |
int sceTriggerUtilGetAutoStartStatus | ( | int * | status, |
int | a2, | ||
int | a3 | ||
) |
Get value from "Settings->System->Auto-Start Settings" for caller application.
Required to be 1 to use sceTriggerUtil
[out] | status | - auto-start status. Required to be 1 to use sceTriggerUtil. |
[in] | a2 | - Unknown, set to 0. |
[in] | a3 | - Unknown, set to 0. |
int sceTriggerUtilGetOneTimeEventInfo | ( | int | eventId, |
SceRtcTick * | triggerTime, | ||
int | a4, | ||
int | a5 | ||
) |
Get one time event info for caller application.
[in] | eventId | - ID number of event to get information for. |
[out] | triggerTime | - SceRtcTick, UTC |
[in] | a4 | - Unknown, set to 0. |
[in] | a5 | - Unknown, set to 0. |
int sceTriggerUtilGetDailyEventInfo | ( | int | eventId, |
SceTriggerUtilEventParamDaily * | param, | ||
int | a5, | ||
int | a6 | ||
) |
Get daily event info for caller application.
[in] | eventId | - ID number of event to get information for. |
[out] | param | - event parameters. |
[in] | a5 | - Unknown, set to 0. |
[in] | a6 | - Unknown, set to 0. |
int sceTriggerUtilGetUserAppInfo | ( | const char * | titleid, |
SceTriggerUtilUserAppInfo * | appInfo, | ||
int | a4, | ||
int | a5 | ||
) |
Get info for user application that has registered sceTriggerUtil events.
[in] | titleid | - title ID of application to get info for. |
[out] | appInfo | - application information |
[in] | a4 | - Unknown, set to 0. |
[in] | a5 | - Unknown, set to 0. |
int sceTriggerUtilGetRegisteredUserTitleIdList | ( | char * | titleIdBuffer, |
int | numOfIds | ||
) |
Get list of user applications that has registered sceTriggerUtil events.
List contains null-separated title IDs
[out] | titleIdBuffer | - pointer to buffer to recieve title ID list. Max size is 0x1000, min size is unlimited |
[out] | numOfIds | - number of title IDs stored in the list |
int sceTriggerUtilGetSystemAppInfo | ( | const char * | titleid, |
SceTriggerUtilSystemAppInfo * | appInfo, | ||
int | a4, | ||
int | a5 | ||
) |
Get info for system application that has registered sceTriggerUtil events.
[in] | titleid | - title ID of application to get info for. |
[out] | appInfo | - application information |
[in] | a4 | - Unknown, set to 0. |
[in] | a5 | - Unknown, set to 0. |
int sceTriggerUtilGetRegisteredSystemTitleIdList | ( | char * | buffer, |
int | numOfIds | ||
) |
Get list of system applications that has registered sceTriggerUtil events.
List contains null-separated fake title IDs
[out] | titleIdBuffer | - pointer to buffer to recieve fake title ID list. Max size is 0x140, min size is unlimited |
[out] | numOfIds | - number of fake title IDs stored in the list |