![]() |
vitasdk
Documentation of the vitasdk
|
Exports for User. More...
Macros | |
| #define | SCE_APPMGR_MAX_APP_NAME_LENGTH (31) |
| #define | SCE_APP_MGR_MAX_EVENT_PARM_LENGTH (56) |
Typedefs | |
| typedef struct SceAppMgrExecOptParam | SceAppMgrExecOptParam |
| typedef struct SceAppMgrLaunchAppOptParam | SceAppMgrLaunchAppOptParam |
| typedef struct SceAppMgrDrmOpenParam | SceAppMgrDrmOpenParam |
| typedef SceAppMgrLaunchAppByUri2Param | SceAppMgrLaunchVideoStreamingAppOpt |
Functions | |
| VITASDK_BUILD_ASSERT_EQ (0x40, SceAppMgrSystemEvent) | |
| VITASDK_BUILD_ASSERT_EQ (0x4C, SceAppMgrSaveDataData) | |
| VITASDK_BUILD_ASSERT_EQ (0x44, SceAppMgrSaveDataDataDelete) | |
| VITASDK_BUILD_ASSERT_EQ (0x418, SceAppMgrSaveDataSlot) | |
| VITASDK_BUILD_ASSERT_EQ (0x18, SceAppMgrSaveDataSlotDelete) | |
| VITASDK_BUILD_ASSERT_EQ (0x80, SceAppMgrAppState) | |
| VITASDK_BUILD_ASSERT_EQ (0x88, SceAppMgrBudgetInfo) | |
| VITASDK_BUILD_ASSERT_EQ (0x100, SceAppMgrLoadExecOptParam) | |
| int | sceAppMgrSaveDataDataSave (SceAppMgrSaveDataData *data) |
| Save data on savedata0: partition. | |
| int | sceAppMgrSaveDataDataRemove (SceAppMgrSaveDataDataDelete *data) |
| Remove data on savedata0: partition. | |
| int | sceAppMgrSaveDataSlotCreate (SceAppMgrSaveDataSlot *data) |
| Create a savedata slot. | |
| int | sceAppMgrSaveDataSlotGetParam (SceAppMgrSaveDataSlot *data) |
| Get current param of a savedata slot. | |
| int | sceAppMgrSaveDataSlotSetParam (SceAppMgrSaveDataSlot *data) |
| Set current param of a savedata slot. | |
| int | sceAppMgrSaveDataSlotDelete (SceAppMgrSaveDataSlotDelete *data) |
| Delete a savedata slot. | |
| int | sceAppMgrGetIdByName (SceUID *pid, const char *name) |
| Get Process ID by Title ID. | |
| int | sceAppMgrGetNameById (SceUID pid, char *name) |
| Get Title ID by Process ID. | |
| int | sceAppMgrDestroyOtherApp (void) |
| Destroy other apps. | |
| int | sceAppMgrDestroyAppByName (const char *name) |
| Destroy an application by Title ID. | |
| int | sceAppMgrDestroyAppByAppId (SceInt32 appId) |
| Destroy an application by Application ID. | |
| SceUID | sceAppMgrGetProcessIdByAppIdForShell (SceInt32 appId) |
| Get PID of an application for Shell. | |
| int | sceAppMgrGetRunningAppIdListForShell (SceInt32 *appIds, int count) |
| Get a list of running applications. | |
| int | _sceAppMgrGetAppState (SceAppMgrAppState *appState, SceSize len, uint32_t version) |
| Get an application state. | |
| int | sceAppMgrReceiveSystemEvent (SceAppMgrSystemEvent *systemEvent) |
| Receive system event. | |
| int | sceAppMgrGetAppParam (char *param) |
| Copies app param to an array. | |
| int | sceAppMgrAcquireBgmPort (void) |
| Obtains the BGM port, even when it is not in front. | |
| int | sceAppMgrReleaseBgmPort (void) |
| Release acquired BGM port. | |
| int | sceAppMgrSetInfobarState (SceAppMgrInfoBarVisibility visibility, SceAppMgrInfoBarColor color, SceAppMgrInfoBarTransparency transparency) |
| Set infobar state. | |
| int | sceAppMgrLoadExec (const char *appPath, char *const argv[], const SceAppMgrExecOptParam *optParam) |
| Load and start a SELF executable. | |
| int | sceAppMgrLaunchAppByUri (int flags, const char *uri) |
| Start an application by URI. | |
| int | sceAppMgrLaunchAppByName2 (const char *name, const char *param, SceAppMgrLaunchAppOptParam *optParam) |
| Start an application by Title ID. | |
| int | sceAppMgrLaunchAppByName (int flags, const char *name, const char *param) |
| Start an Application by Title ID. | |
| SceUID | sceAppMgrLaunchAppByName2ForShell (const char *name, const char *param, SceAppMgrLaunchAppOptParam *optParam) |
| Start an application by Title ID for Shell. | |
| int | sceAppMgrGameDataMount (const char *app_path, const char *patch_path, const char *rif_path, char *mount_point) |
| Mount game data. | |
| int | sceAppMgrAppDataMount (int id, const char *mount_point) |
| Mount application data. | |
| int | sceAppMgrAppDataMountById (int id, const char *titleid, const char *mount_point) |
| Mount application data by Title ID. | |
| int | sceAppMgrAppParamGetString (int pid, int param, char *string, SceSize length) |
| Get application params from SFO descriptor. | |
| int | sceAppMgrGetDevInfo (const char *dev, uint64_t *max_size, uint64_t *free_size) |
| Get device info. | |
| int | sceAppMgrMmsMount (int id, const char *mount_point) |
| Mount application data (PSPEmu) | |
| int | sceAppMgrPspSaveDataRootMount (const char *mount_point) |
| Mount PSPEmu virtual memory stick. | |
| int | sceAppMgrWorkDirMount (int id, const char *mount_point) |
| Mount working directory. | |
| int | sceAppMgrWorkDirMountById (int id, const char *titleid, const char *mount_point) |
| Mount working directory by Title ID. | |
| int | sceAppMgrUmount (const char *mount_point) |
| Unmount a mountpoint. | |
| int | sceAppMgrConvertVs0UserDrivePath (char *path, char *mount_point, int unk) |
| Convert vs0 path string to a new one usable by applications. | |
| int | sceAppMgrGetRawPath (char *path, char *resolved_path, int resolved_path_size) |
| Get raw path for a given path. | |
| int | sceAppMgrGetRawPathOfApp0ByAppIdForShell (int appId, char resolved_path[292]) |
| Get the real/resolved path of app0: (where it's actually mounted) | |
| int | sceAppMgrGetBudgetInfo (SceAppMgrBudgetInfo *info) |
| Get memory budget info for a running system application. | |
| VITASDK_BUILD_ASSERT_EQ (0x428, SceAppMgrCoredumpState) | |
| int | sceAppMgrGetCoredumpStateForShell (SceAppMgrCoredumpState *state) |
| Get current coredump state for shell. | |
| VITASDK_BUILD_ASSERT_EQ (0x80, SceAppMgrAppInfo) | |
| SceInt32 | sceAppMgrDrmOpen (const SceAppMgrDrmOpenParam *param) |
| SceInt32 | sceAppMgrGetAppInfo (const char *app_name, SceAppMgrAppState *app_info) |
| Get whether an application is in AppMgr's started state. | |
| VITASDK_BUILD_ASSERT_EQ (0x80, SceAppMgrAppMgrState) | |
| VITASDK_BUILD_ASSERT_EQ (0x400, SceAppMgrAppParam) | |
| VITASDK_BUILD_ASSERT_EQ (0x80, SceAppMgrAppStatus) | |
| VITASDK_BUILD_ASSERT_EQ (0x2C, SceAppMgrBootParam) | |
| VITASDK_BUILD_ASSERT_EQ (0x40, SceAppMgrEvent) | |
| VITASDK_BUILD_ASSERT_EQ (0x40, SceAppMgrLaunchAppByUri2Param) | |
| VITASDK_BUILD_ASSERT_EQ (0x80, SceAppMgrNetworkDisconnectionWarningDialogStateOptParam) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrCheckRifGDOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x70, SceAppMgrCheckRifGDResult) | |
| VITASDK_BUILD_ASSERT_EQ (0x18, SceAppMgrGameDataMountOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrGetAppInfoOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrGetAppParamOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrGetBootParamOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrGetIdByNameOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrGetNameByIdOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrGetSaveDataInfoForSpecialExportOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x1C, SceAppMgrGetSaveDataInfoResult) | |
| VITASDK_BUILD_ASSERT_EQ (0x10, SceAppMgrGetSaveDataInfoOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrGetStatusByIdOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrGetUserDirPathOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x40, SceAppMgrGenericMountContext) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrAppDataMountByIdOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x10, SceAppMgrAppParamGetStringOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x10, SceAppMgrGetStatusByNameOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrLoadSaveDataSystemFileOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrLoopBackMountOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrPhotoMountOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x18, SceAppMgrThemeDataMountOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrTrophyMountByIdOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrUpdateSaveDataParamOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrWorkDirMountByIdOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x10, SceAppMgrConvertVs0UserDrivePathOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrDeclareShellProcess2Opt) | |
| VITASDK_BUILD_ASSERT_EQ (0x10, SceAppMgrGetRawPathOpt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrLaunchAppByUri2Opt) | |
| VITASDK_BUILD_ASSERT_EQ (0x8, SceAppMgrLoadExecOpt) | |
| int | __sceAppMgrGetAppState (SceAppMgrAppState *app_state, SceUInt32 sizeof_sce_app_mgr_app_state, SceUInt32 build_version) |
| Get the calling application's pending-event and overlay state. | |
| int | _sceAppMgrAddContAddMount (const SceAppMgrGenericMountContext *mount_context, int force_mount_ux) |
| Mount additional content after validating its PFS keystone and passcode. | |
| int | _sceAppMgrAddContMount (ScePID process_id, const SceAppMgrGenericMountContext *mount_context) |
| Mount additional content for process_id. | |
| int | _sceAppMgrAppDataMount (int mount_id, char mount_point[16]) |
| Mount application data and return a randomized mount point. | |
| int | _sceAppMgrAppDataMountById (int mount_id, const char *title_id, char mount_point[16], const SceAppMgrAppDataMountByIdOpt *opt) |
| Mount application data identified by a title or content ID. | |
| int | _sceAppMgrAppParamGetString (ScePID process_id, SceAppMgrAppParamId param_id, char *string, const SceAppMgrAppParamGetStringOpt *opt) |
Read a string parameter from a process's param.sfo metadata. | |
| int | _sceAppMgrCheckRifGD (const char *path, SceAppMgrCheckRifGDResult *result, const SceAppMgrCheckRifGDOpt *opt) |
| Validate a game-data RIF and return its parsed license information. | |
| int | _sceAppMgrContentInstallPeriodStart (void) |
| Unmount the calling process's content mounts for an installation period. | |
| int | _sceAppMgrContentInstallPeriodStop (void) |
| End an installation period and remount the calling process's content. | |
| int | _sceAppMgrConvertVs0UserDrivePath (const char *path, char *converted_path, SceSize converted_path_size, const SceAppMgrConvertVs0UserDrivePathOpt *opt) |
| int | _sceAppMgrDeclareShellProcess2 (const char *app_name, const SceAppMgrDeclareShellProcess2Opt *opt) |
| int | _sceAppMgrForceUmount (int mount_id) |
| Force-unmount active USB mass-storage image mounts. | |
| int | _sceAppMgrGameDataMount (const char *app_path, const char *patch_path, const char *rif_path, const SceAppMgrGameDataMountOpt *opt) |
| int | _sceAppMgrGetAppInfo (const char *app_name, SceAppMgrAppInfo *app_info, const SceAppMgrGetAppInfoOpt *opt) |
| int | _sceAppMgrGetAppMgrState (SceAppMgrAppMgrState *app_mgr_state) |
| Get the 0x80-byte global AppMgr state. | |
| int | _sceAppMgrGetAppParam (SceAppMgrAppParam *app_param, const SceAppMgrGetAppParamOpt *opt) |
| Get the calling application's queued launch parameter. | |
| int | _sceAppMgrGetBootParam (SceUInt32 selector, SceAppMgrBootParam *boot_param, const SceAppMgrGetBootParamOpt *opt) |
| Get boot parameters with a leading size field. | |
| int | _sceAppMgrGetCurrentBgmState (ScePID *process_id, SceUInt32 *bgm_state) |
| int | _sceAppMgrGetIdByName (ScePID *process_id, const char *app_name, const SceAppMgrGetIdByNameOpt *opt) |
| Get the process ID for an application name. | |
| int | _sceAppMgrGetNameById (ScePID process_id, char app_name[32], const SceAppMgrGetNameByIdOpt *opt) |
| Get the application name for a process ID. | |
| int | _sceAppMgrGetRawPath (const char *path, char *resolved_path, SceSize resolved_path_size, const SceAppMgrGetRawPathOpt *opt) |
| int | _sceAppMgrGetRawPathOfApp0ByAppIdForShell (int app_id, char resolved_path[292]) |
| int | _sceAppMgrGetSaveDataInfo (const char *path, const char *title_id, int force_mount_ux, const SceAppMgrGetSaveDataInfoOpt *opt) |
| Get savedata information for a title. | |
| int | _sceAppMgrGetSaveDataInfoForSpecialExport (const char *path, SceUInt64 *account_id, const SceAppMgrGetSaveDataInfoForSpecialExportOpt *opt) |
| int | _sceAppMgrGetStatusByAppId (int app_id, SceAppMgrAppStatus *app_status) |
| Get the 0x80-byte application status for an application ID. | |
| int | _sceAppMgrGetStatusById (ScePID process_id, SceAppMgrAppStatus *app_status) |
| Get the 0x80-byte application status for a process ID. | |
| int | _sceAppMgrGetStatusByName (const char *app_name, SceAppMgrAppStatus *app_status, const SceAppMgrGetStatusByNameOpt *opt) |
| Get the 0x80-byte application status for an application name. | |
| int | _sceAppMgrGetSystemDataFilePlayReady (SceUInt32 location, SceUInt64 *sdpr) |
| int | _sceAppMgrGetUserDirPath (SceAppMgrUserDirPartition partition, char *user_dir_path, SceSize user_dir_path_size, const SceAppMgrGetUserDirPathOpt *opt) |
| Get a per-user directory path for a storage partition. | |
| int | _sceAppMgrGetVs0UserDataDrive (ScePfsRndDriveId *rnd_drive_id) |
| Get the 16-byte randomized drive ID for the vs0 user-data mount. | |
| int | _sceAppMgrGetVs0UserModuleDrive (ScePfsRndDriveId *rnd_drive_id) |
| Get the 16-byte randomized drive ID for the vs0 user-module mount. | |
| int | _sceAppMgrLaunchAppByUri2 (const char *uri, const SceAppMgrLaunchAppByUri2Param *param, const SceAppMgrLaunchAppByUri2Opt *opt) |
| Launch an application URI. | |
| int | _sceAppMgrLaunchVideoStreamingApp (const void *extra_data, SceSize extra_data_size, const SceAppMgrLaunchVideoStreamingAppOpt *param) |
| int | _sceAppMgrLoadExec (const char *app_path, char *const argv[], const SceAppMgrLoadExecOptParam *opt_param, const SceAppMgrLoadExecOpt *opt) |
| Replace the current game process with another executable. | |
| int | _sceAppMgrLoadSaveDataSystemFile (const char *path, void *param_sfo_buffer, SceSize buffer_size, const SceAppMgrLoadSaveDataSystemFileOpt *opt) |
| int | _sceAppMgrLoopBackMount (int mount_id, const char *partition_name, char mount_point[16], const SceAppMgrLoopBackMountOpt *opt) |
| Mount a USB mass-storage image and return its randomized mount point. | |
| int | _sceAppMgrMmsMount (int mount_id, char mount_point[16]) |
| Mount one of the PSP emulator MMS locations selected by IDs 400 through 402. | |
| int | _sceAppMgrPhotoMount (const SceAppMgrPhotoMountParam *param, const SceAppMgrPhotoMountOpt *opt) |
| Mount photo application data. | |
| int | _sceAppMgrPspSaveDataRootMount (char mount_point[16]) |
| Mount the PSP emulator savedata root. | |
| int | _sceAppMgrReceiveEvent (SceAppMgrEvent *app_event) |
| Receive one pending application event and remove it from the queue. | |
| int | _sceAppMgrReceiveEventNum (int *event_num) |
| Get the number of pending application events. | |
| int | _sceAppMgrReceiveSystemEvent (SceAppMgrSystemEvent *system_event) |
| Receive one pending system event for the calling application and remove it from the queue. | |
| int | _sceAppMgrSaveDataAddMount (const SceAppMgrGenericMountContext *mount_context) |
| Mount savedata after validating its PFS keystone and passcode. | |
| int | _sceAppMgrSetNetworkDisconnectionWarningDialogState (SceBool enable, const SceAppMgrNetworkDisconnectionWarningDialogStateOptParam *opt_param) |
| Enable or disable network-disconnection warning dialogs. | |
| int | _sceAppMgrSetSystemDataFilePlayReady (SceUInt32 location, const SceUInt64 *sdpr, const void *data, SceSize data_size) |
| int | _sceAppMgrThemeDataMount (const char *content_id, const char *theme_path, const char *rif_path, const SceAppMgrThemeDataMountOpt *opt) |
| int | _sceAppMgrTrophyMount (int mount_id, ScePID process_id, char mount_point[16]) |
| Mount trophy data for process_id using mount ID 300 or 302. | |
| int | _sceAppMgrTrophyMountById (int mount_id, const char *title_id, char mount_point[16], const SceAppMgrTrophyMountByIdOpt *opt) |
| Mount trophy data for another title. | |
| int | _sceAppMgrUmount (const char *mount_point) |
| Unmount a 16-byte randomized mount point belonging to the calling process. | |
| int | _sceAppMgrUpdateSaveDataParam (const char *path, const SceAppMgrUpdateSaveDataParamOpt *opt) |
Update savedata param.sfo metadata at path. | |
| int | _sceAppMgrWorkDirMount (int mount_id, char mount_point[16]) |
| Mount a working-directory location selected by mount_id. | |
| int | _sceAppMgrWorkDirMountById (int mount_id, const char *title_id, char mount_point[16], const SceAppMgrWorkDirMountByIdOpt *opt) |
| Mount another title's working directory. | |
| int | sceAppMgrActivateApp (int app_id) |
| Activate an application. | |
Exports for User.
Include the header file in your project:
Link the library to the executable:
| struct SceAppMgrSystemEvent |
| Data Fields | ||
|---|---|---|
| int | systemEvent | One of SceAppMgrSystemEventType. |
| uint8_t | reserved[60] | Reserved data. |
| struct SceAppMgrSaveDataData |
| Data Fields | ||
|---|---|---|
| int | size | Must be 0x4C. |
| unsigned int | slotId | Save slot to use. |
| SceAppUtilSaveDataSlotParam * | slotParam | Save slot params. |
| uint8_t | reserved[32] | Reserved data. |
| SceAppUtilSaveDataFile * | files | Pointer to an array of files. |
| int | fileNum | Number of files to save. |
| SceAppUtilSaveDataMountPoint | mountPoint | Savedata mountpoint. |
| unsigned int * | requiredSizeKB | Required size in KBs. |
| int | unk_0x48 | |
| struct SceAppMgrSaveDataDataDelete |
| Data Fields | ||
|---|---|---|
| int | size | Must be 0x44. |
| unsigned int | slotId | Save slot to use. |
| SceAppUtilSaveDataSlotParam * | slotParam | Save slot params. |
| uint8_t | reserved[32] | Reserved data. |
| SceAppUtilSaveDataFile * | files | Pointer to an array of files. |
| int | fileNum | Number of files to delete. |
| SceAppUtilSaveDataMountPoint | mountPoint | Savedata mountpoint. |
| struct SceAppMgrSaveDataSlot |
| Data Fields | ||
|---|---|---|
| int | size | Must be 0x418. |
| unsigned int | slotId | Save slot to use. |
| SceAppUtilSaveDataSlotParam | slotParam | Save slot params. |
| uint8_t | reserved[116] | Reserved data. |
| SceAppUtilSaveDataMountPoint | mountPoint | Savedata mountpoint. |
| uint8_t | reserved2[0x40] | |
| struct SceAppMgrSaveDataSlotDelete |
| Data Fields | ||
|---|---|---|
| int | size | Must be 0x18. |
| unsigned int | slotId | Save slot to use. |
| SceAppUtilSaveDataMountPoint | mountPoint | Savedata mountpoint. |
| struct SceAppMgrAppState |
| struct SceAppMgrBudgetInfo |
| Data Fields | ||
|---|---|---|
| int | size | Must be 0x88. |
| int | app_mode | One of SceAppMgrApplicationMode. |
| int | unk0 | Unknown Data. |
| unsigned int | total_user_rw_mem | Total amount of accessible USER_RW memory. |
| unsigned int | free_user_rw | Free amount of accessible USER_RW memory. |
| SceBool | extra_mem_allowed | Flag for extra memory accessibility. |
| int | unk1 | Unknown Data. |
| unsigned int | total_extra_mem | Total amount of accessible extra memory. |
| unsigned int | free_extra_mem | Free amount of accessible extra memory. |
| int | unk2[2] | Unknown Data. |
| unsigned int | total_phycont_mem | Total amount of accessible physically contiguous memory. |
| unsigned int | free_phycont_mem | Free amount of accessible physically contiguous memory. |
| int | unk3[10] | Unknown Data. |
| unsigned int | total_cdram_mem | Total amount of accessible CDRAM memory. |
| unsigned int | free_cdram_mem | Free amount of accessible CDRAM memory. |
| int | reserved[9] | Reserved data. |
| struct SceAppMgrCoredumpState |
| struct SceAppMgrAppInfo |
| struct SceAppMgrAppMgrState |
| Data Fields | ||
|---|---|---|
| SceUInt32 | prioritize_system_chat | |
| SceUInt32 | system_impose_state | |
| SceInt32 | reserved08 | Initialized to -1 on FW 3.60. |
| SceUInt32 | audio_routing_state | |
| SceUInt32 | recommended_screen_orientation | One of SceAppMgrScreenOrientation. |
| SceUInt32 | system_impose_state2 | |
| SceUInt8 | reserved[0x68] | Reserved in the FW 3.60 state block. |
| struct SceAppMgrAppStatus |
Application status returned by the raw status functions.
FW 3.60 always writes the complete 0x80-byte structure; the output has no leading size field.
| Data Fields | ||
|---|---|---|
| ScePID | parent_process_id | Process that submitted the launch request, or -1. |
| SceUInt32 | launch_flags | Bitwise OR of SceAppMgrLaunchFlag values. |
| SceUInt32 | app_protection_mode_on_memory_shortage | |
| char | app_name[32] | |
| SceUInt32 | has_launch_param | Non-zero when launch parameters are available. |
| SceUID | app_id | |
| ScePID | process_id | |
| SceBool | is_active | Non-zero while AppMgr considers the application activated. |
| SceBool | is_running | Non-zero after AppMgr starts the process and before it enters shutdown. |
| SceBool | network_disconnection_warning_dialog_enabled | |
| SceUID | parent_app_id | |
| SceUInt8 | info_bar_visibility | One of SceAppMgrInfoBarVisibility. |
| SceUInt8 | info_bar_color | One of SceAppMgrInfoBarColor. |
| SceUInt8 | info_bar_transparency | One of SceAppMgrInfoBarTransparency. |
| SceUInt8 | reserved_4B | High byte of the packed info-bar state. |
| SceUInt32 | reserved_4C | Internal launch-request value; its purpose is unknown. |
| char | bgm_proxy_app_name[32] | |
| SceUInt8 | process_launch_type | One of SceAppMgrProcessLaunchType. |
| SceUInt8 | application_type | One of SceAppMgrApplicationType. |
| SceUInt8 | reserved72[2] | Set to 0 on FW 3.60. |
| SceUInt32 | app_flags | Internal process flags copied from AppMgr's process context. |
| SceUInt32 | recommended_screen_orientation | One of SceAppMgrScreenOrientation. |
| SceBool | recommended_screen_orientation_activated | |
| struct SceAppMgrBootParam |
Application boot parameters.
The first field, size, specifies how many bytes of this structure to use. FW 3.60 supports up to 0x2C bytes. Set size to 0xC to use the old 0xC-byte layout.
| Data Fields | ||
|---|---|---|
| SceSize | size | Number of bytes requested from the public wrapper; maximum value is 0x2C. |
| SceUInt | reserved04[2] | Set to 0 on FW 3.60. |
| SceUInt | reserved_0C[8] | Left unchanged from the caller's input on FW 3.60. |
| struct SceAppMgrEvent |
| Data Fields | ||
|---|---|---|
| int | event | One of SceAppMgrEventType or SceAppMgrSystemEventType. |
| SceUID | app_id | Application ID; FW 3.60 writes -1 for received events. |
| char | param[SCE_APP_MGR_MAX_EVENT_PARM_LENGTH] | Event parameters; set to 0 on FW 3.60. |
| struct SceAppMgrLaunchAppByUri2Param |
| Data Fields | ||
|---|---|---|
| SceSize | size | Ignored on FW 3.60. |
| SceUInt32 | flags | Bitwise OR of SceAppMgrLaunchFlag values; FW 3.60 forces SCE_APPMGR_LAUNCH_FLAG_ALLOW_EMPTY_TARGET. |
| SceUInt32 | reserved08 | Ignored on FW 3.60. |
| SceUID | app_launch_callback_id | Callback notified with the launched process ID, or -1. |
| SceUID | get_param_callback_id | Callback notified when the target consumes its launch parameters, or -1. |
| SceInt32 | parent_app_id | Parent application ID, or -1; used when flags includes SCE_APPMGR_LAUNCH_FLAG_EXIT_TO. |
| SceUInt32 | launch_mode | Application mode from 0 through 4; values 2 through 4 are SceAppMgrApplicationMode values. |
| SceUInt32 | reserved_1C | Stored in the target process context on FW 3.60; its purpose is unknown. |
| SceUInt8 | reserved[0x20] | Must be zero on FW 3.60. |
| struct SceAppMgrNetworkDisconnectionWarningDialogStateOptParam |
| Data Fields | ||
|---|---|---|
| SceUInt8 | reserved[0x80] | Not accepted on FW 3.60; pass NULL for the option pointer. |
| struct SceAppMgrCheckRifGDOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrCheckRifGDResult |
Game-data RIF information returned by _sceAppMgrCheckRifGD.
| Data Fields | ||
|---|---|---|
| char | content_id[0x30] | RIF content ID. |
| SceUInt32 | license_version | RIF license version. |
| SceUInt32 | drm_type | RIF DRM type. |
| SceUInt32 | flags | Derived license flags returned by ksceNpDrmGetRifInfo. |
| SceUInt32 | sku_flags | RIF SKU flags. |
| SceUInt64 | account_id | License account ID. |
| SceUInt64 | rif_data98 | Raw 8-byte RIF field. |
| SceInt64 | license_start_time | Effective license start time. |
| SceInt64 | license_expiration_time | Effective license expiration time. |
| SceUInt8 | key[0x10] | Decrypted Vita license key. |
| struct SceAppMgrGameDataMountOpt |
| Data Fields | ||
|---|---|---|
| char * | mount_point | Receives a 16-byte mount point of the form "gpXXXXXXXXXXXd:". |
| SceUInt32 | reserved[5] | Ignored on FW 3.60. |
| struct SceAppMgrGetAppInfoOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrGetAppParamOpt |
| struct SceAppMgrGetBootParamOpt |
| struct SceAppMgrGetIdByNameOpt |
| struct SceAppMgrGetNameByIdOpt |
| struct SceAppMgrGetSaveDataInfoForSpecialExportOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrGetSaveDataInfoResult |
| Data Fields | ||
|---|---|---|
| SceUInt32 | storage_type | One of SceAppMgrSaveDataStorageType. |
| SceBool | is_mounted | Non-zero when the save data is mounted. |
| SceBool | has_broken_data | Set for specific PFS validation failures or when sdslot.dat is absent. |
| SceUInt32 | account_id[2] | Low and high words of the param.sfo ACCOUNT_ID value. |
| SceUInt32 | save_data_param44 |
Value copied from the param.sfo PARAMS entry. |
| SceUInt32 | allocated_size_kb | |
| struct SceAppMgrGetSaveDataInfoOpt |
| Data Fields | ||
|---|---|---|
| SceAppMgrGetSaveDataInfoResult * | result | Receives a 0x1C-byte result. |
| SceUInt32 | reserved[3] | Ignored on FW 3.60. |
| struct SceAppMgrGetStatusByIdOpt |
| struct SceAppMgrGetUserDirPathOpt |
| struct SceAppMgrGenericMountContext |
| Data Fields | ||
|---|---|---|
| SceTitleId | title_id | Title or additional-content identifier used to construct the source path. |
| char | pass_code[32] | Passcode used to verify the mounted PFS keystone. |
| char | mount_drive[16] | Optional explicit source drive or randomized mount-drive identifier. |
| struct SceAppMgrAppDataMountByIdOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrAppParamGetStringOpt |
| struct SceAppMgrGetStatusByNameOpt |
| struct SceAppMgrLoadSaveDataSystemFileOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrLoopBackMountOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrPhotoMountOpt |
| Data Fields | ||
|---|---|---|
| SceSize | param_size | Number of bytes to copy from SceAppMgrPhotoMountParam; maximum value is 0x84. |
| SceUInt32 | reserved | Ignored on FW 3.60. |
| struct SceAppMgrThemeDataMountOpt |
| Data Fields | ||
|---|---|---|
| char * | mount_point | Receives a 16-byte mount point of the form "tmXXXXXXXXXXXX:". |
| SceUInt32 | reserved[5] | Ignored on FW 3.60. |
| struct SceAppMgrTrophyMountByIdOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrUpdateSaveDataParamOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrWorkDirMountByIdOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrConvertVs0UserDrivePathOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[4] | Ignored on FW 3.60. |
| struct SceAppMgrDeclareShellProcess2Opt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrGetRawPathOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[4] | Ignored on FW 3.60. |
| struct SceAppMgrLaunchAppByUri2Opt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| struct SceAppMgrLoadExecOpt |
| Data Fields | ||
|---|---|---|
| SceUInt32 | reserved[2] | Ignored on FW 3.60. |
| #define SCE_APPMGR_MAX_APP_NAME_LENGTH (31) |
| #define SCE_APP_MGR_MAX_EVENT_PARM_LENGTH (56) |
| typedef struct SceAppMgrExecOptParam SceAppMgrExecOptParam |
| typedef struct SceAppMgrLaunchAppOptParam SceAppMgrLaunchAppOptParam |
| typedef struct SceAppMgrDrmOpenParam SceAppMgrDrmOpenParam |
| enum SceAppMgrErrorCode |
| enum SceAppMgrEventType |
Recommended physical device orientation, viewed from the screen side.
Rotations are relative to upright landscape, not framebuffer rotations. FW 3.60 SceShell maps the basic-orientation axes +Y, -Y, -X, and +X to these values, respectively.
| enum SceAppMgrAppParamId |
String fields accepted by _sceAppMgrAppParamGetString.
| Enumerator | |
|---|---|
| SCE_APPMGR_APP_PARAM_CONTENT_ID | Content ID; requires at least 0x30 output bytes. |
| SCE_APPMGR_APP_PARAM_NP_COMMUNICATION_ID | NP communication ID; requires at least 0xD output bytes. |
| SCE_APPMGR_APP_PARAM_CATEGORY | Application category; requires at least 4 output bytes. |
| SCE_APPMGR_APP_PARAM_TITLE | Localized title; requires at least 0x80 output bytes. |
| SCE_APPMGR_APP_PARAM_SHORT_TITLE | Localized short title; requires at least 0x34 output bytes. |
| SCE_APPMGR_APP_PARAM_TITLE_ID | Title ID; requires at least 10 output bytes. |
| SCE_APPMGR_APP_PARAM_APP_PATH | Executable path; requires system permission and at least 0x124 output bytes. |
| SCE_APPMGR_APP_PARAM_CONTENT_ID_OVERRIDE | Override for this process; falls back to SCE_APPMGR_APP_PARAM_CONTENT_ID. |
| SCE_APPMGR_APP_PARAM_TITLE_OVERRIDE | Override for this process; falls back to SCE_APPMGR_APP_PARAM_TITLE. |
| enum SceAppMgrLaunchFlag |
Launch-request flags observed on FW 3.60.
Values written to SceAppMgrAppStatus::process_launch_type on FW 3.60.
| Enumerator | |
|---|---|
| SCE_APPMGR_PROCESS_LAUNCH_TYPE_NORMAL | Normal title or URI launch. |
| SCE_APPMGR_PROCESS_LAUNCH_TYPE_PATH4 | Launch through |
| SCE_APPMGR_PROCESS_LAUNCH_TYPE_KERNEL_PATH | Launch through ksceAppMgrLaunchAppByPath; represented as |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x40 | , |
| SceAppMgrSystemEvent | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x4C | , |
| SceAppMgrSaveDataData | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x44 | , |
| SceAppMgrSaveDataDataDelete | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x418 | , |
| SceAppMgrSaveDataSlot | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x18 | , |
| SceAppMgrSaveDataSlotDelete | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x80 | , |
| SceAppMgrAppState | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x88 | , |
| SceAppMgrBudgetInfo | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x100 | , |
| SceAppMgrLoadExecOptParam | |||
| ) |
| int sceAppMgrSaveDataDataSave | ( | SceAppMgrSaveDataData * | data | ) |
Save data on savedata0: partition.
| [in] | data | - Data to save |
| int sceAppMgrSaveDataDataRemove | ( | SceAppMgrSaveDataDataDelete * | data | ) |
Remove data on savedata0: partition.
| [in] | data | - Data to remove |
| int sceAppMgrSaveDataSlotCreate | ( | SceAppMgrSaveDataSlot * | data | ) |
Create a savedata slot.
| [in] | data | - Slot data |
| int sceAppMgrSaveDataSlotGetParam | ( | SceAppMgrSaveDataSlot * | data | ) |
Get current param of a savedata slot.
| [out] | data | - Slot data |
| int sceAppMgrSaveDataSlotSetParam | ( | SceAppMgrSaveDataSlot * | data | ) |
Set current param of a savedata slot.
| [in] | data | - Slot data |
| int sceAppMgrSaveDataSlotDelete | ( | SceAppMgrSaveDataSlotDelete * | data | ) |
Delete a savedata slot.
| [in] | data | - Slot data |
| int sceAppMgrGetIdByName | ( | SceUID * | pid, |
| const char * | name | ||
| ) |
Get Process ID by Title ID.
| [out] | pid | - Process ID |
| [in] | name | - Title ID |
| int sceAppMgrGetNameById | ( | SceUID | pid, |
| char * | name | ||
| ) |
Get Title ID by Process ID.
| [in] | pid | - Process ID |
| [out] | name | - Title ID |
| int sceAppMgrDestroyOtherApp | ( | void | ) |
Destroy other apps.
| int sceAppMgrDestroyAppByName | ( | const char * | name | ) |
Destroy an application by Title ID.
| [in] | name | - Title ID of the application |
| int sceAppMgrDestroyAppByAppId | ( | SceInt32 | appId | ) |
Destroy an application by Application ID.
| [in] | appId | - Application ID of the application |
Get PID of an application for Shell.
| [in] | appId | - Application ID of the application |
| int sceAppMgrGetRunningAppIdListForShell | ( | SceInt32 * | appIds, |
| int | count | ||
| ) |
Get a list of running applications.
| [out] | appIds | - Array of running application IDs |
| [in] | count | - Max number of running applications to search |
| int _sceAppMgrGetAppState | ( | SceAppMgrAppState * | appState, |
| SceSize | len, | ||
| uint32_t | version | ||
| ) |
Get an application state.
| [out] | appState | - State of the application |
| [in] | len | - sizeof(SceAppMgrState) |
| [in] | version | - Version (?) |
| int sceAppMgrReceiveSystemEvent | ( | SceAppMgrSystemEvent * | systemEvent | ) |
Receive system event.
| [out] | systemEvent | - Received system event |
| int sceAppMgrGetAppParam | ( | char * | param | ) |
Copies app param to an array.
| [out] | param | - pointer to a 1024 byte location to store the app param |
| int sceAppMgrAcquireBgmPort | ( | void | ) |
Obtains the BGM port, even when it is not in front.
| int sceAppMgrReleaseBgmPort | ( | void | ) |
Release acquired BGM port.
| int sceAppMgrSetInfobarState | ( | SceAppMgrInfoBarVisibility | visibility, |
| SceAppMgrInfoBarColor | color, | ||
| SceAppMgrInfoBarTransparency | transparency | ||
| ) |
Set infobar state.
| [in] | visibility | - Infobar visibility |
| [in] | color | - Infobar color |
| [in] | transparency | - Infobar transparency |
| int sceAppMgrLoadExec | ( | const char * | appPath, |
| char *const | argv[], | ||
| const SceAppMgrExecOptParam * | optParam | ||
| ) |
Load and start a SELF executable.
| [in] | appPath | - Path of the SELF file |
| [in] | argv | - Args to pass to SELF module_start |
| [in] | optParam | - Optional params |
| int sceAppMgrLaunchAppByUri | ( | int | flags, |
| const char * | uri | ||
| ) |
Start an application by URI.
| [in] | flags | - Must be 0x20000 |
| [in] | uri | - Uri to launch |
| int sceAppMgrLaunchAppByName2 | ( | const char * | name, |
| const char * | param, | ||
| SceAppMgrLaunchAppOptParam * | optParam | ||
| ) |
Start an application by Title ID.
| [in] | name | - Title ID of the application |
| [in] | param | - The params passed to the application which can be retrieved with sceAppMgrGetAppParam |
| [in] | optParam | - Optional params |
| int sceAppMgrLaunchAppByName | ( | int | flags, |
| const char * | name, | ||
| const char * | param | ||
| ) |
Start an Application by Title ID.
| [in] | flags | - Usually 0x60000 |
| [in] | name | - Title ID of the application |
| [in] | param | - The params passed to the application which can be retrieved with sceAppMgrGetAppParam |
| SceUID sceAppMgrLaunchAppByName2ForShell | ( | const char * | name, |
| const char * | param, | ||
| SceAppMgrLaunchAppOptParam * | optParam | ||
| ) |
Start an application by Title ID for Shell.
| [in] | name | - Title ID of the application |
| [in] | param | - The params passed to the application which can be retrieved with sceAppMgrGetAppParam |
| [in] | optParam | - Optional params |
| int sceAppMgrGameDataMount | ( | const char * | app_path, |
| const char * | patch_path, | ||
| const char * | rif_path, | ||
| char * | mount_point | ||
| ) |
Mount game data.
| [in] | app_path | - example : "ux0:/app/${TITLEID}" |
| [in] | patch_path | - example : "ux0:/patch/${TITLEID}", "invalid:" |
| [in] | rif_path | - If NULL the system will automatically search the rif path. example : "ux0:/license/app/${TITLEID}/${HEX}.rif" |
| [in] | mount_point | - Mountpoint output |
| int sceAppMgrAppDataMount | ( | int | id, |
| const char * | mount_point | ||
| ) |
Mount application data.
| [in] | id | - App data ID |
| [out] | mount_point | - Receives the 16-byte mountpoint string. |
| int sceAppMgrAppDataMountById | ( | int | id, |
| const char * | titleid, | ||
| const char * | mount_point | ||
| ) |
Mount application data by Title ID.
| [in] | id | - App data ID |
| [in] | titleid | - Application title ID |
| [out] | mount_point | - Receives the 16-byte mountpoint string. |
| int sceAppMgrAppParamGetString | ( | int | pid, |
| int | param, | ||
| char * | string, | ||
| SceSize | length | ||
| ) |
Get application params from SFO descriptor.
| [in] | pid | - Process ID |
| [in] | param | - Param ID in the SFO descriptor |
| [out] | string | - Param data |
| [in] | length | - Length of the param data |
| int sceAppMgrGetDevInfo | ( | const char * | dev, |
| uint64_t * | max_size, | ||
| uint64_t * | free_size | ||
| ) |
Get device info.
| [in] | dev | - Device to get info about |
| [out] | max_size | - Capacity of the device |
| [out] | free_size | - Free space of the device |
| int sceAppMgrMmsMount | ( | int | id, |
| const char * | mount_point | ||
| ) |
Mount application data (PSPEmu)
| [in] | id | - App data ID |
| [out] | mount_point | - Receives the 16-byte mountpoint string. |
| int sceAppMgrPspSaveDataRootMount | ( | const char * | mount_point | ) |
Mount PSPEmu virtual memory stick.
| [out] | mount_point | - Receives the 16-byte mountpoint string. |
| int sceAppMgrWorkDirMount | ( | int | id, |
| const char * | mount_point | ||
| ) |
Mount working directory.
| [in] | id | - Working directory ID |
| [out] | mount_point | - Receives the 16-byte mountpoint string. |
| int sceAppMgrWorkDirMountById | ( | int | id, |
| const char * | titleid, | ||
| const char * | mount_point | ||
| ) |
Mount working directory by Title ID.
| [in] | id | - Working directory ID |
| [in] | titleid | - Application Title ID |
| [out] | mount_point | - Receives the 16-byte mountpoint string. |
| int sceAppMgrUmount | ( | const char * | mount_point | ) |
Unmount a mountpoint.
| [in] | mount_point | - Mountpoint to unmount |
| int sceAppMgrConvertVs0UserDrivePath | ( | char * | path, |
| char * | mount_point, | ||
| int | unk | ||
| ) |
Convert vs0 path string to a new one usable by applications.
| [in] | path | - Path to convert |
| [in] | mount_point | - Mountpoint to use |
| [in] | unk | - Unknown |
| int sceAppMgrGetRawPath | ( | char * | path, |
| char * | resolved_path, | ||
| int | resolved_path_size | ||
| ) |
Get raw path for a given path.
| [out] | path | - Path to convert |
| [in] | resolved_path | - The input process path |
| [in] | resolved_path_size | - The input process path length |
| int sceAppMgrGetRawPathOfApp0ByAppIdForShell | ( | int | appId, |
| char | resolved_path[292] | ||
| ) |
Get the real/resolved path of app0: (where it's actually mounted)
| [in] | appId | - Use -2 for the current application |
| [out] | resolved_path | - Buffer that will hold the resolved path. It should have enough room to hold 292 characters or it will buffer overflow (noname120). |
| int sceAppMgrGetBudgetInfo | ( | SceAppMgrBudgetInfo * | info | ) |
Get memory budget info for a running system application.
| [out] | info | - Info related to the memory budget of the running application. |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x428 | , |
| SceAppMgrCoredumpState | |||
| ) |
| int sceAppMgrGetCoredumpStateForShell | ( | SceAppMgrCoredumpState * | state | ) |
Get current coredump state for shell.
| [out] | state | - state info output. |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x80 | , |
| SceAppMgrAppInfo | |||
| ) |
| SceInt32 sceAppMgrDrmOpen | ( | const SceAppMgrDrmOpenParam * | param | ) |
| SceInt32 sceAppMgrGetAppInfo | ( | const char * | app_name, |
| SceAppMgrAppState * | app_info | ||
| ) |
Get whether an application is in AppMgr's started state.
The calling process must be a non-game program. FW 3.60 clears the complete 0x80-byte output and writes only SceAppMgrAppInfo::is_running.
| [in] | app_name | Application name of at most 31 characters; NULL selects the calling process. |
| [out] | app_info | Output buffer whose FW 3.60 layout is SceAppMgrAppInfo. Still declared as SceAppMgrAppState * for backwards compatibility. |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x80 | , |
| SceAppMgrAppMgrState | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x400 | , |
| SceAppMgrAppParam | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x80 | , |
| SceAppMgrAppStatus | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x2C | , |
| SceAppMgrBootParam | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x40 | , |
| SceAppMgrEvent | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x40 | , |
| SceAppMgrLaunchAppByUri2Param | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x80 | , |
| SceAppMgrNetworkDisconnectionWarningDialogStateOptParam | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrCheckRifGDOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x70 | , |
| SceAppMgrCheckRifGDResult | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x18 | , |
| SceAppMgrGameDataMountOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrGetAppInfoOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrGetAppParamOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrGetBootParamOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrGetIdByNameOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrGetNameByIdOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrGetSaveDataInfoForSpecialExportOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x1C | , |
| SceAppMgrGetSaveDataInfoResult | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
| SceAppMgrGetSaveDataInfoOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrGetStatusByIdOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrGetUserDirPathOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x40 | , |
| SceAppMgrGenericMountContext | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrAppDataMountByIdOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
| SceAppMgrAppParamGetStringOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
| SceAppMgrGetStatusByNameOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrLoadSaveDataSystemFileOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrLoopBackMountOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrPhotoMountOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x18 | , |
| SceAppMgrThemeDataMountOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrTrophyMountByIdOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrUpdateSaveDataParamOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrWorkDirMountByIdOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
| SceAppMgrConvertVs0UserDrivePathOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrDeclareShellProcess2Opt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x10 | , |
| SceAppMgrGetRawPathOpt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrLaunchAppByUri2Opt | |||
| ) |
| VITASDK_BUILD_ASSERT_EQ | ( | 0x8 | , |
| SceAppMgrLoadExecOpt | |||
| ) |
| int __sceAppMgrGetAppState | ( | SceAppMgrAppState * | app_state, |
| SceUInt32 | sizeof_sce_app_mgr_app_state, | ||
| SceUInt32 | build_version | ||
| ) |
Get the calling application's pending-event and overlay state.
| [out] | app_state | Receives the 0x80-byte application state. |
| [in] | sizeof_sce_app_mgr_app_state | Must be the size of SceAppMgrAppState. |
| [in] | build_version | Maximum supported build version; FW 3.60 accepts values through 0x03600011. |
| int _sceAppMgrAddContAddMount | ( | const SceAppMgrGenericMountContext * | mount_context, |
| int | force_mount_ux | ||
| ) |
Mount additional content after validating its PFS keystone and passcode.
| int _sceAppMgrAddContMount | ( | ScePID | process_id, |
| const SceAppMgrGenericMountContext * | mount_context | ||
| ) |
Mount additional content for process_id.
| int _sceAppMgrAppDataMount | ( | int | mount_id, |
| char | mount_point[16] | ||
| ) |
Mount application data and return a randomized mount point.
FW 3.60 accepts mount IDs 100, 101, 102, 103, 105, 108, 109, 111, and 112.
| int _sceAppMgrAppDataMountById | ( | int | mount_id, |
| const char * | title_id, | ||
| char | mount_point[16], | ||
| const SceAppMgrAppDataMountByIdOpt * | opt | ||
| ) |
Mount application data identified by a title or content ID.
FW 3.60 accepts mount IDs 104, 106, 107, and 110. Mount ID 104 requires an identifier with the exact form ABCD12345_67; IDs 106 and 107 select the RO and RW directories below ux0:psm/<title_id>.
| int _sceAppMgrAppParamGetString | ( | ScePID | process_id, |
| SceAppMgrAppParamId | param_id, | ||
| char * | string, | ||
| const SceAppMgrAppParamGetStringOpt * | opt | ||
| ) |
Read a string parameter from a process's param.sfo metadata.
The public wrapper stores its output-buffer length in opt. FW 3.60 caps that length at 0x400 and validates the minimum required by param_id. A zero process_id selects the calling process. Game and non-game callers cannot use a nonzero ID to inspect another process. Reading SCE_APPMGR_APP_PARAM_APP_PATH additionally requires system permission.
| int _sceAppMgrCheckRifGD | ( | const char * | path, |
| SceAppMgrCheckRifGDResult * | result, | ||
| const SceAppMgrCheckRifGDOpt * | opt | ||
| ) |
Validate a game-data RIF and return its parsed license information.
| int _sceAppMgrContentInstallPeriodStart | ( | void | ) |
Unmount the calling process's content mounts for an installation period.
| int _sceAppMgrContentInstallPeriodStop | ( | void | ) |
End an installation period and remount the calling process's content.
| int _sceAppMgrConvertVs0UserDrivePath | ( | const char * | path, |
| char * | converted_path, | ||
| SceSize | converted_path_size, | ||
| const SceAppMgrConvertVs0UserDrivePathOpt * | opt | ||
| ) |
| [out] | converted_path | Output buffer for a path of at most 0x124 bytes, including the terminating NUL. |
| [in] | converted_path_size | Output-buffer capacity. FW 3.60 requires a value greater than 0x3F and caps it at 0x124. |
| int _sceAppMgrDeclareShellProcess2 | ( | const char * | app_name, |
| const SceAppMgrDeclareShellProcess2Opt * | opt | ||
| ) |
| [in] | opt | Must be non-NULL; its contents are ignored on FW 3.60. |
| int _sceAppMgrForceUmount | ( | int | mount_id | ) |
Force-unmount active USB mass-storage image mounts.
On FW 3.60 mount_id must be 600 and the caller must have UDCD permission.
| int _sceAppMgrGameDataMount | ( | const char * | app_path, |
| const char * | patch_path, | ||
| const char * | rif_path, | ||
| const SceAppMgrGameDataMountOpt * | opt | ||
| ) |
| int _sceAppMgrGetAppInfo | ( | const char * | app_name, |
| SceAppMgrAppInfo * | app_info, | ||
| const SceAppMgrGetAppInfoOpt * | opt | ||
| ) |
| [in] | app_name | Application name of at most 31 characters; NULL selects the calling process. |
| int _sceAppMgrGetAppMgrState | ( | SceAppMgrAppMgrState * | app_mgr_state | ) |
Get the 0x80-byte global AppMgr state.
| int _sceAppMgrGetAppParam | ( | SceAppMgrAppParam * | app_param, |
| const SceAppMgrGetAppParamOpt * | opt | ||
| ) |
Get the calling application's queued launch parameter.
| int _sceAppMgrGetBootParam | ( | SceUInt32 | selector, |
| SceAppMgrBootParam * | boot_param, | ||
| const SceAppMgrGetBootParamOpt * | opt | ||
| ) |
Get boot parameters with a leading size field.
FW 3.60 ignores selector. The number of bytes copied is SceAppMgrGetBootParamOpt::boot_param_size; values above 0x2C are rejected.
| int _sceAppMgrGetIdByName | ( | ScePID * | process_id, |
| const char * | app_name, | ||
| const SceAppMgrGetIdByNameOpt * | opt | ||
| ) |
Get the process ID for an application name.
| int _sceAppMgrGetNameById | ( | ScePID | process_id, |
| char | app_name[32], | ||
| const SceAppMgrGetNameByIdOpt * | opt | ||
| ) |
Get the application name for a process ID.
| int _sceAppMgrGetRawPath | ( | const char * | path, |
| char * | resolved_path, | ||
| SceSize | resolved_path_size, | ||
| const SceAppMgrGetRawPathOpt * | opt | ||
| ) |
| [out] | resolved_path | Output buffer for a path of at most 0x124 bytes, including the terminating NUL. |
| [in] | resolved_path_size | Output-buffer capacity passed to the FIOS overlay resolver, capped at 0x124 on FW 3.60. |
| [in] | opt | Must be non-NULL; its contents are ignored on FW 3.60. |
| int _sceAppMgrGetRawPathOfApp0ByAppIdForShell | ( | int | app_id, |
| char | resolved_path[292] | ||
| ) |
| int _sceAppMgrGetSaveDataInfo | ( | const char * | path, |
| const char * | title_id, | ||
| int | force_mount_ux, | ||
| const SceAppMgrGetSaveDataInfoOpt * | opt | ||
| ) |
Get savedata information for a title.
| [in] | path | Savedata path to inspect. |
| [in] | title_id | Exact nine-character title ID. |
| [in] | force_mount_ux | Nonzero to force the ux0: savedata lookup path. |
| [in] | opt | Required options containing the result buffer. |
| int _sceAppMgrGetSaveDataInfoForSpecialExport | ( | const char * | path, |
| SceUInt64 * | account_id, | ||
| const SceAppMgrGetSaveDataInfoForSpecialExportOpt * | opt | ||
| ) |
| [out] | account_id | Receives the 64-bit ACCOUNT_ID value. |
| int _sceAppMgrGetStatusByAppId | ( | int | app_id, |
| SceAppMgrAppStatus * | app_status | ||
| ) |
Get the 0x80-byte application status for an application ID.
| int _sceAppMgrGetStatusById | ( | ScePID | process_id, |
| SceAppMgrAppStatus * | app_status | ||
| ) |
Get the 0x80-byte application status for a process ID.
| int _sceAppMgrGetStatusByName | ( | const char * | app_name, |
| SceAppMgrAppStatus * | app_status, | ||
| const SceAppMgrGetStatusByNameOpt * | opt | ||
| ) |
Get the 0x80-byte application status for an application name.
| [in] | location | Must be 1 on FW 3.60. |
| [out] | sdpr | Receives the 64-bit SDPR value. |
| int _sceAppMgrGetUserDirPath | ( | SceAppMgrUserDirPartition | partition, |
| char * | user_dir_path, | ||
| SceSize | user_dir_path_size, | ||
| const SceAppMgrGetUserDirPathOpt * | opt | ||
| ) |
Get a per-user directory path for a storage partition.
Partition SCE_APPMGR_USER_DIR_PARTITION_UR0 returns ur0:user/<NN>. SCE_APPMGR_USER_DIR_PARTITION_UX0 first requires the corresponding ur0: directory to exist, then returns ux0:user/<NN>.
FW 3.60 requires user_dir_path_size to be at least 32 and writes at most 32 bytes. The separate option block is ignored.
| int _sceAppMgrGetVs0UserDataDrive | ( | ScePfsRndDriveId * | rnd_drive_id | ) |
Get the 16-byte randomized drive ID for the vs0 user-data mount.
| int _sceAppMgrGetVs0UserModuleDrive | ( | ScePfsRndDriveId * | rnd_drive_id | ) |
Get the 16-byte randomized drive ID for the vs0 user-module mount.
| int _sceAppMgrLaunchAppByUri2 | ( | const char * | uri, |
| const SceAppMgrLaunchAppByUri2Param * | param, | ||
| const SceAppMgrLaunchAppByUri2Opt * | opt | ||
| ) |
Launch an application URI.
FW 3.60 accepts a URI of at most 0x822 characters. param is optional; when present, it supplies 0x40 bytes of launch options. opt must be non-NULL, but its contents are ignored on FW 3.60.
| int _sceAppMgrLaunchVideoStreamingApp | ( | const void * | extra_data, |
| SceSize | extra_data_size, | ||
| const SceAppMgrLaunchVideoStreamingAppOpt * | param | ||
| ) |
| [in] | extra_data | Optional launch data of at most 0x1800 bytes. |
| [in] | extra_data_size | Size of extra_data; the maximum value is 0x1800. |
| [in] | param | Optional launch options for NPXS10085. |
| int _sceAppMgrLoadExec | ( | const char * | app_path, |
| char *const | argv[], | ||
| const SceAppMgrLoadExecOptParam * | opt_param, | ||
| const SceAppMgrLoadExecOpt * | opt | ||
| ) |
Replace the current game process with another executable.
On FW 3.60 opt_param must be NULL. opt must be non-NULL, but its contents are ignored.
| int _sceAppMgrLoadSaveDataSystemFile | ( | const char * | path, |
| void * | param_sfo_buffer, | ||
| SceSize | buffer_size, | ||
| const SceAppMgrLoadSaveDataSystemFileOpt * | opt | ||
| ) |
| [out] | param_sfo_buffer | Output buffer for the save-data param.sfo file. |
| [in] | buffer_size | Maximum number of bytes to write. |
| int _sceAppMgrLoopBackMount | ( | int | mount_id, |
| const char * | partition_name, | ||
| char | mount_point[16], | ||
| const SceAppMgrLoopBackMountOpt * | opt | ||
| ) |
Mount a USB mass-storage image and return its randomized mount point.
FW 3.60 requires mount_id to be 600 and partition_name to contain exactly 32 uppercase hexadecimal characters. The backing path is ux0:umass/<partition_name>.img.
| int _sceAppMgrMmsMount | ( | int | mount_id, |
| char | mount_point[16] | ||
| ) |
Mount one of the PSP emulator MMS locations selected by IDs 400 through 402.
| int _sceAppMgrPhotoMount | ( | const SceAppMgrPhotoMountParam * | param, |
| const SceAppMgrPhotoMountOpt * | opt | ||
| ) |
Mount photo application data.
| int _sceAppMgrPspSaveDataRootMount | ( | char | mount_point[16] | ) |
Mount the PSP emulator savedata root.
| int _sceAppMgrReceiveEvent | ( | SceAppMgrEvent * | app_event | ) |
Receive one pending application event and remove it from the queue.
| int _sceAppMgrReceiveEventNum | ( | int * | event_num | ) |
Get the number of pending application events.
| int _sceAppMgrReceiveSystemEvent | ( | SceAppMgrSystemEvent * | system_event | ) |
Receive one pending system event for the calling application and remove it from the queue.
FW 3.60 may return activate, deactivate, resume, quit, store-purchase, NP-message-arrival, or store-redemption events from SceAppMgrSystemEventType.
| int _sceAppMgrSaveDataAddMount | ( | const SceAppMgrGenericMountContext * | mount_context | ) |
Mount savedata after validating its PFS keystone and passcode.
| int _sceAppMgrSetNetworkDisconnectionWarningDialogState | ( | SceBool | enable, |
| const SceAppMgrNetworkDisconnectionWarningDialogStateOptParam * | opt_param | ||
| ) |
Enable or disable network-disconnection warning dialogs.
FW 3.60 requires opt_param to be NULL.
| int _sceAppMgrSetSystemDataFilePlayReady | ( | SceUInt32 | location, |
| const SceUInt64 * | sdpr, | ||
| const void * | data, | ||
| SceSize | data_size | ||
| ) |
| [in] | sdpr | Required 64-bit SDPR value when location is 1. |
| [in] | data | Required data buffer when location is 2. |
| [in] | data_size | Size of data; the maximum value is 0x4000. |
| int _sceAppMgrThemeDataMount | ( | const char * | content_id, |
| const char * | theme_path, | ||
| const char * | rif_path, | ||
| const SceAppMgrThemeDataMountOpt * | opt | ||
| ) |
| [in] | content_id | A NUL-terminated content ID of at most 26 characters. |
| int _sceAppMgrTrophyMount | ( | int | mount_id, |
| ScePID | process_id, | ||
| char | mount_point[16] | ||
| ) |
Mount trophy data for process_id using mount ID 300 or 302.
| int _sceAppMgrTrophyMountById | ( | int | mount_id, |
| const char * | title_id, | ||
| char | mount_point[16], | ||
| const SceAppMgrTrophyMountByIdOpt * | opt | ||
| ) |
Mount trophy data for another title.
FW 3.60 accepts mount ID 303 for the normal trophy path and 304 for its _BK backup. title_id must have the exact form ABCD12345_67.
| int _sceAppMgrUmount | ( | const char * | mount_point | ) |
Unmount a 16-byte randomized mount point belonging to the calling process.
| int _sceAppMgrUpdateSaveDataParam | ( | const char * | path, |
| const SceAppMgrUpdateSaveDataParamOpt * | opt | ||
| ) |
Update savedata param.sfo metadata at path.
| int _sceAppMgrWorkDirMount | ( | int | mount_id, |
| char | mount_point[16] | ||
| ) |
Mount a working-directory location selected by mount_id.
FW 3.60 accepts mount IDs 200, 201, 202, 203, 204, and 206.
| int _sceAppMgrWorkDirMountById | ( | int | mount_id, |
| const char * | title_id, | ||
| char | mount_point[16], | ||
| const SceAppMgrWorkDirMountByIdOpt * | opt | ||
| ) |
Mount another title's working directory.
Mount ID 205 selects ux0:cache/<title_id> and requires an exact nine-character title ID. Mount ID 207 selects ux0:temp/app_work/<title_id>/rec.
| int sceAppMgrActivateApp | ( | int | app_id | ) |
Activate an application.
Only SceShell may call this function.
| int SceAppMgrSystemEvent::systemEvent |
One of SceAppMgrSystemEventType.
| uint8_t SceAppMgrSystemEvent::reserved[60] |
Reserved data.
| int SceAppMgrSaveDataData::size |
Must be 0x4C.
| unsigned int SceAppMgrSaveDataData::slotId |
Save slot to use.
| SceAppUtilSaveDataSlotParam* SceAppMgrSaveDataData::slotParam |
Save slot params.
| uint8_t SceAppMgrSaveDataData::reserved[32] |
Reserved data.
| SceAppUtilSaveDataFile* SceAppMgrSaveDataData::files |
Pointer to an array of files.
| int SceAppMgrSaveDataData::fileNum |
Number of files to save.
| SceAppUtilSaveDataMountPoint SceAppMgrSaveDataData::mountPoint |
Savedata mountpoint.
| unsigned int* SceAppMgrSaveDataData::requiredSizeKB |
Required size in KBs.
| int SceAppMgrSaveDataData::unk_0x48 |
| int SceAppMgrSaveDataDataDelete::size |
Must be 0x44.
| unsigned int SceAppMgrSaveDataDataDelete::slotId |
Save slot to use.
| SceAppUtilSaveDataSlotParam* SceAppMgrSaveDataDataDelete::slotParam |
Save slot params.
| uint8_t SceAppMgrSaveDataDataDelete::reserved[32] |
Reserved data.
| SceAppUtilSaveDataFile* SceAppMgrSaveDataDataDelete::files |
Pointer to an array of files.
| int SceAppMgrSaveDataDataDelete::fileNum |
Number of files to delete.
| SceAppUtilSaveDataMountPoint SceAppMgrSaveDataDataDelete::mountPoint |
Savedata mountpoint.
| int SceAppMgrSaveDataSlot::size |
Must be 0x418.
| unsigned int SceAppMgrSaveDataSlot::slotId |
Save slot to use.
| SceAppUtilSaveDataSlotParam SceAppMgrSaveDataSlot::slotParam |
Save slot params.
| uint8_t SceAppMgrSaveDataSlot::reserved[116] |
Reserved data.
| SceAppUtilSaveDataMountPoint SceAppMgrSaveDataSlot::mountPoint |
Savedata mountpoint.
| uint8_t SceAppMgrSaveDataSlot::reserved2[0x40] |
| int SceAppMgrSaveDataSlotDelete::size |
Must be 0x18.
| unsigned int SceAppMgrSaveDataSlotDelete::slotId |
Save slot to use.
| SceAppUtilSaveDataMountPoint SceAppMgrSaveDataSlotDelete::mountPoint |
Savedata mountpoint.
| SceUInt32 SceAppMgrAppState::systemEventNum |
| SceUInt32 SceAppMgrAppState::appEventNum |
| SceBool SceAppMgrAppState::isSystemUiOverlaid |
| SceUInt8 SceAppMgrAppState::reserved[116] |
| int SceAppMgrBudgetInfo::size |
Must be 0x88.
| int SceAppMgrBudgetInfo::app_mode |
One of SceAppMgrApplicationMode.
| int SceAppMgrBudgetInfo::unk0 |
Unknown Data.
| unsigned int SceAppMgrBudgetInfo::total_user_rw_mem |
Total amount of accessible USER_RW memory.
| unsigned int SceAppMgrBudgetInfo::free_user_rw |
Free amount of accessible USER_RW memory.
| SceBool SceAppMgrBudgetInfo::extra_mem_allowed |
Flag for extra memory accessibility.
| int SceAppMgrBudgetInfo::unk1 |
Unknown Data.
| unsigned int SceAppMgrBudgetInfo::total_extra_mem |
Total amount of accessible extra memory.
| unsigned int SceAppMgrBudgetInfo::free_extra_mem |
Free amount of accessible extra memory.
| int SceAppMgrBudgetInfo::unk2[2] |
Unknown Data.
| unsigned int SceAppMgrBudgetInfo::total_phycont_mem |
Total amount of accessible physically contiguous memory.
| unsigned int SceAppMgrBudgetInfo::free_phycont_mem |
Free amount of accessible physically contiguous memory.
| int SceAppMgrBudgetInfo::unk3[10] |
Unknown Data.
| unsigned int SceAppMgrBudgetInfo::total_cdram_mem |
Total amount of accessible CDRAM memory.
| unsigned int SceAppMgrBudgetInfo::free_cdram_mem |
Free amount of accessible CDRAM memory.
| int SceAppMgrBudgetInfo::reserved[9] |
Reserved data.
| int SceAppMgrLoadExecOptParam::reserved[64] |
Reserved data.
| SceUID SceAppMgrCoredumpState::pid |
| int SceAppMgrCoredumpState::process_state |
| int SceAppMgrCoredumpState::progress |
| int SceAppMgrCoredumpState::is_coredump_completed |
| int SceAppMgrCoredumpState::data_0x10 |
| SceSize SceAppMgrCoredumpState::path_len |
| char SceAppMgrCoredumpState::path[0x400] |
| int SceAppMgrCoredumpState::data_0x418 |
| int SceAppMgrCoredumpState::data_0x41C |
| int SceAppMgrCoredumpState::data_0x420 |
| int SceAppMgrCoredumpState::data_0x424 |
| SceBool SceAppMgrAppInfo::is_running |
Non-zero while the selected process is in AppMgr's started state.
| SceUInt8 SceAppMgrAppInfo::reserved[0x7C] |
Set to 0 on FW 3.60.
| SceUInt32 SceAppMgrAppMgrState::prioritize_system_chat |
| SceUInt32 SceAppMgrAppMgrState::system_impose_state |
| SceInt32 SceAppMgrAppMgrState::reserved08 |
Initialized to -1 on FW 3.60.
| SceUInt32 SceAppMgrAppMgrState::audio_routing_state |
| SceUInt32 SceAppMgrAppMgrState::recommended_screen_orientation |
One of SceAppMgrScreenOrientation.
| SceUInt32 SceAppMgrAppMgrState::system_impose_state2 |
| SceUInt8 SceAppMgrAppMgrState::reserved[0x68] |
Reserved in the FW 3.60 state block.
| char SceAppMgrAppParam::data[0x400] |
| ScePID SceAppMgrAppStatus::parent_process_id |
Process that submitted the launch request, or -1.
| SceUInt32 SceAppMgrAppStatus::launch_flags |
Bitwise OR of SceAppMgrLaunchFlag values.
| SceUInt32 SceAppMgrAppStatus::app_protection_mode_on_memory_shortage |
| char SceAppMgrAppStatus::app_name[32] |
| SceUInt32 SceAppMgrAppStatus::has_launch_param |
Non-zero when launch parameters are available.
| SceUID SceAppMgrAppStatus::app_id |
| ScePID SceAppMgrAppStatus::process_id |
| SceBool SceAppMgrAppStatus::is_active |
Non-zero while AppMgr considers the application activated.
| SceBool SceAppMgrAppStatus::is_running |
Non-zero after AppMgr starts the process and before it enters shutdown.
| SceBool SceAppMgrAppStatus::network_disconnection_warning_dialog_enabled |
| SceUID SceAppMgrAppStatus::parent_app_id |
| SceUInt8 SceAppMgrAppStatus::info_bar_visibility |
One of SceAppMgrInfoBarVisibility.
| SceUInt8 SceAppMgrAppStatus::info_bar_color |
One of SceAppMgrInfoBarColor.
| SceUInt8 SceAppMgrAppStatus::info_bar_transparency |
One of SceAppMgrInfoBarTransparency.
| SceUInt8 SceAppMgrAppStatus::reserved_4B |
High byte of the packed info-bar state.
| SceUInt32 SceAppMgrAppStatus::reserved_4C |
Internal launch-request value; its purpose is unknown.
| char SceAppMgrAppStatus::bgm_proxy_app_name[32] |
| SceUInt8 SceAppMgrAppStatus::process_launch_type |
One of SceAppMgrProcessLaunchType.
| SceUInt8 SceAppMgrAppStatus::application_type |
One of SceAppMgrApplicationType.
| SceUInt8 SceAppMgrAppStatus::reserved72[2] |
Set to 0 on FW 3.60.
| SceUInt32 SceAppMgrAppStatus::app_flags |
Internal process flags copied from AppMgr's process context.
| SceUInt32 SceAppMgrAppStatus::recommended_screen_orientation |
One of SceAppMgrScreenOrientation.
| SceBool SceAppMgrAppStatus::recommended_screen_orientation_activated |
| SceSize SceAppMgrBootParam::size |
Number of bytes requested from the public wrapper; maximum value is 0x2C.
| SceUInt SceAppMgrBootParam::reserved04[2] |
Set to 0 on FW 3.60.
| SceUInt SceAppMgrBootParam::reserved_0C[8] |
Left unchanged from the caller's input on FW 3.60.
| int SceAppMgrEvent::event |
One of SceAppMgrEventType or SceAppMgrSystemEventType.
| SceUID SceAppMgrEvent::app_id |
Application ID; FW 3.60 writes -1 for received events.
| char SceAppMgrEvent::param[SCE_APP_MGR_MAX_EVENT_PARM_LENGTH] |
Event parameters; set to 0 on FW 3.60.
| SceSize SceAppMgrLaunchAppByUri2Param::size |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrLaunchAppByUri2Param::flags |
Bitwise OR of SceAppMgrLaunchFlag values; FW 3.60 forces SCE_APPMGR_LAUNCH_FLAG_ALLOW_EMPTY_TARGET.
| SceUInt32 SceAppMgrLaunchAppByUri2Param::reserved08 |
Ignored on FW 3.60.
| SceUID SceAppMgrLaunchAppByUri2Param::app_launch_callback_id |
Callback notified with the launched process ID, or -1.
| SceUID SceAppMgrLaunchAppByUri2Param::get_param_callback_id |
Callback notified when the target consumes its launch parameters, or -1.
| SceInt32 SceAppMgrLaunchAppByUri2Param::parent_app_id |
Parent application ID, or -1; used when flags includes SCE_APPMGR_LAUNCH_FLAG_EXIT_TO.
| SceUInt32 SceAppMgrLaunchAppByUri2Param::launch_mode |
Application mode from 0 through 4; values 2 through 4 are SceAppMgrApplicationMode values.
| SceUInt32 SceAppMgrLaunchAppByUri2Param::reserved_1C |
Stored in the target process context on FW 3.60; its purpose is unknown.
| SceUInt8 SceAppMgrLaunchAppByUri2Param::reserved[0x20] |
Must be zero on FW 3.60.
| SceUInt8 SceAppMgrNetworkDisconnectionWarningDialogStateOptParam::reserved[0x80] |
Not accepted on FW 3.60; pass NULL for the option pointer.
| SceUInt32 SceAppMgrCheckRifGDOpt::reserved[2] |
Ignored on FW 3.60.
| char SceAppMgrCheckRifGDResult::content_id[0x30] |
RIF content ID.
| SceUInt32 SceAppMgrCheckRifGDResult::license_version |
RIF license version.
| SceUInt32 SceAppMgrCheckRifGDResult::drm_type |
RIF DRM type.
| SceUInt32 SceAppMgrCheckRifGDResult::flags |
Derived license flags returned by ksceNpDrmGetRifInfo.
| SceUInt32 SceAppMgrCheckRifGDResult::sku_flags |
RIF SKU flags.
| SceUInt64 SceAppMgrCheckRifGDResult::account_id |
License account ID.
| SceUInt64 SceAppMgrCheckRifGDResult::rif_data98 |
Raw 8-byte RIF field.
| SceInt64 SceAppMgrCheckRifGDResult::license_start_time |
Effective license start time.
| SceInt64 SceAppMgrCheckRifGDResult::license_expiration_time |
Effective license expiration time.
| SceUInt8 SceAppMgrCheckRifGDResult::key[0x10] |
Decrypted Vita license key.
| char* SceAppMgrGameDataMountOpt::mount_point |
Receives a 16-byte mount point of the form "gpXXXXXXXXXXXd:".
| SceUInt32 SceAppMgrGameDataMountOpt::reserved[5] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrGetAppInfoOpt::reserved[2] |
Ignored on FW 3.60.
| SceSize SceAppMgrGetAppParamOpt::app_param_size |
FW 0.990 application-parameter size; ignored on FW 3.60.
| SceUInt32 SceAppMgrGetAppParamOpt::reserved |
Ignored on FW 3.60.
| SceSize SceAppMgrGetBootParamOpt::boot_param_size |
Number of leading bytes to copy to and from the boot-parameter buffer.
| SceUInt SceAppMgrGetBootParamOpt::reserved |
Ignored on FW 3.60.
| SceSize SceAppMgrGetIdByNameOpt::app_name_size |
FW 0.990 application-name size; ignored on FW 3.60.
| SceUInt32 SceAppMgrGetIdByNameOpt::reserved |
Ignored on FW 3.60.
| SceSize SceAppMgrGetNameByIdOpt::app_name_size |
FW 0.990 application-name size; ignored on FW 3.60.
| SceUInt32 SceAppMgrGetNameByIdOpt::reserved |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrGetSaveDataInfoForSpecialExportOpt::reserved[2] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrGetSaveDataInfoResult::storage_type |
One of SceAppMgrSaveDataStorageType.
| SceBool SceAppMgrGetSaveDataInfoResult::is_mounted |
Non-zero when the save data is mounted.
| SceBool SceAppMgrGetSaveDataInfoResult::has_broken_data |
Set for specific PFS validation failures or when sdslot.dat is absent.
| SceUInt32 SceAppMgrGetSaveDataInfoResult::account_id[2] |
Low and high words of the param.sfo ACCOUNT_ID value.
| SceUInt32 SceAppMgrGetSaveDataInfoResult::save_data_param44 |
Value copied from the param.sfo PARAMS entry.
| SceUInt32 SceAppMgrGetSaveDataInfoResult::allocated_size_kb |
| SceAppMgrGetSaveDataInfoResult* SceAppMgrGetSaveDataInfoOpt::result |
Receives a 0x1C-byte result.
| SceUInt32 SceAppMgrGetSaveDataInfoOpt::reserved[3] |
Ignored on FW 3.60.
| SceSize SceAppMgrGetStatusByIdOpt::app_status_size |
| SceUInt32 SceAppMgrGetStatusByIdOpt::reserved1 |
| SceSize SceAppMgrGetUserDirPathOpt::path_max_length |
FW 0.990: must be at most 1024. Ignored on FW 3.60.
| SceUInt32 SceAppMgrGetUserDirPathOpt::reserved |
Ignored on FW 3.60.
| SceTitleId SceAppMgrGenericMountContext::title_id |
Title or additional-content identifier used to construct the source path.
| char SceAppMgrGenericMountContext::pass_code[32] |
Passcode used to verify the mounted PFS keystone.
| char SceAppMgrGenericMountContext::mount_drive[16] |
Optional explicit source drive or randomized mount-drive identifier.
| SceUInt32 SceAppMgrAppDataMountByIdOpt::reserved[2] |
Ignored on FW 3.60.
| SceSize SceAppMgrAppParamGetStringOpt::string_size |
Output-buffer capacity; the maximum value is 0x400.
| SceUInt32 SceAppMgrAppParamGetStringOpt::reserved[3] |
Ignored on FW 3.60.
| SceSize SceAppMgrGetStatusByNameOpt::app_name_size |
FW 0.990 application-name size; ignored on FW 3.60.
| SceSize SceAppMgrGetStatusByNameOpt::app_status_size |
FW 0.990 application-status size; ignored on FW 3.60.
| SceUInt32 SceAppMgrGetStatusByNameOpt::reserved[2] |
FW 0.990 reserved words; not read on FW 3.60.
| SceUInt32 SceAppMgrLoadSaveDataSystemFileOpt::reserved[2] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrLoopBackMountOpt::reserved[2] |
Ignored on FW 3.60.
| SceSize SceAppMgrPhotoMountOpt::param_size |
Number of bytes to copy from SceAppMgrPhotoMountParam; maximum value is 0x84.
| SceUInt32 SceAppMgrPhotoMountOpt::reserved |
Ignored on FW 3.60.
| char* SceAppMgrThemeDataMountOpt::mount_point |
Receives a 16-byte mount point of the form "tmXXXXXXXXXXXX:".
| SceUInt32 SceAppMgrThemeDataMountOpt::reserved[5] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrTrophyMountByIdOpt::reserved[2] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrUpdateSaveDataParamOpt::reserved[2] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrWorkDirMountByIdOpt::reserved[2] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrConvertVs0UserDrivePathOpt::reserved[4] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrDeclareShellProcess2Opt::reserved[2] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrGetRawPathOpt::reserved[4] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrLaunchAppByUri2Opt::reserved[2] |
Ignored on FW 3.60.
| SceUInt32 SceAppMgrLoadExecOpt::reserved[2] |
Ignored on FW 3.60.