vitasdk
Documentation of the vitasdk

Exports for User. More...

Data Structures

struct  SceAppMgrSystemEvent
 
struct  SceAppMgrSaveDataData
 
struct  SceAppMgrSaveDataDataDelete
 
struct  SceAppMgrSaveDataSlot
 
struct  SceAppMgrSaveDataSlotDelete
 
struct  SceAppMgrAppState
 
struct  SceAppMgrBudgetInfo
 
struct  SceAppMgrLoadExecOptParam
 
struct  SceAppMgrCoredumpState
 
struct  SceAppMgrAppInfo
 
struct  SceAppMgrAppMgrState
 
struct  SceAppMgrAppParam
 
struct  SceAppMgrAppStatus
 Application status returned by the raw status functions. More...
 
struct  SceAppMgrBootParam
 Application boot parameters. More...
 
struct  SceAppMgrEvent
 
struct  SceAppMgrLaunchAppByUri2Param
 
struct  SceAppMgrNetworkDisconnectionWarningDialogStateOptParam
 
struct  SceAppMgrCheckRifGDOpt
 
struct  SceAppMgrCheckRifGDResult
 Game-data RIF information returned by _sceAppMgrCheckRifGD. More...
 
struct  SceAppMgrGameDataMountOpt
 
struct  SceAppMgrGetAppInfoOpt
 
struct  SceAppMgrGetAppParamOpt
 
struct  SceAppMgrGetBootParamOpt
 
struct  SceAppMgrGetIdByNameOpt
 
struct  SceAppMgrGetNameByIdOpt
 
struct  SceAppMgrGetSaveDataInfoForSpecialExportOpt
 
struct  SceAppMgrGetSaveDataInfoResult
 
struct  SceAppMgrGetSaveDataInfoOpt
 
struct  SceAppMgrGetStatusByIdOpt
 Option structure for FW 0.990 only; not accepted on FW 3.60. More...
 
struct  SceAppMgrGetUserDirPathOpt
 
struct  SceAppMgrGenericMountContext
 
struct  SceAppMgrAppDataMountByIdOpt
 
struct  SceAppMgrAppParamGetStringOpt
 
struct  SceAppMgrGetStatusByNameOpt
 
struct  SceAppMgrLoadSaveDataSystemFileOpt
 
struct  SceAppMgrLoopBackMountOpt
 
struct  SceAppMgrPhotoMountOpt
 
struct  SceAppMgrThemeDataMountOpt
 
struct  SceAppMgrTrophyMountByIdOpt
 
struct  SceAppMgrUpdateSaveDataParamOpt
 
struct  SceAppMgrWorkDirMountByIdOpt
 
struct  SceAppMgrConvertVs0UserDrivePathOpt
 
struct  SceAppMgrDeclareShellProcess2Opt
 
struct  SceAppMgrGetRawPathOpt
 
struct  SceAppMgrLaunchAppByUri2Opt
 
struct  SceAppMgrLoadExecOpt
 

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
 

Enumerations

enum  SceAppMgrErrorCode {
  SCE_APPMGR_ERROR_INVALID_PARAM_SFO = 0x80800015 , SCE_APPMGR_ERROR_BUSY = 0x80802000 , SCE_APPMGR_ERROR_INTERNAL = 0x80802001 , SCE_APPMGR_ERROR_PARAM = 0x80802002 ,
  SCE_APPMGR_ERROR_NOT_FOUND = 0x80802012 , SCE_APPMGR_ERROR_STATE = 0x80802013 , SCE_APPMGR_ERROR_NULL_POINTER = 0x80802016 , SCE_APPMGR_ERROR_INVALID = 0x8080201A ,
  SCE_APPMGR_ERROR_TOO_LONG_ARGV = 0x8080201D , SCE_APPMGR_ERROR_INVALID_SELF_PATH = 0x8080201E , SCE_APPMGR_ERROR_NOEXEC = 0x8080201F , SCE_APPMGR_ERROR_BGM_PORT_BUSY = 0x80803000
}
 
enum  SceAppMgrSystemEventType {
  SCE_APPMGR_SYSTEMEVENT_ON_ACTIVATE = 0x10000001 , SCE_APPMGR_SYSTEMEVENT_ON_DEACTIVATE = 0x10000002 , SCE_APPMGR_SYSTEMEVENT_ON_RESUME = 0x10000003 , SCE_APPMGR_SYSTEMEVENT_ON_STORE_PURCHASE = 0x10000004 ,
  SCE_APPMGR_SYSTEMEVENT_ON_NP_MESSAGE_ARRIVED = 0x10000005 , SCE_APPMGR_SYSTEMEVENT_ON_STORE_REDEMPTION = 0x10000006 , SCE_APPMGR_SYSTEMEVENT_REQUEST_QUIT = 0x20000001
}
 
enum  SceAppMgrEventType {
  SCE_APP_EVENT_ON_ACTIVATE = 0x10000001 , SCE_APP_EVENT_ON_DEACTIVATE = 0x10000002 , SCE_APP_EVENT_ON_RESUME = 0x10000003 , SCE_APP_EVENT_LIVEBOARD_MODE_0 = 0x10000101 ,
  SCE_APP_EVENT_LIVEBOARD_MODE_1 = 0x10000102 , SCE_APP_EVENT_REQUEST_QUIT = 0x20000001 , SCE_APP_EVENT_PARAM_NOTIFY = 0x20000004 , SCE_APP_EVENT_RECOMMENDED_ORIENTATION_CHANGED = 0x20000010
}
 
enum  SceAppMgrInfoBarVisibility { SCE_APPMGR_INFOBAR_VISIBILITY_INVISIBLE = 0 , SCE_APPMGR_INFOBAR_VISIBILITY_VISIBLE = 1 }
 
enum  SceAppMgrInfoBarColor { SCE_APPMGR_INFOBAR_COLOR_BLACK = 0 , SCE_APPMGR_INFOBAR_COLOR_WHITE = 1 }
 
enum  SceAppMgrInfoBarTransparency { SCE_APPMGR_INFOBAR_TRANSPARENCY_OPAQUE = 0 , SCE_APPMGR_INFOBAR_TRANSPARENCY_TRANSLUCENT = 1 }
 
enum  SceAppMgrApplicationMode { SCE_APPMGR_APPLICATION_MODE_A = 2 , SCE_APPMGR_APPLICATION_MODE_B = 3 , SCE_APPMGR_APPLICATION_MODE_C = 4 }
 
enum  SceAppMgrScreenOrientation { SCE_APPMGR_SCREEN_ORIENTATION_LANDSCAPE = 1 , SCE_APPMGR_SCREEN_ORIENTATION_LANDSCAPE_REVERSED = 2 , SCE_APPMGR_SCREEN_ORIENTATION_PORTRAIT = 3 , SCE_APPMGR_SCREEN_ORIENTATION_PORTRAIT_REVERSED = 4 }
 Recommended physical device orientation, viewed from the screen side. More...
 
enum  SceAppMgrApplicationType { SCE_APPMGR_APPLICATION_TYPE_MINI_APPLICATION = 0 , SCE_APPMGR_APPLICATION_TYPE_GAME = 1 , SCE_APPMGR_APPLICATION_TYPE_SYSTEM_APPLICATION = 2 }
 
enum  SceAppMgrAppParamId {
  SCE_APPMGR_APP_PARAM_CONTENT_ID = 6 , SCE_APPMGR_APP_PARAM_NP_COMMUNICATION_ID = 7 , SCE_APPMGR_APP_PARAM_CATEGORY = 8 , SCE_APPMGR_APP_PARAM_TITLE = 9 ,
  SCE_APPMGR_APP_PARAM_SHORT_TITLE = 10 , SCE_APPMGR_APP_PARAM_TITLE_ID = 12 , SCE_APPMGR_APP_PARAM_APP_PATH = 14 , SCE_APPMGR_APP_PARAM_CONTENT_ID_OVERRIDE = 100 ,
  SCE_APPMGR_APP_PARAM_TITLE_OVERRIDE = 101
}
 String fields accepted by _sceAppMgrAppParamGetString. More...
 
enum  SceAppMgrLaunchFlag { SCE_APPMGR_LAUNCH_FLAG_LIVEAREA_OFF = 0x00010000 , SCE_APPMGR_LAUNCH_FLAG_DEBUG_CALLBACK = 0x00020000 , SCE_APPMGR_LAUNCH_FLAG_EXIT_TO = 0x00040000 , SCE_APPMGR_LAUNCH_FLAG_ALLOW_EMPTY_TARGET = 0x00100000 }
 Launch-request flags observed on FW 3.60. More...
 
enum  SceAppMgrProcessLaunchType { SCE_APPMGR_PROCESS_LAUNCH_TYPE_NORMAL = 0 , SCE_APPMGR_PROCESS_LAUNCH_TYPE_PATH4 = 1 , SCE_APPMGR_PROCESS_LAUNCH_TYPE_KERNEL_PATH = 2 }
 Values written to SceAppMgrAppStatus::process_launch_type on FW 3.60. More...
 
