![]() |
vitasdk
Documentation of the vitasdk
|
Exports for User. More...
Data Structures | |
| struct | SceTriggerUtilEventParamDaily |
| struct | SceTriggerUtilEventParamOneTime |
| struct | SceTriggerUtilUserAppInfo |
| struct | SceTriggerUtilSystemAppInfo |
Macros | |
| #define | SCE_TRIGGER_UTIL_VERSION 0x3200000 |
Enumerations | |
| enum | SceTriggerUtilDays { SCE_TRIGGER_UTIL_SUNDAY = 0x1 , SCE_TRIGGER_UTIL_MONDAY = 0x2 , SCE_TRIGGER_UTIL_TUESDAY = 0x4 , SCE_TRIGGER_UTIL_WEDNESDAY = 0x8 , SCE_TRIGGER_UTIL_THURSDAY = 0x10 , SCE_TRIGGER_UTIL_FRIDAY = 0x20 , SCE_TRIGGER_UTIL_SATURDAY = 0x40 } |
| Days of the week for use in repeatDays member of SceTriggerUtilEventParamDaily. More... | |
| enum | SceTriggerUtilErrorCode { SCE_TRIGGER_UTIL_ERROR_BUSY = 0x80103600 , SCE_TRIGGER_UTIL_ERROR_NOT_FOUND_USER = 0x80103611 , SCE_TRIGGER_UTIL_ERROR_NOT_FOUND_SYSTEM = 0x80103614 , SCE_TRIGGER_UTIL_ERROR_NOT_REGISTERED = 0x80103621 , SCE_TRIGGER_UTIL_ERROR_EVENT_TYPE_MISMATCH = 0x80103624 , SCE_TRIGGER_UTIL_ERROR_INVALID_ARG = 0x80103660 } |
| Error Codes. More... | |
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. | |
Exports for User.
Include the header file in your project:
Link the library to the executable:
Load the required module:
| 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 |
| SceUInt32 SceTriggerUtilEventParamDaily::ver |
| SceInt16 SceTriggerUtilEventParamDaily::extraParam1 |
| SceInt16 SceTriggerUtilEventParamDaily::extraParam2 |
| SceInt32 SceTriggerUtilEventParamDaily::triggerTime |
| SceUInt16 SceTriggerUtilEventParamDaily::repeatDays |
| SceChar8 SceTriggerUtilEventParamDaily::reserved[0x40] |
| SceUInt32 SceTriggerUtilEventParamOneTime::ver |
| SceRtcTick SceTriggerUtilEventParamOneTime::triggerTime |
| SceUInt8 SceTriggerUtilEventParamOneTime::extraParam1 |
| SceUInt8 SceTriggerUtilEventParamOneTime::extraParam2 |
| SceChar8 SceTriggerUtilEventParamOneTime::reserved[0x44] |
| SceWChar16 SceTriggerUtilUserAppInfo::name[0x34] |
| SceChar8 SceTriggerUtilUserAppInfo::iconPath[0x400] |
| short SceTriggerUtilUserAppInfo::unk |
| SceWChar16 SceTriggerUtilSystemAppInfo::name[0x100] |
| SceChar8 SceTriggerUtilSystemAppInfo::iconPath[0x400] |
| char SceTriggerUtilSystemAppInfo::reserved[2] |