enum  SceAppMgrSaveDataStorageType { SCE_APPMGR_SAVE_DATA_STORAGE_OTHER = 1 , SCE_APPMGR_SAVE_DATA_STORAGE_SYSTEM = 2 , SCE_APPMGR_SAVE_DATA_STORAGE_GAME_CARD = 3 , SCE_APPMGR_SAVE_DATA_STORAGE_USER = 4 }
 
enum  SceAppMgrUserDirPartition { SCE_APPMGR_USER_DIR_PARTITION_UR0 = 1 , SCE_APPMGR_USER_DIR_PARTITION_UX0 = 2 }
 

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.
 

Variables

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.
 

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceAppMgr_stub




Data Structure Documentation

◆ SceAppMgrSystemEvent

struct SceAppMgrSystemEvent
Data Fields
int systemEvent One of SceAppMgrSystemEventType.
uint8_t reserved[60] Reserved data.

◆ SceAppMgrSaveDataData

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

◆ SceAppMgrSaveDataDataDelete

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.

◆ SceAppMgrSaveDataSlot

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]

◆ SceAppMgrSaveDataSlotDelete

struct SceAppMgrSaveDataSlotDelete
Data Fields
int size Must be 0x18.
unsigned int slotId Save slot to use.
SceAppUtilSaveDataMountPoint mountPoint Savedata mountpoint.

◆ SceAppMgrAppState

struct SceAppMgrAppState
Data Fields
SceUInt32 systemEventNum
SceUInt32 appEventNum
SceBool isSystemUiOverlaid
SceUInt8 reserved[116]

◆ SceAppMgrBudgetInfo

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.

◆ SceAppMgrLoadExecOptParam

struct SceAppMgrLoadExecOptParam
Data Fields
int reserved[64] Reserved data.

◆ SceAppMgrCoredumpState

struct SceAppMgrCoredumpState
Data Fields
SceUID pid
int process_state
int progress
int is_coredump_completed
int data_0x10
SceSize path_len
char path[0x400]
int data_0x418
int data_0x41C
int data_0x420
int data_0x424

◆ SceAppMgrAppInfo

struct SceAppMgrAppInfo
Data Fields
SceBool is_running Non-zero while the selected process is in AppMgr's started state.
SceUInt8 reserved[0x7C] Set to 0 on FW 3.60.

◆ SceAppMgrAppMgrState

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.

◆ SceAppMgrAppParam

struct SceAppMgrAppParam
Data Fields
char data[0x400]

◆ SceAppMgrAppStatus

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

◆ SceAppMgrBootParam

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.

◆ SceAppMgrEvent

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.

◆ SceAppMgrLaunchAppByUri2Param

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.

◆ SceAppMgrNetworkDisconnectionWarningDialogStateOptParam

struct SceAppMgrNetworkDisconnectionWarningDialogStateOptParam
Data Fields
SceUInt8 reserved[0x80] Not accepted on FW 3.60; pass NULL for the option pointer.

◆ SceAppMgrCheckRifGDOpt

struct SceAppMgrCheckRifGDOpt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrCheckRifGDResult

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.

◆ SceAppMgrGameDataMountOpt

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.

◆ SceAppMgrGetAppInfoOpt

struct SceAppMgrGetAppInfoOpt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrGetAppParamOpt

struct SceAppMgrGetAppParamOpt
Data Fields
SceSize app_param_size FW 0.990 application-parameter size; ignored on FW 3.60.
SceUInt32 reserved Ignored on FW 3.60.

◆ SceAppMgrGetBootParamOpt

struct SceAppMgrGetBootParamOpt
Data Fields
SceSize boot_param_size Number of leading bytes to copy to and from the boot-parameter buffer.
SceUInt reserved Ignored on FW 3.60.

◆ SceAppMgrGetIdByNameOpt

struct SceAppMgrGetIdByNameOpt
Data Fields
SceSize app_name_size FW 0.990 application-name size; ignored on FW 3.60.
SceUInt32 reserved Ignored on FW 3.60.

◆ SceAppMgrGetNameByIdOpt

struct SceAppMgrGetNameByIdOpt
Data Fields
SceSize app_name_size FW 0.990 application-name size; ignored on FW 3.60.
SceUInt32 reserved Ignored on FW 3.60.

◆ SceAppMgrGetSaveDataInfoForSpecialExportOpt

struct SceAppMgrGetSaveDataInfoForSpecialExportOpt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrGetSaveDataInfoResult

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

◆ SceAppMgrGetSaveDataInfoOpt

struct SceAppMgrGetSaveDataInfoOpt
Data Fields
SceAppMgrGetSaveDataInfoResult * result Receives a 0x1C-byte result.
SceUInt32 reserved[3] Ignored on FW 3.60.

◆ SceAppMgrGetStatusByIdOpt

struct SceAppMgrGetStatusByIdOpt

Option structure for FW 0.990 only; not accepted on FW 3.60.

Data Fields
SceSize app_status_size
SceUInt32 reserved1

◆ SceAppMgrGetUserDirPathOpt

struct SceAppMgrGetUserDirPathOpt
Data Fields
SceSize path_max_length FW 0.990: must be at most 1024. Ignored on FW 3.60.
SceUInt32 reserved Ignored on FW 3.60.

◆ SceAppMgrGenericMountContext

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.

◆ SceAppMgrAppDataMountByIdOpt

struct SceAppMgrAppDataMountByIdOpt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrAppParamGetStringOpt

struct SceAppMgrAppParamGetStringOpt
Data Fields
SceSize string_size Output-buffer capacity; the maximum value is 0x400.
SceUInt32 reserved[3] Ignored on FW 3.60.

◆ SceAppMgrGetStatusByNameOpt

struct SceAppMgrGetStatusByNameOpt
Data Fields
SceSize app_name_size FW 0.990 application-name size; ignored on FW 3.60.
SceSize app_status_size FW 0.990 application-status size; ignored on FW 3.60.
SceUInt32 reserved[2] FW 0.990 reserved words; not read on FW 3.60.

◆ SceAppMgrLoadSaveDataSystemFileOpt

struct SceAppMgrLoadSaveDataSystemFileOpt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrLoopBackMountOpt

struct SceAppMgrLoopBackMountOpt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrPhotoMountOpt

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.

◆ SceAppMgrThemeDataMountOpt

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.

◆ SceAppMgrTrophyMountByIdOpt

struct SceAppMgrTrophyMountByIdOpt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrUpdateSaveDataParamOpt

struct SceAppMgrUpdateSaveDataParamOpt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrWorkDirMountByIdOpt

struct SceAppMgrWorkDirMountByIdOpt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrConvertVs0UserDrivePathOpt

struct SceAppMgrConvertVs0UserDrivePathOpt
Data Fields
SceUInt32 reserved[4] Ignored on FW 3.60.

◆ SceAppMgrDeclareShellProcess2Opt

struct SceAppMgrDeclareShellProcess2Opt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrGetRawPathOpt

struct SceAppMgrGetRawPathOpt
Data Fields
SceUInt32 reserved[4] Ignored on FW 3.60.

◆ SceAppMgrLaunchAppByUri2Opt

struct SceAppMgrLaunchAppByUri2Opt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

◆ SceAppMgrLoadExecOpt

struct SceAppMgrLoadExecOpt
Data Fields
SceUInt32 reserved[2] Ignored on FW 3.60.

Macro Definition Documentation

◆ SCE_APPMGR_MAX_APP_NAME_LENGTH

#define SCE_APPMGR_MAX_APP_NAME_LENGTH   (31)

◆ SCE_APP_MGR_MAX_EVENT_PARM_LENGTH

#define SCE_APP_MGR_MAX_EVENT_PARM_LENGTH   (56)

Typedef Documentation

◆ SceAppMgrExecOptParam

◆ SceAppMgrLaunchAppOptParam

◆ SceAppMgrDrmOpenParam

◆ SceAppMgrLaunchVideoStreamingAppOpt

Enumeration Type Documentation

◆ SceAppMgrErrorCode

Enumerator
SCE_APPMGR_ERROR_INVALID_PARAM_SFO 
SCE_APPMGR_ERROR_BUSY 

Busy.

SCE_APPMGR_ERROR_INTERNAL 

Internal error.

SCE_APPMGR_ERROR_PARAM 

Invalid parameter.

SCE_APPMGR_ERROR_NOT_FOUND 

Application or process not found.

SCE_APPMGR_ERROR_STATE 

Invalid state.

SCE_APPMGR_ERROR_NULL_POINTER 

NULL pointer.

SCE_APPMGR_ERROR_INVALID 

Invalid param.

SCE_APPMGR_ERROR_TOO_LONG_ARGV 

argv is too long

SCE_APPMGR_ERROR_INVALID_SELF_PATH 

Invalid SELF path.

SCE_APPMGR_ERROR_NOEXEC 

The process is not authorized to run this function.

SCE_APPMGR_ERROR_BGM_PORT_BUSY 

BGM port was occupied and could not be secured.

◆ SceAppMgrSystemEventType

Enumerator
SCE_APPMGR_SYSTEMEVENT_ON_ACTIVATE 
SCE_APPMGR_SYSTEMEVENT_ON_DEACTIVATE 
SCE_APPMGR_SYSTEMEVENT_ON_RESUME 
SCE_APPMGR_SYSTEMEVENT_ON_STORE_PURCHASE 
SCE_APPMGR_SYSTEMEVENT_ON_NP_MESSAGE_ARRIVED 
SCE_APPMGR_SYSTEMEVENT_ON_STORE_REDEMPTION 
SCE_APPMGR_SYSTEMEVENT_REQUEST_QUIT 

◆ SceAppMgrEventType

Enumerator
SCE_APP_EVENT_ON_ACTIVATE 
SCE_APP_EVENT_ON_DEACTIVATE 
SCE_APP_EVENT_ON_RESUME 
SCE_APP_EVENT_LIVEBOARD_MODE_0 

Queued by sceAppMgrSendLiveBoardMode with mode 0.

SCE_APP_EVENT_LIVEBOARD_MODE_1 

Queued by sceAppMgrSendLiveBoardMode with mode 1.

SCE_APP_EVENT_REQUEST_QUIT 
SCE_APP_EVENT_PARAM_NOTIFY 
SCE_APP_EVENT_RECOMMENDED_ORIENTATION_CHANGED 

◆ SceAppMgrInfoBarVisibility

Enumerator
SCE_APPMGR_INFOBAR_VISIBILITY_INVISIBLE 
SCE_APPMGR_INFOBAR_VISIBILITY_VISIBLE 

◆ SceAppMgrInfoBarColor

Enumerator
SCE_APPMGR_INFOBAR_COLOR_BLACK 
SCE_APPMGR_INFOBAR_COLOR_WHITE 

◆ SceAppMgrInfoBarTransparency

Enumerator
SCE_APPMGR_INFOBAR_TRANSPARENCY_OPAQUE 
SCE_APPMGR_INFOBAR_TRANSPARENCY_TRANSLUCENT 

◆ SceAppMgrApplicationMode

Enumerator
SCE_APPMGR_APPLICATION_MODE_A 

Application without physically contiguous memory access.

SCE_APPMGR_APPLICATION_MODE_B 

Application with physically contiguous memory access.

SCE_APPMGR_APPLICATION_MODE_C 

Application with physically contiguous memory and extra memory access.

◆ SceAppMgrScreenOrientation

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.

Enumerator
SCE_APPMGR_SCREEN_ORIENTATION_LANDSCAPE 

Upright landscape (+Y).

SCE_APPMGR_SCREEN_ORIENTATION_LANDSCAPE_REVERSED 

Upside-down landscape (-Y).

SCE_APPMGR_SCREEN_ORIENTATION_PORTRAIT 

Clockwise quarter-turn; right edge down (-X).

SCE_APPMGR_SCREEN_ORIENTATION_PORTRAIT_REVERSED 

Counterclockwise quarter-turn; left edge down (+X).

◆ SceAppMgrApplicationType

Enumerator
SCE_APPMGR_APPLICATION_TYPE_MINI_APPLICATION 
SCE_APPMGR_APPLICATION_TYPE_GAME 
SCE_APPMGR_APPLICATION_TYPE_SYSTEM_APPLICATION 

◆ 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.

◆ SceAppMgrLaunchFlag

Launch-request flags observed on FW 3.60.

Enumerator
SCE_APPMGR_LAUNCH_FLAG_LIVEAREA_OFF 

Launch without activating LiveArea.

SCE_APPMGR_LAUNCH_FLAG_DEBUG_CALLBACK 

Set up AppMgr's debug semaphore and callback.

SCE_APPMGR_LAUNCH_FLAG_EXIT_TO 

Enable exit-to behavior.

SCE_APPMGR_LAUNCH_FLAG_ALLOW_EMPTY_TARGET 

Permit an empty launch target.

◆ SceAppMgrProcessLaunchType

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 sceAppMgrLaunchAppByPath4; represented as NPXS10998 by SceShell.

SCE_APPMGR_PROCESS_LAUNCH_TYPE_KERNEL_PATH 

Launch through ksceAppMgrLaunchAppByPath; represented as NPXS10999 by SceShell.

◆ SceAppMgrSaveDataStorageType

Enumerator
SCE_APPMGR_SAVE_DATA_STORAGE_OTHER 
SCE_APPMGR_SAVE_DATA_STORAGE_SYSTEM 
SCE_APPMGR_SAVE_DATA_STORAGE_GAME_CARD 
SCE_APPMGR_SAVE_DATA_STORAGE_USER 

◆ SceAppMgrUserDirPartition

Enumerator
SCE_APPMGR_USER_DIR_PARTITION_UR0 
SCE_APPMGR_USER_DIR_PARTITION_UX0 

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ() [1/46]

VITASDK_BUILD_ASSERT_EQ ( 0x40  ,
SceAppMgrSystemEvent   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/46]

VITASDK_BUILD_ASSERT_EQ ( 0x4C  ,
SceAppMgrSaveDataData   
)

◆ VITASDK_BUILD_ASSERT_EQ() [3/46]

VITASDK_BUILD_ASSERT_EQ ( 0x44  ,
SceAppMgrSaveDataDataDelete   
)

◆ VITASDK_BUILD_ASSERT_EQ() [4/46]

VITASDK_BUILD_ASSERT_EQ ( 0x418  ,
SceAppMgrSaveDataSlot   
)

◆ VITASDK_BUILD_ASSERT_EQ() [5/46]

VITASDK_BUILD_ASSERT_EQ ( 0x18  ,
SceAppMgrSaveDataSlotDelete   
)

◆ VITASDK_BUILD_ASSERT_EQ() [6/46]

VITASDK_BUILD_ASSERT_EQ ( 0x80  ,
SceAppMgrAppState   
)

◆ VITASDK_BUILD_ASSERT_EQ() [7/46]

VITASDK_BUILD_ASSERT_EQ ( 0x88  ,
SceAppMgrBudgetInfo   
)

◆ VITASDK_BUILD_ASSERT_EQ() [8/46]

VITASDK_BUILD_ASSERT_EQ ( 0x100  ,
SceAppMgrLoadExecOptParam   
)

◆ sceAppMgrSaveDataDataSave()

int sceAppMgrSaveDataDataSave ( SceAppMgrSaveDataData *  data)

Save data on savedata0: partition.

Parameters
[in]data- Data to save
Returns
0 on success, < 0 on error.

◆ sceAppMgrSaveDataDataRemove()

int sceAppMgrSaveDataDataRemove ( SceAppMgrSaveDataDataDelete *  data)

Remove data on savedata0: partition.

Parameters
[in]data- Data to remove
Returns
0 on success, < 0 on error.

◆ sceAppMgrSaveDataSlotCreate()

int sceAppMgrSaveDataSlotCreate ( SceAppMgrSaveDataSlot *  data)

Create a savedata slot.

Parameters
[in]data- Slot data
Returns
0 on success, < 0 on error.

◆ sceAppMgrSaveDataSlotGetParam()

int sceAppMgrSaveDataSlotGetParam ( SceAppMgrSaveDataSlot *  data)

Get current param of a savedata slot.

Parameters
[out]data- Slot data
Returns
0 on success, < 0 on error.

◆ sceAppMgrSaveDataSlotSetParam()

int sceAppMgrSaveDataSlotSetParam ( SceAppMgrSaveDataSlot *  data)

Set current param of a savedata slot.

Parameters
[in]data- Slot data
Returns
0 on success, < 0 on error.

◆ sceAppMgrSaveDataSlotDelete()

int sceAppMgrSaveDataSlotDelete ( SceAppMgrSaveDataSlotDelete *  data)

Delete a savedata slot.

Parameters
[in]data- Slot data
Returns
0 on success, < 0 on error.

◆ sceAppMgrGetIdByName()

int sceAppMgrGetIdByName ( SceUID *  pid,
const char *  name 
)

Get Process ID by Title ID.

Parameters
[out]pid- Process ID
[in]name- Title ID
Returns
0 on success, < 0 on error.

◆ sceAppMgrGetNameById()

int sceAppMgrGetNameById ( SceUID  pid,
char *  name 
)

Get Title ID by Process ID.

Parameters
[in]pid- Process ID
[out]name- Title ID
Returns
0 on success, < 0 on error.

◆ sceAppMgrDestroyOtherApp()

int sceAppMgrDestroyOtherApp ( void  )

Destroy other apps.

Returns
0 on success, < 0 on error.

◆ sceAppMgrDestroyAppByName()

int sceAppMgrDestroyAppByName ( const char *  name)

Destroy an application by Title ID.

Parameters
[in]name- Title ID of the application
Returns
0 on success, < 0 on error.

◆ sceAppMgrDestroyAppByAppId()

int sceAppMgrDestroyAppByAppId ( SceInt32  appId)

Destroy an application by Application ID.

Parameters
[in]appId- Application ID of the application
Returns
0 on success, < 0 on error.

◆ sceAppMgrGetProcessIdByAppIdForShell()

SceUID sceAppMgrGetProcessIdByAppIdForShell ( SceInt32  appId)

Get PID of an application for Shell.

Parameters
[in]appId- Application ID of the application
Returns
The PID on success, < 0 on error.

◆ sceAppMgrGetRunningAppIdListForShell()

int sceAppMgrGetRunningAppIdListForShell ( SceInt32 *  appIds,
int  count 
)

Get a list of running applications.

Parameters
[out]appIds- Array of running application IDs
[in]count- Max number of running applications to search
Returns
Number of running applications.

◆ _sceAppMgrGetAppState()

int _sceAppMgrGetAppState ( SceAppMgrAppState *  appState,
SceSize  len,
uint32_t  version 
)

Get an application state.

Parameters
[out]appState- State of the application
[in]len- sizeof(SceAppMgrState)
[in]version- Version (?)
Returns
0 on success, < 0 on error.

◆ sceAppMgrReceiveSystemEvent()

int sceAppMgrReceiveSystemEvent ( SceAppMgrSystemEvent *  systemEvent)

Receive system event.

Parameters
[out]systemEvent- Received system event
Returns
0 on success, < 0 on error.

◆ sceAppMgrGetAppParam()

int sceAppMgrGetAppParam ( char *  param)

Copies app param to an array.

Parameters
[out]param- pointer to a 1024 byte location to store the app param
Returns
0 on success, < 0 on error.
Note
App param example: type=LAUNCH_APP_BY_URI&uri=psgm:play?titleid=NPXS10031

◆ sceAppMgrAcquireBgmPort()

int sceAppMgrAcquireBgmPort ( void  )

Obtains the BGM port, even when it is not in front.

Returns
0 on success, < 0 on error.

◆ sceAppMgrReleaseBgmPort()

int sceAppMgrReleaseBgmPort ( void  )

Release acquired BGM port.

Returns
0 on success, < 0 on error.

◆ sceAppMgrSetInfobarState()

int sceAppMgrSetInfobarState ( SceAppMgrInfoBarVisibility  visibility,
SceAppMgrInfoBarColor  color,
SceAppMgrInfoBarTransparency  transparency 
)

Set infobar state.

Parameters
[in]visibility- Infobar visibility
[in]color- Infobar color
[in]transparency- Infobar transparency
Returns
0 on success, < 0 on error.

◆ sceAppMgrLoadExec()

int sceAppMgrLoadExec ( const char *  appPath,
char *const  argv[],
const SceAppMgrExecOptParam *  optParam 
)

Load and start a SELF executable.

Parameters
[in]appPath- Path of the SELF file
[in]argv- Args to pass to SELF module_start
[in]optParam- Optional params
Returns
0 on success, < 0 on error.
Note
SELF file must be located in app0: partition.

◆ sceAppMgrLaunchAppByUri()

int sceAppMgrLaunchAppByUri ( int  flags,
const char *  uri 
)

Start an application by URI.

Parameters
[in]flags- Must be 0x20000
[in]uri- Uri to launch
Returns
0 on success, < 0 on error.
Note
If flags != 0x20000, Livearea is opened.

◆ sceAppMgrLaunchAppByName2()

int sceAppMgrLaunchAppByName2 ( const char *  name,
const char *  param,
SceAppMgrLaunchAppOptParam *  optParam 
)

Start an application by Title ID.

Parameters
[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
Returns
0 on success, < 0 on error.

◆ sceAppMgrLaunchAppByName()

int sceAppMgrLaunchAppByName ( int  flags,
const char *  name,
const char *  param 
)

Start an Application by Title ID.

Parameters
[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
Returns
0 on success < 0 on error.

◆ sceAppMgrLaunchAppByName2ForShell()

SceUID sceAppMgrLaunchAppByName2ForShell ( const char *  name,
const char *  param,
SceAppMgrLaunchAppOptParam *  optParam 
)

Start an application by Title ID for Shell.

Parameters
[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
Returns
Application ID (?)

◆ sceAppMgrGameDataMount()

int sceAppMgrGameDataMount ( const char *  app_path,
const char *  patch_path,
const char *  rif_path,
char *  mount_point 
)

Mount game data.

Parameters
[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
Returns
0 on success, < 0 on error.

◆ sceAppMgrAppDataMount()

int sceAppMgrAppDataMount ( int  id,
const char *  mount_point 
)

Mount application data.

Parameters
[in]id- App data ID
[out]mount_point- Receives the 16-byte mountpoint string.
Returns
0 on success, < 0 on error.
Note
id: 100 (photo0), 101 (friends), 102 (messages), 103 (near), 105 (music), 108 (calendar)

◆ sceAppMgrAppDataMountById()

int sceAppMgrAppDataMountById ( int  id,
const char *  titleid,
const char *  mount_point 
)

Mount application data by Title ID.

Parameters
[in]id- App data ID
[in]titleid- Application title ID
[out]mount_point- Receives the 16-byte mountpoint string.
Returns
0 on success, < 0 on error.
Note
id: 106 (ad), 107 (ad)

◆ sceAppMgrAppParamGetString()

int sceAppMgrAppParamGetString ( int  pid,
int  param,
char *  string,
SceSize  length 
)

Get application params from SFO descriptor.

Parameters
[in]pid- Process ID
[in]param- Param ID in the SFO descriptor
[out]string- Param data
[in]length- Length of the param data
Returns
0 on success, < 0 on error.
Note
param: 6 (contentid) 8 (category), 9 (stitle/title?), 10 (title/stitle?), 12 (titleid)

◆ sceAppMgrGetDevInfo()

int sceAppMgrGetDevInfo ( const char *  dev,
uint64_t *  max_size,
uint64_t *  free_size 
)

Get device info.

Parameters
[in]dev- Device to get info about
[out]max_size- Capacity of the device
[out]free_size- Free space of the device
Returns
0 on success, < 0 on error.
Note
dev: ux0:

◆ sceAppMgrMmsMount()

int sceAppMgrMmsMount ( int  id,
const char *  mount_point 
)

Mount application data (PSPEmu)

Parameters
[in]id- App data ID
[out]mount_point- Receives the 16-byte mountpoint string.
Returns
0 on success, < 0 on error.
Note
id: 400 (ad), 401 (ad), 402 (ad)

◆ sceAppMgrPspSaveDataRootMount()

int sceAppMgrPspSaveDataRootMount ( const char *  mount_point)

Mount PSPEmu virtual memory stick.

Parameters
[out]mount_point- Receives the 16-byte mountpoint string.
Returns
0 on success, < 0 on error.
Note
mount_point: ms

◆ sceAppMgrWorkDirMount()

int sceAppMgrWorkDirMount ( int  id,
const char *  mount_point 
)

Mount working directory.

Parameters
[in]id- Working directory ID
[out]mount_point- Receives the 16-byte mountpoint string.
Returns
0 on success, < 0 on error.
Note
id: 200 (td), 201 (td), 203 (td), 204 (td), 206 (td)

◆ sceAppMgrWorkDirMountById()

int sceAppMgrWorkDirMountById ( int  id,
const char *  titleid,
const char *  mount_point 
)

Mount working directory by Title ID.

Parameters
[in]id- Working directory ID
[in]titleid- Application Title ID
[out]mount_point- Receives the 16-byte mountpoint string.
Returns
0 on success, < 0 on error.
Note
id: 205 (cache0), 207 (td)

◆ sceAppMgrUmount()

int sceAppMgrUmount ( const char *  mount_point)

Unmount a mountpoint.

Parameters
[in]mount_point- Mountpoint to unmount
Returns
0 on success, < 0 on error.
Note
Unmount app0: for example to enable write access to ux0:app/TITLEID

◆ sceAppMgrConvertVs0UserDrivePath()

int sceAppMgrConvertVs0UserDrivePath ( char *  path,
char *  mount_point,
int  unk 
)

Convert vs0 path string to a new one usable by applications.

Parameters
[in]path- Path to convert
[in]mount_point- Mountpoint to use
[in]unk- Unknown
Returns
0 on success, < 0 on error.

◆ sceAppMgrGetRawPath()

int sceAppMgrGetRawPath ( char *  path,
char *  resolved_path,
int  resolved_path_size 
)

Get raw path for a given path.

Parameters
[out]path- Path to convert
[in]resolved_path- The input process path
[in]resolved_path_size- The input process path length
Returns
0 on success, < 0 on error.

◆ sceAppMgrGetRawPathOfApp0ByAppIdForShell()

int sceAppMgrGetRawPathOfApp0ByAppIdForShell ( int  appId,
char  resolved_path[292] 
)

Get the real/resolved path of app0: (where it's actually mounted)

Parameters
[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).
Returns
0 on success.

◆ sceAppMgrGetBudgetInfo()

int sceAppMgrGetBudgetInfo ( SceAppMgrBudgetInfo *  info)

Get memory budget info for a running system application.

Parameters
[out]info- Info related to the memory budget of the running application.
Returns
0 on success, < 0 on error.
Note
This function will always return an error if used in a normal application.

◆ VITASDK_BUILD_ASSERT_EQ() [9/46]

VITASDK_BUILD_ASSERT_EQ ( 0x428  ,
SceAppMgrCoredumpState   
)

◆ sceAppMgrGetCoredumpStateForShell()

int sceAppMgrGetCoredumpStateForShell ( SceAppMgrCoredumpState *  state)

Get current coredump state for shell.

Parameters
[out]state- state info output.
Returns
0 on success, < 0 on error.

◆ VITASDK_BUILD_ASSERT_EQ() [10/46]

VITASDK_BUILD_ASSERT_EQ ( 0x80  ,
SceAppMgrAppInfo   
)

◆ sceAppMgrDrmOpen()

SceInt32 sceAppMgrDrmOpen ( const SceAppMgrDrmOpenParam *  param)

◆ sceAppMgrGetAppInfo()

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.

Parameters
[in]app_nameApplication name of at most 31 characters; NULL selects the calling process.
[out]app_infoOutput buffer whose FW 3.60 layout is SceAppMgrAppInfo. Still declared as SceAppMgrAppState * for backwards compatibility.
Returns
0 on success, SCE_APPMGR_ERROR_NOT_FOUND when no matching process context exists, or another negative error code.

◆ VITASDK_BUILD_ASSERT_EQ() [11/46]

VITASDK_BUILD_ASSERT_EQ ( 0x80  ,
SceAppMgrAppMgrState   
)

◆ VITASDK_BUILD_ASSERT_EQ() [12/46]

VITASDK_BUILD_ASSERT_EQ ( 0x400  ,
SceAppMgrAppParam   
)

◆ VITASDK_BUILD_ASSERT_EQ() [13/46]

VITASDK_BUILD_ASSERT_EQ ( 0x80  ,
SceAppMgrAppStatus   
)

◆ VITASDK_BUILD_ASSERT_EQ() [14/46]

VITASDK_BUILD_ASSERT_EQ ( 0x2C  ,
SceAppMgrBootParam   
)

◆ VITASDK_BUILD_ASSERT_EQ() [15/46]

VITASDK_BUILD_ASSERT_EQ ( 0x40  ,
SceAppMgrEvent   
)

◆ VITASDK_BUILD_ASSERT_EQ() [16/46]

VITASDK_BUILD_ASSERT_EQ ( 0x40  ,
SceAppMgrLaunchAppByUri2Param   
)

◆ VITASDK_BUILD_ASSERT_EQ() [17/46]

VITASDK_BUILD_ASSERT_EQ ( 0x80  ,
SceAppMgrNetworkDisconnectionWarningDialogStateOptParam   
)

◆ VITASDK_BUILD_ASSERT_EQ() [18/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrCheckRifGDOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [19/46]

VITASDK_BUILD_ASSERT_EQ ( 0x70  ,
SceAppMgrCheckRifGDResult   
)

◆ VITASDK_BUILD_ASSERT_EQ() [20/46]

VITASDK_BUILD_ASSERT_EQ ( 0x18  ,
SceAppMgrGameDataMountOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [21/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrGetAppInfoOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [22/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrGetAppParamOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [23/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrGetBootParamOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [24/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrGetIdByNameOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [25/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrGetNameByIdOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [26/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrGetSaveDataInfoForSpecialExportOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [27/46]

VITASDK_BUILD_ASSERT_EQ ( 0x1C  ,
SceAppMgrGetSaveDataInfoResult   
)

◆ VITASDK_BUILD_ASSERT_EQ() [28/46]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceAppMgrGetSaveDataInfoOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [29/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrGetStatusByIdOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [30/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrGetUserDirPathOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [31/46]

VITASDK_BUILD_ASSERT_EQ ( 0x40  ,
SceAppMgrGenericMountContext   
)

◆ VITASDK_BUILD_ASSERT_EQ() [32/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrAppDataMountByIdOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [33/46]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceAppMgrAppParamGetStringOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [34/46]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceAppMgrGetStatusByNameOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [35/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrLoadSaveDataSystemFileOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [36/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrLoopBackMountOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [37/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrPhotoMountOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [38/46]

VITASDK_BUILD_ASSERT_EQ ( 0x18  ,
SceAppMgrThemeDataMountOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [39/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrTrophyMountByIdOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [40/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrUpdateSaveDataParamOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [41/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrWorkDirMountByIdOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [42/46]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceAppMgrConvertVs0UserDrivePathOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [43/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrDeclareShellProcess2Opt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [44/46]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceAppMgrGetRawPathOpt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [45/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrLaunchAppByUri2Opt   
)

◆ VITASDK_BUILD_ASSERT_EQ() [46/46]

VITASDK_BUILD_ASSERT_EQ ( 0x8  ,
SceAppMgrLoadExecOpt   
)

◆ __sceAppMgrGetAppState()

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.

Parameters
[out]app_stateReceives the 0x80-byte application state.
[in]sizeof_sce_app_mgr_app_stateMust be the size of SceAppMgrAppState.
[in]build_versionMaximum supported build version; FW 3.60 accepts values through 0x03600011.
Returns
0 on success, or a negative error code.

◆ _sceAppMgrAddContAddMount()

int _sceAppMgrAddContAddMount ( const SceAppMgrGenericMountContext *  mount_context,
int  force_mount_ux 
)

Mount additional content after validating its PFS keystone and passcode.

◆ _sceAppMgrAddContMount()

int _sceAppMgrAddContMount ( ScePID  process_id,
const SceAppMgrGenericMountContext *  mount_context 
)

Mount additional content for process_id.

◆ _sceAppMgrAppDataMount()

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.

◆ _sceAppMgrAppDataMountById()

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>.

◆ _sceAppMgrAppParamGetString()

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.

◆ _sceAppMgrCheckRifGD()

int _sceAppMgrCheckRifGD ( const char *  path,
SceAppMgrCheckRifGDResult *  result,
const SceAppMgrCheckRifGDOpt *  opt 
)

Validate a game-data RIF and return its parsed license information.

◆ _sceAppMgrContentInstallPeriodStart()

int _sceAppMgrContentInstallPeriodStart ( void  )

Unmount the calling process's content mounts for an installation period.

◆ _sceAppMgrContentInstallPeriodStop()

int _sceAppMgrContentInstallPeriodStop ( void  )

End an installation period and remount the calling process's content.

◆ _sceAppMgrConvertVs0UserDrivePath()

int _sceAppMgrConvertVs0UserDrivePath ( const char *  path,
char *  converted_path,
SceSize  converted_path_size,
const SceAppMgrConvertVs0UserDrivePathOpt *  opt 
)
Parameters
[out]converted_pathOutput buffer for a path of at most 0x124 bytes, including the terminating NUL.
[in]converted_path_sizeOutput-buffer capacity. FW 3.60 requires a value greater than 0x3F and caps it at 0x124.

◆ _sceAppMgrDeclareShellProcess2()

int _sceAppMgrDeclareShellProcess2 ( const char *  app_name,
const SceAppMgrDeclareShellProcess2Opt *  opt 
)
Parameters
[in]optMust be non-NULL; its contents are ignored on FW 3.60.

◆ _sceAppMgrForceUmount()

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.

◆ _sceAppMgrGameDataMount()

int _sceAppMgrGameDataMount ( const char *  app_path,
const char *  patch_path,
const char *  rif_path,
const SceAppMgrGameDataMountOpt *  opt 
)

◆ _sceAppMgrGetAppInfo()

int _sceAppMgrGetAppInfo ( const char *  app_name,
SceAppMgrAppInfo *  app_info,
const SceAppMgrGetAppInfoOpt *  opt 
)
Parameters
[in]app_nameApplication name of at most 31 characters; NULL selects the calling process.

◆ _sceAppMgrGetAppMgrState()

int _sceAppMgrGetAppMgrState ( SceAppMgrAppMgrState *  app_mgr_state)

Get the 0x80-byte global AppMgr state.

◆ _sceAppMgrGetAppParam()

int _sceAppMgrGetAppParam ( SceAppMgrAppParam *  app_param,
const SceAppMgrGetAppParamOpt *  opt 
)

Get the calling application's queued launch parameter.

◆ _sceAppMgrGetBootParam()

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.

◆ _sceAppMgrGetCurrentBgmState()

int _sceAppMgrGetCurrentBgmState ( ScePID *  process_id,
SceUInt32 *  bgm_state 
)
Parameters
[out]process_idReceives a process ID of type ScePID.
[out]bgm_stateReceives a BGM state value of type SceUInt32.

◆ _sceAppMgrGetIdByName()

int _sceAppMgrGetIdByName ( ScePID *  process_id,
const char *  app_name,
const SceAppMgrGetIdByNameOpt *  opt 
)

Get the process ID for an application name.

◆ _sceAppMgrGetNameById()

int _sceAppMgrGetNameById ( ScePID  process_id,
char  app_name[32],
const SceAppMgrGetNameByIdOpt *  opt 
)

Get the application name for a process ID.

◆ _sceAppMgrGetRawPath()

int _sceAppMgrGetRawPath ( const char *  path,
char *  resolved_path,
SceSize  resolved_path_size,
const SceAppMgrGetRawPathOpt *  opt 
)
Parameters
[out]resolved_pathOutput buffer for a path of at most 0x124 bytes, including the terminating NUL.
[in]resolved_path_sizeOutput-buffer capacity passed to the FIOS overlay resolver, capped at 0x124 on FW 3.60.
[in]optMust be non-NULL; its contents are ignored on FW 3.60.

◆ _sceAppMgrGetRawPathOfApp0ByAppIdForShell()

int _sceAppMgrGetRawPathOfApp0ByAppIdForShell ( int  app_id,
char  resolved_path[292] 
)

◆ _sceAppMgrGetSaveDataInfo()

int _sceAppMgrGetSaveDataInfo ( const char *  path,
const char *  title_id,
int  force_mount_ux,
const SceAppMgrGetSaveDataInfoOpt *  opt 
)

Get savedata information for a title.

Parameters
[in]pathSavedata path to inspect.
[in]title_idExact nine-character title ID.
[in]force_mount_uxNonzero to force the ux0: savedata lookup path.
[in]optRequired options containing the result buffer.

◆ _sceAppMgrGetSaveDataInfoForSpecialExport()

int _sceAppMgrGetSaveDataInfoForSpecialExport ( const char *  path,
SceUInt64 *  account_id,
const SceAppMgrGetSaveDataInfoForSpecialExportOpt *  opt 
)
Parameters
[out]account_idReceives the 64-bit ACCOUNT_ID value.

◆ _sceAppMgrGetStatusByAppId()

int _sceAppMgrGetStatusByAppId ( int  app_id,
SceAppMgrAppStatus *  app_status 
)

Get the 0x80-byte application status for an application ID.

◆ _sceAppMgrGetStatusById()

int _sceAppMgrGetStatusById ( ScePID  process_id,
SceAppMgrAppStatus *  app_status 
)

Get the 0x80-byte application status for a process ID.

◆ _sceAppMgrGetStatusByName()

int _sceAppMgrGetStatusByName ( const char *  app_name,
SceAppMgrAppStatus *  app_status,
const SceAppMgrGetStatusByNameOpt *  opt 
)

Get the 0x80-byte application status for an application name.

◆ _sceAppMgrGetSystemDataFilePlayReady()

int _sceAppMgrGetSystemDataFilePlayReady ( SceUInt32  location,
SceUInt64 *  sdpr 
)
Parameters
[in]locationMust be 1 on FW 3.60.
[out]sdprReceives the 64-bit SDPR value.

◆ _sceAppMgrGetUserDirPath()

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.

◆ _sceAppMgrGetVs0UserDataDrive()

int _sceAppMgrGetVs0UserDataDrive ( ScePfsRndDriveId *  rnd_drive_id)

Get the 16-byte randomized drive ID for the vs0 user-data mount.

◆ _sceAppMgrGetVs0UserModuleDrive()

int _sceAppMgrGetVs0UserModuleDrive ( ScePfsRndDriveId *  rnd_drive_id)

Get the 16-byte randomized drive ID for the vs0 user-module mount.

◆ _sceAppMgrLaunchAppByUri2()

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.

◆ _sceAppMgrLaunchVideoStreamingApp()

int _sceAppMgrLaunchVideoStreamingApp ( const void *  extra_data,
SceSize  extra_data_size,
const SceAppMgrLaunchVideoStreamingAppOpt *  param 
)
Parameters
[in]extra_dataOptional launch data of at most 0x1800 bytes.
[in]extra_data_sizeSize of extra_data; the maximum value is 0x1800.
[in]paramOptional launch options for NPXS10085.

◆ _sceAppMgrLoadExec()

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.

◆ _sceAppMgrLoadSaveDataSystemFile()

int _sceAppMgrLoadSaveDataSystemFile ( const char *  path,
void *  param_sfo_buffer,
SceSize  buffer_size,
const SceAppMgrLoadSaveDataSystemFileOpt *  opt 
)
Parameters
[out]param_sfo_bufferOutput buffer for the save-data param.sfo file.
[in]buffer_sizeMaximum number of bytes to write.

◆ _sceAppMgrLoopBackMount()

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.

◆ _sceAppMgrMmsMount()

int _sceAppMgrMmsMount ( int  mount_id,
char  mount_point[16] 
)

Mount one of the PSP emulator MMS locations selected by IDs 400 through 402.

◆ _sceAppMgrPhotoMount()

int _sceAppMgrPhotoMount ( const SceAppMgrPhotoMountParam *  param,
const SceAppMgrPhotoMountOpt *  opt 
)

Mount photo application data.

◆ _sceAppMgrPspSaveDataRootMount()

int _sceAppMgrPspSaveDataRootMount ( char  mount_point[16])

Mount the PSP emulator savedata root.

◆ _sceAppMgrReceiveEvent()

int _sceAppMgrReceiveEvent ( SceAppMgrEvent *  app_event)

Receive one pending application event and remove it from the queue.

◆ _sceAppMgrReceiveEventNum()

int _sceAppMgrReceiveEventNum ( int *  event_num)

Get the number of pending application events.

◆ _sceAppMgrReceiveSystemEvent()

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.

◆ _sceAppMgrSaveDataAddMount()

int _sceAppMgrSaveDataAddMount ( const SceAppMgrGenericMountContext *  mount_context)

Mount savedata after validating its PFS keystone and passcode.

◆ _sceAppMgrSetNetworkDisconnectionWarningDialogState()

int _sceAppMgrSetNetworkDisconnectionWarningDialogState ( SceBool  enable,
const SceAppMgrNetworkDisconnectionWarningDialogStateOptParam *  opt_param 
)

Enable or disable network-disconnection warning dialogs.

FW 3.60 requires opt_param to be NULL.

◆ _sceAppMgrSetSystemDataFilePlayReady()

int _sceAppMgrSetSystemDataFilePlayReady ( SceUInt32  location,
const SceUInt64 *  sdpr,
const void *  data,
SceSize  data_size 
)
Parameters
[in]sdprRequired 64-bit SDPR value when location is 1.
[in]dataRequired data buffer when location is 2.
[in]data_sizeSize of data; the maximum value is 0x4000.

◆ _sceAppMgrThemeDataMount()

int _sceAppMgrThemeDataMount ( const char *  content_id,
const char *  theme_path,
const char *  rif_path,
const SceAppMgrThemeDataMountOpt *  opt 
)
Parameters
[in]content_idA NUL-terminated content ID of at most 26 characters.

◆ _sceAppMgrTrophyMount()

int _sceAppMgrTrophyMount ( int  mount_id,
ScePID  process_id,
char  mount_point[16] 
)

Mount trophy data for process_id using mount ID 300 or 302.

◆ _sceAppMgrTrophyMountById()

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.

◆ _sceAppMgrUmount()

int _sceAppMgrUmount ( const char *  mount_point)

Unmount a 16-byte randomized mount point belonging to the calling process.

◆ _sceAppMgrUpdateSaveDataParam()

int _sceAppMgrUpdateSaveDataParam ( const char *  path,
const SceAppMgrUpdateSaveDataParamOpt *  opt 
)

Update savedata param.sfo metadata at path.

◆ _sceAppMgrWorkDirMount()

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.

◆ _sceAppMgrWorkDirMountById()

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.

◆ sceAppMgrActivateApp()

int sceAppMgrActivateApp ( int  app_id)

Activate an application.

Only SceShell may call this function.

Variable Documentation

◆ systemEvent

int SceAppMgrSystemEvent::systemEvent

◆ reserved [1/36]

uint8_t SceAppMgrSystemEvent::reserved[60]

Reserved data.

◆ size [1/7]

int SceAppMgrSaveDataData::size

Must be 0x4C.

◆ slotId [1/4]

unsigned int SceAppMgrSaveDataData::slotId

Save slot to use.

◆ slotParam [1/3]

SceAppUtilSaveDataSlotParam* SceAppMgrSaveDataData::slotParam

Save slot params.

◆ reserved [2/36]

uint8_t SceAppMgrSaveDataData::reserved[32]

Reserved data.

◆ files [1/2]

SceAppUtilSaveDataFile* SceAppMgrSaveDataData::files

Pointer to an array of files.

◆ fileNum [1/2]

int SceAppMgrSaveDataData::fileNum

Number of files to save.

◆ mountPoint [1/4]

SceAppUtilSaveDataMountPoint SceAppMgrSaveDataData::mountPoint

Savedata mountpoint.

◆ requiredSizeKB

unsigned int* SceAppMgrSaveDataData::requiredSizeKB

Required size in KBs.

◆ unk_0x48

int SceAppMgrSaveDataData::unk_0x48

◆ size [2/7]

int SceAppMgrSaveDataDataDelete::size

Must be 0x44.

◆ slotId [2/4]

unsigned int SceAppMgrSaveDataDataDelete::slotId

Save slot to use.

◆ slotParam [2/3]

SceAppUtilSaveDataSlotParam* SceAppMgrSaveDataDataDelete::slotParam

Save slot params.

◆ reserved [3/36]

uint8_t SceAppMgrSaveDataDataDelete::reserved[32]

Reserved data.

◆ files [2/2]

SceAppUtilSaveDataFile* SceAppMgrSaveDataDataDelete::files

Pointer to an array of files.

◆ fileNum [2/2]

int SceAppMgrSaveDataDataDelete::fileNum

Number of files to delete.

◆ mountPoint [2/4]

SceAppUtilSaveDataMountPoint SceAppMgrSaveDataDataDelete::mountPoint

Savedata mountpoint.

◆ size [3/7]

int SceAppMgrSaveDataSlot::size

Must be 0x418.

◆ slotId [3/4]

unsigned int SceAppMgrSaveDataSlot::slotId

Save slot to use.

◆ slotParam [3/3]

SceAppUtilSaveDataSlotParam SceAppMgrSaveDataSlot::slotParam

Save slot params.

◆ reserved [4/36]

uint8_t SceAppMgrSaveDataSlot::reserved[116]

Reserved data.

◆ mountPoint [3/4]

SceAppUtilSaveDataMountPoint SceAppMgrSaveDataSlot::mountPoint

Savedata mountpoint.

◆ reserved2

uint8_t SceAppMgrSaveDataSlot::reserved2[0x40]

◆ size [4/7]

int SceAppMgrSaveDataSlotDelete::size

Must be 0x18.

◆ slotId [4/4]

unsigned int SceAppMgrSaveDataSlotDelete::slotId

Save slot to use.

◆ mountPoint [4/4]

SceAppUtilSaveDataMountPoint SceAppMgrSaveDataSlotDelete::mountPoint

Savedata mountpoint.

◆ systemEventNum

SceUInt32 SceAppMgrAppState::systemEventNum

◆ appEventNum

SceUInt32 SceAppMgrAppState::appEventNum

◆ isSystemUiOverlaid

SceBool SceAppMgrAppState::isSystemUiOverlaid

◆ reserved [5/36]

SceUInt8 SceAppMgrAppState::reserved[116]

◆ size [5/7]

int SceAppMgrBudgetInfo::size

Must be 0x88.

◆ app_mode

int SceAppMgrBudgetInfo::app_mode

◆ unk0

int SceAppMgrBudgetInfo::unk0

Unknown Data.

◆ total_user_rw_mem

unsigned int SceAppMgrBudgetInfo::total_user_rw_mem

Total amount of accessible USER_RW memory.

◆ free_user_rw

unsigned int SceAppMgrBudgetInfo::free_user_rw

Free amount of accessible USER_RW memory.

◆ extra_mem_allowed

SceBool SceAppMgrBudgetInfo::extra_mem_allowed

Flag for extra memory accessibility.

◆ unk1

int SceAppMgrBudgetInfo::unk1

Unknown Data.

◆ total_extra_mem

unsigned int SceAppMgrBudgetInfo::total_extra_mem

Total amount of accessible extra memory.

◆ free_extra_mem

unsigned int SceAppMgrBudgetInfo::free_extra_mem

Free amount of accessible extra memory.

◆ unk2

int SceAppMgrBudgetInfo::unk2[2]

Unknown Data.

◆ total_phycont_mem

unsigned int SceAppMgrBudgetInfo::total_phycont_mem

Total amount of accessible physically contiguous memory.

◆ free_phycont_mem

unsigned int SceAppMgrBudgetInfo::free_phycont_mem

Free amount of accessible physically contiguous memory.

◆ unk3

int SceAppMgrBudgetInfo::unk3[10]

Unknown Data.

◆ total_cdram_mem

unsigned int SceAppMgrBudgetInfo::total_cdram_mem

Total amount of accessible CDRAM memory.

◆ free_cdram_mem

unsigned int SceAppMgrBudgetInfo::free_cdram_mem

Free amount of accessible CDRAM memory.

◆ reserved [6/36]

int SceAppMgrBudgetInfo::reserved[9]

Reserved data.

◆ reserved [7/36]

int SceAppMgrLoadExecOptParam::reserved[64]

Reserved data.

◆ pid

SceUID SceAppMgrCoredumpState::pid

◆ process_state

int SceAppMgrCoredumpState::process_state

◆ progress

int SceAppMgrCoredumpState::progress

◆ is_coredump_completed

int SceAppMgrCoredumpState::is_coredump_completed

◆ data_0x10

int SceAppMgrCoredumpState::data_0x10

◆ path_len

SceSize SceAppMgrCoredumpState::path_len

◆ path

char SceAppMgrCoredumpState::path[0x400]

◆ data_0x418

int SceAppMgrCoredumpState::data_0x418

◆ data_0x41C

int SceAppMgrCoredumpState::data_0x41C

◆ data_0x420

int SceAppMgrCoredumpState::data_0x420

◆ data_0x424

int SceAppMgrCoredumpState::data_0x424

◆ is_running [1/2]

SceBool SceAppMgrAppInfo::is_running

Non-zero while the selected process is in AppMgr's started state.

◆ reserved [8/36]

SceUInt8 SceAppMgrAppInfo::reserved[0x7C]

Set to 0 on FW 3.60.

◆ prioritize_system_chat

SceUInt32 SceAppMgrAppMgrState::prioritize_system_chat

◆ system_impose_state

SceUInt32 SceAppMgrAppMgrState::system_impose_state

◆ reserved08 [1/2]

SceInt32 SceAppMgrAppMgrState::reserved08

Initialized to -1 on FW 3.60.

◆ audio_routing_state

SceUInt32 SceAppMgrAppMgrState::audio_routing_state

◆ recommended_screen_orientation [1/2]

SceUInt32 SceAppMgrAppMgrState::recommended_screen_orientation

◆ system_impose_state2

SceUInt32 SceAppMgrAppMgrState::system_impose_state2

◆ reserved [9/36]

SceUInt8 SceAppMgrAppMgrState::reserved[0x68]

Reserved in the FW 3.60 state block.

◆ data

char SceAppMgrAppParam::data[0x400]

◆ parent_process_id

ScePID SceAppMgrAppStatus::parent_process_id

Process that submitted the launch request, or -1.

◆ launch_flags

SceUInt32 SceAppMgrAppStatus::launch_flags

Bitwise OR of SceAppMgrLaunchFlag values.

◆ app_protection_mode_on_memory_shortage

SceUInt32 SceAppMgrAppStatus::app_protection_mode_on_memory_shortage

◆ app_name

char SceAppMgrAppStatus::app_name[32]

◆ has_launch_param

SceUInt32 SceAppMgrAppStatus::has_launch_param

Non-zero when launch parameters are available.

◆ app_id [1/2]

SceUID SceAppMgrAppStatus::app_id

◆ process_id

ScePID SceAppMgrAppStatus::process_id

◆ is_active

SceBool SceAppMgrAppStatus::is_active

Non-zero while AppMgr considers the application activated.

◆ is_running [2/2]

SceBool SceAppMgrAppStatus::is_running

Non-zero after AppMgr starts the process and before it enters shutdown.

◆ network_disconnection_warning_dialog_enabled

SceBool SceAppMgrAppStatus::network_disconnection_warning_dialog_enabled

◆ parent_app_id [1/2]

SceUID SceAppMgrAppStatus::parent_app_id

◆ info_bar_visibility

SceUInt8 SceAppMgrAppStatus::info_bar_visibility

◆ info_bar_color

SceUInt8 SceAppMgrAppStatus::info_bar_color

◆ info_bar_transparency

SceUInt8 SceAppMgrAppStatus::info_bar_transparency

◆ reserved_4B

SceUInt8 SceAppMgrAppStatus::reserved_4B

High byte of the packed info-bar state.

◆ reserved_4C

SceUInt32 SceAppMgrAppStatus::reserved_4C

Internal launch-request value; its purpose is unknown.

◆ bgm_proxy_app_name

char SceAppMgrAppStatus::bgm_proxy_app_name[32]

◆ process_launch_type

SceUInt8 SceAppMgrAppStatus::process_launch_type

◆ application_type

SceUInt8 SceAppMgrAppStatus::application_type

◆ reserved72

SceUInt8 SceAppMgrAppStatus::reserved72[2]

Set to 0 on FW 3.60.

◆ app_flags

SceUInt32 SceAppMgrAppStatus::app_flags

Internal process flags copied from AppMgr's process context.

◆ recommended_screen_orientation [2/2]

SceUInt32 SceAppMgrAppStatus::recommended_screen_orientation

◆ recommended_screen_orientation_activated

SceBool SceAppMgrAppStatus::recommended_screen_orientation_activated

◆ size [6/7]

SceSize SceAppMgrBootParam::size

Number of bytes requested from the public wrapper; maximum value is 0x2C.

◆ reserved04

SceUInt SceAppMgrBootParam::reserved04[2]

Set to 0 on FW 3.60.

◆ reserved_0C

SceUInt SceAppMgrBootParam::reserved_0C[8]

Left unchanged from the caller's input on FW 3.60.

◆ event

int SceAppMgrEvent::event

◆ app_id [2/2]

SceUID SceAppMgrEvent::app_id

Application ID; FW 3.60 writes -1 for received events.

◆ param

char SceAppMgrEvent::param[SCE_APP_MGR_MAX_EVENT_PARM_LENGTH]

Event parameters; set to 0 on FW 3.60.

◆ size [7/7]

SceSize SceAppMgrLaunchAppByUri2Param::size

Ignored on FW 3.60.

◆ flags [1/2]

SceUInt32 SceAppMgrLaunchAppByUri2Param::flags

Bitwise OR of SceAppMgrLaunchFlag values; FW 3.60 forces SCE_APPMGR_LAUNCH_FLAG_ALLOW_EMPTY_TARGET.

◆ reserved08 [2/2]

SceUInt32 SceAppMgrLaunchAppByUri2Param::reserved08

Ignored on FW 3.60.

◆ app_launch_callback_id

SceUID SceAppMgrLaunchAppByUri2Param::app_launch_callback_id

Callback notified with the launched process ID, or -1.

◆ get_param_callback_id

SceUID SceAppMgrLaunchAppByUri2Param::get_param_callback_id

Callback notified when the target consumes its launch parameters, or -1.

◆ parent_app_id [2/2]

SceInt32 SceAppMgrLaunchAppByUri2Param::parent_app_id

Parent application ID, or -1; used when flags includes SCE_APPMGR_LAUNCH_FLAG_EXIT_TO.

◆ launch_mode

SceUInt32 SceAppMgrLaunchAppByUri2Param::launch_mode

Application mode from 0 through 4; values 2 through 4 are SceAppMgrApplicationMode values.

◆ reserved_1C

SceUInt32 SceAppMgrLaunchAppByUri2Param::reserved_1C

Stored in the target process context on FW 3.60; its purpose is unknown.

◆ reserved [10/36]

SceUInt8 SceAppMgrLaunchAppByUri2Param::reserved[0x20]

Must be zero on FW 3.60.

◆ reserved [11/36]

SceUInt8 SceAppMgrNetworkDisconnectionWarningDialogStateOptParam::reserved[0x80]

Not accepted on FW 3.60; pass NULL for the option pointer.

◆ reserved [12/36]

SceUInt32 SceAppMgrCheckRifGDOpt::reserved[2]

Ignored on FW 3.60.

◆ content_id

char SceAppMgrCheckRifGDResult::content_id[0x30]

RIF content ID.

◆ license_version

SceUInt32 SceAppMgrCheckRifGDResult::license_version

RIF license version.

◆ drm_type

SceUInt32 SceAppMgrCheckRifGDResult::drm_type

RIF DRM type.

◆ flags [2/2]

SceUInt32 SceAppMgrCheckRifGDResult::flags

Derived license flags returned by ksceNpDrmGetRifInfo.

◆ sku_flags

SceUInt32 SceAppMgrCheckRifGDResult::sku_flags

RIF SKU flags.

◆ account_id [1/2]

SceUInt64 SceAppMgrCheckRifGDResult::account_id

License account ID.

◆ rif_data98

SceUInt64 SceAppMgrCheckRifGDResult::rif_data98

Raw 8-byte RIF field.

◆ license_start_time

SceInt64 SceAppMgrCheckRifGDResult::license_start_time

Effective license start time.

◆ license_expiration_time

SceInt64 SceAppMgrCheckRifGDResult::license_expiration_time

Effective license expiration time.

◆ key

SceUInt8 SceAppMgrCheckRifGDResult::key[0x10]

Decrypted Vita license key.

◆ mount_point [1/2]

char* SceAppMgrGameDataMountOpt::mount_point

Receives a 16-byte mount point of the form "gpXXXXXXXXXXXd:".

◆ reserved [13/36]

SceUInt32 SceAppMgrGameDataMountOpt::reserved[5]

Ignored on FW 3.60.

◆ reserved [14/36]

SceUInt32 SceAppMgrGetAppInfoOpt::reserved[2]

Ignored on FW 3.60.

◆ app_param_size

SceSize SceAppMgrGetAppParamOpt::app_param_size

FW 0.990 application-parameter size; ignored on FW 3.60.

◆ reserved [15/36]

SceUInt32 SceAppMgrGetAppParamOpt::reserved

Ignored on FW 3.60.

◆ boot_param_size

SceSize SceAppMgrGetBootParamOpt::boot_param_size

Number of leading bytes to copy to and from the boot-parameter buffer.

◆ reserved [16/36]

SceUInt SceAppMgrGetBootParamOpt::reserved

Ignored on FW 3.60.

◆ app_name_size [1/3]

SceSize SceAppMgrGetIdByNameOpt::app_name_size

FW 0.990 application-name size; ignored on FW 3.60.

◆ reserved [17/36]

SceUInt32 SceAppMgrGetIdByNameOpt::reserved

Ignored on FW 3.60.

◆ app_name_size [2/3]

SceSize SceAppMgrGetNameByIdOpt::app_name_size

FW 0.990 application-name size; ignored on FW 3.60.

◆ reserved [18/36]

SceUInt32 SceAppMgrGetNameByIdOpt::reserved

Ignored on FW 3.60.

◆ reserved [19/36]

SceUInt32 SceAppMgrGetSaveDataInfoForSpecialExportOpt::reserved[2]

Ignored on FW 3.60.

◆ storage_type

SceUInt32 SceAppMgrGetSaveDataInfoResult::storage_type

◆ is_mounted

SceBool SceAppMgrGetSaveDataInfoResult::is_mounted

Non-zero when the save data is mounted.

◆ has_broken_data

SceBool SceAppMgrGetSaveDataInfoResult::has_broken_data

Set for specific PFS validation failures or when sdslot.dat is absent.

◆ account_id [2/2]

SceUInt32 SceAppMgrGetSaveDataInfoResult::account_id[2]

Low and high words of the param.sfo ACCOUNT_ID value.

◆ save_data_param44

SceUInt32 SceAppMgrGetSaveDataInfoResult::save_data_param44

Value copied from the param.sfo PARAMS entry.

◆ allocated_size_kb

SceUInt32 SceAppMgrGetSaveDataInfoResult::allocated_size_kb

◆ result

SceAppMgrGetSaveDataInfoResult* SceAppMgrGetSaveDataInfoOpt::result

Receives a 0x1C-byte result.

◆ reserved [20/36]

SceUInt32 SceAppMgrGetSaveDataInfoOpt::reserved[3]

Ignored on FW 3.60.

◆ app_status_size [1/2]

SceSize SceAppMgrGetStatusByIdOpt::app_status_size

◆ reserved1

SceUInt32 SceAppMgrGetStatusByIdOpt::reserved1

◆ path_max_length

SceSize SceAppMgrGetUserDirPathOpt::path_max_length

FW 0.990: must be at most 1024. Ignored on FW 3.60.

◆ reserved [21/36]

SceUInt32 SceAppMgrGetUserDirPathOpt::reserved

Ignored on FW 3.60.

◆ title_id

SceTitleId SceAppMgrGenericMountContext::title_id

Title or additional-content identifier used to construct the source path.

◆ pass_code

char SceAppMgrGenericMountContext::pass_code[32]

Passcode used to verify the mounted PFS keystone.

◆ mount_drive

char SceAppMgrGenericMountContext::mount_drive[16]

Optional explicit source drive or randomized mount-drive identifier.

◆ reserved [22/36]

SceUInt32 SceAppMgrAppDataMountByIdOpt::reserved[2]

Ignored on FW 3.60.

◆ string_size

SceSize SceAppMgrAppParamGetStringOpt::string_size

Output-buffer capacity; the maximum value is 0x400.

◆ reserved [23/36]

SceUInt32 SceAppMgrAppParamGetStringOpt::reserved[3]

Ignored on FW 3.60.

◆ app_name_size [3/3]

SceSize SceAppMgrGetStatusByNameOpt::app_name_size

FW 0.990 application-name size; ignored on FW 3.60.

◆ app_status_size [2/2]

SceSize SceAppMgrGetStatusByNameOpt::app_status_size

FW 0.990 application-status size; ignored on FW 3.60.

◆ reserved [24/36]

SceUInt32 SceAppMgrGetStatusByNameOpt::reserved[2]

FW 0.990 reserved words; not read on FW 3.60.

◆ reserved [25/36]

SceUInt32 SceAppMgrLoadSaveDataSystemFileOpt::reserved[2]

Ignored on FW 3.60.

◆ reserved [26/36]

SceUInt32 SceAppMgrLoopBackMountOpt::reserved[2]

Ignored on FW 3.60.

◆ param_size

SceSize SceAppMgrPhotoMountOpt::param_size

Number of bytes to copy from SceAppMgrPhotoMountParam; maximum value is 0x84.

◆ reserved [27/36]

SceUInt32 SceAppMgrPhotoMountOpt::reserved

Ignored on FW 3.60.

◆ mount_point [2/2]

char* SceAppMgrThemeDataMountOpt::mount_point

Receives a 16-byte mount point of the form "tmXXXXXXXXXXXX:".

◆ reserved [28/36]

SceUInt32 SceAppMgrThemeDataMountOpt::reserved[5]

Ignored on FW 3.60.

◆ reserved [29/36]

SceUInt32 SceAppMgrTrophyMountByIdOpt::reserved[2]

Ignored on FW 3.60.

◆ reserved [30/36]

SceUInt32 SceAppMgrUpdateSaveDataParamOpt::reserved[2]

Ignored on FW 3.60.

◆ reserved [31/36]

SceUInt32 SceAppMgrWorkDirMountByIdOpt::reserved[2]

Ignored on FW 3.60.

◆ reserved [32/36]

SceUInt32 SceAppMgrConvertVs0UserDrivePathOpt::reserved[4]

Ignored on FW 3.60.

◆ reserved [33/36]

SceUInt32 SceAppMgrDeclareShellProcess2Opt::reserved[2]

Ignored on FW 3.60.

◆ reserved [34/36]

SceUInt32 SceAppMgrGetRawPathOpt::reserved[4]

Ignored on FW 3.60.

◆ reserved [35/36]

SceUInt32 SceAppMgrLaunchAppByUri2Opt::reserved[2]

Ignored on FW 3.60.

◆ reserved [36/36]

SceUInt32 SceAppMgrLoadExecOpt::reserved[2]

Ignored on FW 3.60.