160#define SCE_APPMGR_MAX_APP_NAME_LENGTH (31)
728#define SCE_APP_MGR_MAX_EVENT_PARM_LENGTH (56)
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
char SceTitleId[16]
Definition appmgr.h:16
SceUInt32 reserved[4]
Ignored on FW 3.60.
Definition appmgr.h:921
SceUInt32 account_id[2]
Low and high words of the param.sfo ACCOUNT_ID value.
Definition appmgr.h:833
int _sceAppMgrWorkDirMountById(int mount_id, const char *title_id, char mount_point[16], const SceAppMgrWorkDirMountByIdOpt *opt)
Mount another title's working directory.
SceBool extra_mem_allowed
Flag for extra memory accessibility.
Definition appmgr.h:138
SceTitleId title_id
Title or additional-content identifier used to construct the source path.
Definition appmgr.h:859
SceUInt8 reserved[0x80]
Not accepted on FW 3.60; pass NULL for the option pointer.
Definition appmgr.h:753
int _sceAppMgrDeclareShellProcess2(const char *app_name, const SceAppMgrDeclareShellProcess2Opt *opt)
int unk1
Unknown Data.
Definition appmgr.h:139
int sceAppMgrDestroyOtherApp(void)
Destroy other apps.
int unk_0x48
Definition appmgr.h:92
int sceAppMgrGetIdByName(SceUID *pid, const char *name)
Get Process ID by Title ID.
char bgm_proxy_app_name[32]
Definition appmgr.h:704
unsigned int slotId
Save slot to use.
Definition appmgr.h:109
int _sceAppMgrUmount(const char *mount_point)
Unmount a 16-byte randomized mount point belonging to the calling process.
unsigned int slotId
Save slot to use.
Definition appmgr.h:119
int _sceAppMgrForceUmount(int mount_id)
Force-unmount active USB mass-storage image mounts.
int _sceAppMgrGetIdByName(ScePID *process_id, const char *app_name, const SceAppMgrGetIdByNameOpt *opt)
Get the process ID for an application name.
SceUID get_param_callback_id
Callback notified when the target consumes its launch parameters, or -1.
Definition appmgr.h:743
int sceAppMgrGetDevInfo(const char *dev, uint64_t *max_size, uint64_t *free_size)
Get device info.
SceInt32 parent_app_id
Parent application ID, or -1; used when flags includes SCE_APPMGR_LAUNCH_FLAG_EXIT_TO.
Definition appmgr.h:744
SceSize path_len
Definition appmgr.h:571
int _sceAppMgrGetSaveDataInfo(const char *path, const char *title_id, int force_mount_ux, const SceAppMgrGetSaveDataInfoOpt *opt)
Get savedata information for a title.
int data_0x41C
Definition appmgr.h:574
int _sceAppMgrGetAppInfo(const char *app_name, SceAppMgrAppInfo *app_info, const SceAppMgrGetAppInfoOpt *opt)
SceUInt32 reserved
Ignored on FW 3.60.
Definition appmgr.h:854
SceAppMgrAppParamId
String fields accepted by _sceAppMgrAppParamGetString.
Definition appmgr.h:652
int _sceAppMgrGetVs0UserModuleDrive(ScePfsRndDriveId *rnd_drive_id)
Get the 16-byte randomized drive ID for the vs0 user-module mount.
unsigned int total_cdram_mem
Total amount of accessible CDRAM memory.
Definition appmgr.h:146
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:866
int sceAppMgrWorkDirMountById(int id, const char *titleid, const char *mount_point)
Mount working directory by Title ID.
SceBool has_broken_data
Set for specific PFS validation failures or when sdslot.dat is absent.
Definition appmgr.h:832
int sceAppMgrSaveDataSlotGetParam(SceAppMgrSaveDataSlot *data)
Get current param of a savedata slot.
SceBool isSystemUiOverlaid
Definition appmgr.h:127
SceAppMgrApplicationMode
Definition appmgr.h:71
int _sceAppMgrAppDataMount(int mount_id, char mount_point[16])
Mount application data and return a randomized mount point.
int _sceAppMgrGetStatusByName(const char *app_name, SceAppMgrAppStatus *app_status, const SceAppMgrGetStatusByNameOpt *opt)
Get the 0x80-byte application status for an application name.
int data_0x418
Definition appmgr.h:573
SceAppMgrInfoBarTransparency
Definition appmgr.h:66
int fileNum
Number of files to delete.
Definition appmgr.h:102
struct SceAppMgrLaunchAppOptParam SceAppMgrLaunchAppOptParam
Definition appmgr.h:153
int _sceAppMgrAppParamGetString(ScePID process_id, SceAppMgrAppParamId param_id, char *string, const SceAppMgrAppParamGetStringOpt *opt)
Read a string parameter from a process's param.sfo metadata.
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:926
SceUInt8 reserved_4B
High byte of the packed info-bar state.
Definition appmgr.h:702
SceUInt8 info_bar_transparency
One of SceAppMgrInfoBarTransparency.
Definition appmgr.h:701
SceUID parent_app_id
Definition appmgr.h:698
SceUInt32 reserved
Ignored on FW 3.60.
Definition appmgr.h:790
int _sceAppMgrAddContMount(ScePID process_id, const SceAppMgrGenericMountContext *mount_context)
Mount additional content for process_id.
SceAppUtilSaveDataFile * files
Pointer to an array of files.
Definition appmgr.h:101
char content_id[0x30]
RIF content ID.
Definition appmgr.h:764
SceUInt8 application_type
One of SceAppMgrApplicationType.
Definition appmgr.h:706
int _sceAppMgrGetVs0UserDataDrive(ScePfsRndDriveId *rnd_drive_id)
Get the 16-byte randomized drive ID for the vs0 user-data mount.
int unk2[2]
Unknown Data.
Definition appmgr.h:142
SceSize size
Number of bytes requested from the public wrapper; maximum value is 0x2C.
Definition appmgr.h:722
SceUInt32 drm_type
RIF DRM type.
Definition appmgr.h:766
int sceAppMgrSaveDataDataRemove(SceAppMgrSaveDataDataDelete *data)
Remove data on savedata0: partition.
int _sceAppMgrSaveDataAddMount(const SceAppMgrGenericMountContext *mount_context)
Mount savedata after validating its PFS keystone and passcode.
SceUInt32 reserved[2]
FW 0.990 reserved words; not read on FW 3.60.
Definition appmgr.h:879
SceUInt32 reserved[5]
Ignored on FW 3.60.
Definition appmgr.h:901
int _sceAppMgrContentInstallPeriodStop(void)
End an installation period and remount the calling process's content.
SceUInt32 launch_mode
Application mode from 0 through 4; values 2 through 4 are SceAppMgrApplicationMode values.
Definition appmgr.h:746
SceAppMgrUserDirPartition
Definition appmgr.h:824
int _sceAppMgrGetAppMgrState(SceAppMgrAppMgrState *app_mgr_state)
Get the 0x80-byte global AppMgr state.
SceUInt8 reserved[0x7C]
Set to 0 on FW 3.60.
Definition appmgr.h:592
char pass_code[32]
Passcode used to verify the mounted PFS keystone.
Definition appmgr.h:860
unsigned int total_phycont_mem
Total amount of accessible physically contiguous memory.
Definition appmgr.h:143
int _sceAppMgrCheckRifGD(const char *path, SceAppMgrCheckRifGDResult *result, const SceAppMgrCheckRifGDOpt *opt)
Validate a game-data RIF and return its parsed license information.
int sceAppMgrLaunchAppByName2(const char *name, const char *param, SceAppMgrLaunchAppOptParam *optParam)
Start an application by Title ID.
SceUInt32 reserved_1C
Stored in the target process context on FW 3.60; its purpose is unknown.
Definition appmgr.h:747
int size
Must be 0x88.
Definition appmgr.h:133
SceAppUtilSaveDataMountPoint mountPoint
Savedata mountpoint.
Definition appmgr.h:120
int sceAppMgrLaunchAppByUri(int flags, const char *uri)
Start an application by URI.
char * mount_point
Receives a 16-byte mount point of the form "gpXXXXXXXXXXXd:".
Definition appmgr.h:778
SceUInt32 flags
Bitwise OR of SceAppMgrLaunchFlag values; FW 3.60 forces SCE_APPMGR_LAUNCH_FLAG_ALLOW_EMPTY_TARGET.
Definition appmgr.h:739
unsigned int free_extra_mem
Free amount of accessible extra memory.
Definition appmgr.h:141
SceAppMgrSaveDataStorageType
Definition appmgr.h:817
char * mount_point
Receives a 16-byte mount point of the form "tmXXXXXXXXXXXX:".
Definition appmgr.h:900
int _sceAppMgrSetSystemDataFilePlayReady(SceUInt32 location, const SceUInt64 *sdpr, const void *data, SceSize data_size)
int sceAppMgrAcquireBgmPort(void)
Obtains the BGM port, even when it is not in front.
unsigned int * requiredSizeKB
Required size in KBs.
Definition appmgr.h:91
SceUInt32 reserved1
Definition appmgr.h:848
struct SceAppMgrExecOptParam SceAppMgrExecOptParam
Definition appmgr.h:152
int _sceAppMgrGetSaveDataInfoForSpecialExport(const char *path, SceUInt64 *account_id, const SceAppMgrGetSaveDataInfoForSpecialExportOpt *opt)
uint8_t reserved[32]
Reserved data.
Definition appmgr.h:87
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 _sceAppMgrPhotoMount(const SceAppMgrPhotoMountParam *param, const SceAppMgrPhotoMountOpt *opt)
Mount photo application data.
SceSize app_status_size
Definition appmgr.h:847
int _sceAppMgrReceiveEventNum(int *event_num)
Get the number of pending application events.
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 _sceAppMgrLaunchVideoStreamingApp(const void *extra_data, SceSize extra_data_size, const SceAppMgrLaunchVideoStreamingAppOpt *param)
SceUInt32 recommended_screen_orientation
One of SceAppMgrScreenOrientation.
Definition appmgr.h:634
SceUInt32 systemEventNum
Definition appmgr.h:125
SceUInt8 reserved[116]
Definition appmgr.h:128
unsigned int slotId
Save slot to use.
Definition appmgr.h:98
SceSize app_name_size
FW 0.990 application-name size; ignored on FW 3.60.
Definition appmgr.h:877
int size
Must be 0x18.
Definition appmgr.h:118
int _sceAppMgrGetSystemDataFilePlayReady(SceUInt32 location, SceUInt64 *sdpr)
int reserved[64]
Reserved data.
Definition appmgr.h:156
ScePID process_id
Definition appmgr.h:694
SceAppUtilSaveDataSlotParam * slotParam
Save slot params.
Definition appmgr.h:86
SceInt32 reserved08
Initialized to -1 on FW 3.60.
Definition appmgr.h:632
char path[0x400]
Definition appmgr.h:572
SceUInt32 reserved[3]
Ignored on FW 3.60.
Definition appmgr.h:872
int _sceAppMgrContentInstallPeriodStart(void)
Unmount the calling process's content mounts for an installation period.
SceUInt32 allocated_size_kb
Definition appmgr.h:835
int sceAppMgrSaveDataSlotCreate(SceAppMgrSaveDataSlot *data)
Create a savedata slot.
unsigned int slotId
Save slot to use.
Definition appmgr.h:85
int _sceAppMgrGetRawPath(const char *path, char *resolved_path, SceSize resolved_path_size, const SceAppMgrGetRawPathOpt *opt)
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:936
unsigned int free_cdram_mem
Free amount of accessible CDRAM memory.
Definition appmgr.h:147
SceUID app_id
Definition appmgr.h:693
int sceAppMgrReleaseBgmPort(void)
Release acquired BGM port.
SceSize path_max_length
FW 0.990: must be at most 1024. Ignored on FW 3.60.
Definition appmgr.h:853
SceAppMgrLaunchFlag
Launch-request flags observed on FW 3.60.
Definition appmgr.h:667
unsigned int total_user_rw_mem
Total amount of accessible USER_RW memory.
Definition appmgr.h:136
int _sceAppMgrLaunchAppByUri2(const char *uri, const SceAppMgrLaunchAppByUri2Param *param, const SceAppMgrLaunchAppByUri2Opt *opt)
Launch an application URI.
int unk0
Unknown Data.
Definition appmgr.h:135
SceBool is_running
Non-zero after AppMgr starts the process and before it enters shutdown.
Definition appmgr.h:696
SceUInt32 reserved
Ignored on FW 3.60.
Definition appmgr.h:808
int _sceAppMgrGetAppState(SceAppMgrAppState *appState, SceSize len, uint32_t version)
Get an application state.
int _sceAppMgrGetCurrentBgmState(ScePID *process_id, SceUInt32 *bgm_state)
int sceAppMgrGetRawPath(char *path, char *resolved_path, int resolved_path_size)
Get raw path for a given path.
SceAppMgrGetSaveDataInfoResult * result
Receives a 0x1C-byte result.
Definition appmgr.h:840
SceUInt32 reserved
Ignored on FW 3.60.
Definition appmgr.h:802
int systemEvent
One of SceAppMgrSystemEventType.
Definition appmgr.h:78
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:758
SceBool is_active
Non-zero while AppMgr considers the application activated.
Definition appmgr.h:695
int _sceAppMgrPspSaveDataRootMount(char mount_point[16])
Mount the PSP emulator savedata root.
int size
Must be 0x44.
Definition appmgr.h:97
SceUID sceAppMgrGetProcessIdByAppIdForShell(SceInt32 appId)
Get PID of an application for Shell.
SceUInt32 app_flags
Internal process flags copied from AppMgr's process context.
Definition appmgr.h:708
SceUInt32 save_data_param44
Value copied from the param.sfo PARAMS entry.
Definition appmgr.h:834
SceUInt32 prioritize_system_chat
Definition appmgr.h:630
int is_coredump_completed
Definition appmgr.h:569
struct SceAppMgrDrmOpenParam SceAppMgrDrmOpenParam
Definition appmgr.h:589
SceAppMgrEventType
Definition appmgr.h:45
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.
SceUInt32 storage_type
One of SceAppMgrSaveDataStorageType.
Definition appmgr.h:830
int sceAppMgrLoadExec(const char *appPath, char *const argv[], const SceAppMgrExecOptParam *optParam)
Load and start a SELF executable.
SceAppMgrLaunchAppByUri2Param SceAppMgrLaunchVideoStreamingAppOpt
Definition appmgr.h:940
char mount_drive[16]
Optional explicit source drive or randomized mount-drive identifier.
Definition appmgr.h:861
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:916
SceUInt32 reserved[5]
Ignored on FW 3.60.
Definition appmgr.h:779
SceAppMgrErrorCode
Definition appmgr.h:20
SceInt64 license_expiration_time
Effective license expiration time.
Definition appmgr.h:772
int _sceAppMgrGetBootParam(SceUInt32 selector, SceAppMgrBootParam *boot_param, const SceAppMgrGetBootParamOpt *opt)
Get boot parameters with a leading size field.
int sceAppMgrSetInfobarState(SceAppMgrInfoBarVisibility visibility, SceAppMgrInfoBarColor color, SceAppMgrInfoBarTransparency transparency)
Set infobar state.
uint8_t reserved2[0x40]
Definition appmgr.h:113
int sceAppMgrSaveDataSlotDelete(SceAppMgrSaveDataSlotDelete *data)
Delete a savedata slot.
SceUInt8 reserved72[2]
Set to 0 on FW 3.60.
Definition appmgr.h:707
int _sceAppMgrGetAppParam(SceAppMgrAppParam *app_param, const SceAppMgrGetAppParamOpt *opt)
Get the calling application's queued launch parameter.
SceSize app_name_size
FW 0.990 application-name size; ignored on FW 3.60.
Definition appmgr.h:807
int _sceAppMgrThemeDataMount(const char *content_id, const char *theme_path, const char *rif_path, const SceAppMgrThemeDataMountOpt *opt)
int sceAppMgrLaunchAppByName(int flags, const char *name, const char *param)
Start an Application by Title ID.
SceUInt32 launch_flags
Bitwise OR of SceAppMgrLaunchFlag values.
Definition appmgr.h:689
SceUInt reserved
Ignored on FW 3.60.
Definition appmgr.h:796
int _sceAppMgrGameDataMount(const char *app_path, const char *patch_path, const char *rif_path, const SceAppMgrGameDataMountOpt *opt)
int _sceAppMgrSetNetworkDisconnectionWarningDialogState(SceBool enable, const SceAppMgrNetworkDisconnectionWarningDialogStateOptParam *opt_param)
Enable or disable network-disconnection warning dialogs.
uint8_t reserved[116]
Reserved data.
Definition appmgr.h:111
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.
SceSize app_name_size
FW 0.990 application-name size; ignored on FW 3.60.
Definition appmgr.h:801
SceUInt8 reserved[0x68]
Reserved in the FW 3.60 state block.
Definition appmgr.h:636
int sceAppMgrDestroyAppByAppId(SceInt32 appId)
Destroy an application by Application ID.
int sceAppMgrAppParamGetString(int pid, int param, char *string, SceSize length)
Get application params from SFO descriptor.
int data_0x420
Definition appmgr.h:575
SceUInt32 system_impose_state
Definition appmgr.h:631
SceUInt8 process_launch_type
One of SceAppMgrProcessLaunchType.
Definition appmgr.h:705
int sceAppMgrAppDataMount(int id, const char *mount_point)
Mount application data.
SceSize app_status_size
FW 0.990 application-status size; ignored on FW 3.60.
Definition appmgr.h:878
SceInt32 sceAppMgrGetAppInfo(const char *app_name, SceAppMgrAppState *app_info)
Get whether an application is in AppMgr's started state.
int data_0x10
Definition appmgr.h:570
int _sceAppMgrAddContAddMount(const SceAppMgrGenericMountContext *mount_context, int force_mount_ux)
Mount additional content after validating its PFS keystone and passcode.
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:911
SceAppMgrInfoBarColor
Definition appmgr.h:61
int event
One of SceAppMgrEventType or SceAppMgrSystemEventType.
Definition appmgr.h:731
char app_name[32]
Definition appmgr.h:691
int _sceAppMgrGetNameById(ScePID process_id, char app_name[32], const SceAppMgrGetNameByIdOpt *opt)
Get the application name for a process ID.
SceUInt64 rif_data98
Raw 8-byte RIF field.
Definition appmgr.h:770
unsigned int free_phycont_mem
Free amount of accessible physically contiguous memory.
Definition appmgr.h:144
int _sceAppMgrWorkDirMount(int mount_id, char mount_point[16])
Mount a working-directory location selected by mount_id.
SceUInt32 reserved[3]
Ignored on FW 3.60.
Definition appmgr.h:841
SceAppUtilSaveDataMountPoint mountPoint
Savedata mountpoint.
Definition appmgr.h:103
SceSize string_size
Output-buffer capacity; the maximum value is 0x400.
Definition appmgr.h:871
SceUID app_id
Application ID; FW 3.60 writes -1 for received events.
Definition appmgr.h:732
SceUInt32 license_version
RIF license version.
Definition appmgr.h:765
int _sceAppMgrMmsMount(int mount_id, char mount_point[16])
Mount one of the PSP emulator MMS locations selected by IDs 400 through 402.
SceUInt8 key[0x10]
Decrypted Vita license key.
Definition appmgr.h:773
SceUInt8 info_bar_color
One of SceAppMgrInfoBarColor.
Definition appmgr.h:700
int sceAppMgrConvertVs0UserDrivePath(char *path, char *mount_point, int unk)
Convert vs0 path string to a new one usable by applications.
int size
Must be 0x418.
Definition appmgr.h:108
int fileNum
Number of files to save.
Definition appmgr.h:89
int sceAppMgrAppDataMountById(int id, const char *titleid, const char *mount_point)
Mount application data by Title ID.
SceUID app_launch_callback_id
Callback notified with the launched process ID, or -1.
Definition appmgr.h:742
int size
Must be 0x4C.
Definition appmgr.h:84
SceUInt32 reserved_4C
Internal launch-request value; its purpose is unknown.
Definition appmgr.h:703
SceUInt32 recommended_screen_orientation
One of SceAppMgrScreenOrientation.
Definition appmgr.h:709
int sceAppMgrGetRunningAppIdListForShell(SceInt32 *appIds, int count)
Get a list of running applications.
SceUID sceAppMgrLaunchAppByName2ForShell(const char *name, const char *param, SceAppMgrLaunchAppOptParam *optParam)
Start an application by Title ID for Shell.
int sceAppMgrWorkDirMount(int id, const char *mount_point)
Mount working directory.
SceUInt32 sku_flags
RIF SKU flags.
Definition appmgr.h:768
int _sceAppMgrTrophyMount(int mount_id, ScePID process_id, char mount_point[16])
Mount trophy data for process_id using mount ID 300 or 302.
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:784
int sceAppMgrPspSaveDataRootMount(const char *mount_point)
Mount PSPEmu virtual memory stick.
SceAppMgrProcessLaunchType
Values written to SceAppMgrAppStatus::process_launch_type on FW 3.60.
Definition appmgr.h:675
uint8_t reserved[60]
Reserved data.
Definition appmgr.h:79
SceAppUtilSaveDataSlotParam * slotParam
Save slot params.
Definition appmgr.h:99
int progress
Definition appmgr.h:568
SceAppUtilSaveDataMountPoint mountPoint
Savedata mountpoint.
Definition appmgr.h:112
int _sceAppMgrConvertVs0UserDrivePath(const char *path, char *converted_path, SceSize converted_path_size, const SceAppMgrConvertVs0UserDrivePathOpt *opt)
uint8_t reserved[32]
Reserved data.
Definition appmgr.h:100
int sceAppMgrGetBudgetInfo(SceAppMgrBudgetInfo *info)
Get memory budget info for a running system application.
SceUInt32 appEventNum
Definition appmgr.h:126
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 sceAppMgrSaveDataSlotSetParam(SceAppMgrSaveDataSlot *data)
Set current param of a savedata slot.
int _sceAppMgrGetRawPathOfApp0ByAppIdForShell(int app_id, char resolved_path[292])
SceUInt32 reserved08
Ignored on FW 3.60.
Definition appmgr.h:741
SceUInt32 reserved
Ignored on FW 3.60.
Definition appmgr.h:895
int process_state
Definition appmgr.h:567
SceAppUtilSaveDataFile * files
Pointer to an array of files.
Definition appmgr.h:88
int _sceAppMgrReceiveEvent(SceAppMgrEvent *app_event)
Receive one pending application event and remove it from the queue.
SceUInt32 audio_routing_state
Definition appmgr.h:633
SceUInt reserved04[2]
Set to 0 on FW 3.60.
Definition appmgr.h:723
SceUInt32 system_impose_state2
Definition appmgr.h:635
int _sceAppMgrTrophyMountById(int mount_id, const char *title_id, char mount_point[16], const SceAppMgrTrophyMountByIdOpt *opt)
Mount trophy data for another title.
SceAppUtilSaveDataMountPoint mountPoint
Savedata mountpoint.
Definition appmgr.h:90
SceAppMgrApplicationType
Definition appmgr.h:645
int reserved[9]
Reserved data.
Definition appmgr.h:148
SceSize boot_param_size
Number of leading bytes to copy to and from the boot-parameter buffer.
Definition appmgr.h:795
int app_mode
One of SceAppMgrApplicationMode.
Definition appmgr.h:134
SceUInt reserved_0C[8]
Left unchanged from the caller's input on FW 3.60.
Definition appmgr.h:724
SceAppMgrSystemEventType
Definition appmgr.h:35
SceUInt8 reserved[0x20]
Must be zero on FW 3.60.
Definition appmgr.h:748
int unk3[10]
Unknown Data.
Definition appmgr.h:145
SceUID pid
Definition appmgr.h:566
SceBool network_disconnection_warning_dialog_enabled
Definition appmgr.h:697
SceUInt64 account_id
License account ID.
Definition appmgr.h:769
int sceAppMgrSaveDataDataSave(SceAppMgrSaveDataData *data)
Save data on savedata0: partition.
unsigned int free_user_rw
Free amount of accessible USER_RW memory.
Definition appmgr.h:137
int sceAppMgrGetRawPathOfApp0ByAppIdForShell(int appId, char resolved_path[292])
Get the real/resolved path of app0: (where it's actually mounted)
int sceAppMgrGetCoredumpStateForShell(SceAppMgrCoredumpState *state)
Get current coredump state for shell.
SceBool is_running
Non-zero while the selected process is in AppMgr's started state.
Definition appmgr.h:591
int sceAppMgrUmount(const char *mount_point)
Unmount a mountpoint.
SceUInt32 reserved[4]
Ignored on FW 3.60.
Definition appmgr.h:931
ScePID parent_process_id
Process that submitted the launch request, or -1.
Definition appmgr.h:688
#define SCE_APP_MGR_MAX_EVENT_PARM_LENGTH
Definition appmgr.h:728
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.
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:889
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:884
int _sceAppMgrUpdateSaveDataParam(const char *path, const SceAppMgrUpdateSaveDataParamOpt *opt)
Update savedata param.sfo metadata at path.
SceUInt32 flags
Derived license flags returned by ksceNpDrmGetRifInfo.
Definition appmgr.h:767
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:944
SceUInt32 has_launch_param
Non-zero when launch parameters are available.
Definition appmgr.h:692
int sceAppMgrMmsMount(int id, const char *mount_point)
Mount application data (PSPEmu)
int sceAppMgrActivateApp(int app_id)
Activate an application.
int data_0x424
Definition appmgr.h:576
char param[SCE_APP_MGR_MAX_EVENT_PARM_LENGTH]
Event parameters; set to 0 on FW 3.60.
Definition appmgr.h:733
int sceAppMgrDestroyAppByName(const char *name)
Destroy an application by Title ID.
int sceAppMgrReceiveSystemEvent(SceAppMgrSystemEvent *systemEvent)
Receive system event.
int sceAppMgrGetNameById(SceUID pid, char *name)
Get Title ID by Process ID.
SceAppMgrInfoBarVisibility
Definition appmgr.h:56
int _sceAppMgrReceiveSystemEvent(SceAppMgrSystemEvent *system_event)
Receive one pending system event for the calling application and remove it from the queue.
unsigned int total_extra_mem
Total amount of accessible extra memory.
Definition appmgr.h:140
int sceAppMgrGetAppParam(char *param)
Copies app param to an array.
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:813
SceUInt8 info_bar_visibility
One of SceAppMgrInfoBarVisibility.
Definition appmgr.h:699
SceUInt32 reserved[2]
Ignored on FW 3.60.
Definition appmgr.h:906
SceUInt32 app_protection_mode_on_memory_shortage
Definition appmgr.h:690
SceInt32 sceAppMgrDrmOpen(const SceAppMgrDrmOpenParam *param)
int _sceAppMgrLoadSaveDataSystemFile(const char *path, void *param_sfo_buffer, SceSize buffer_size, const SceAppMgrLoadSaveDataSystemFileOpt *opt)
SceAppMgrScreenOrientation
Recommended physical device orientation, viewed from the screen side.
Definition appmgr.h:622
SceAppUtilSaveDataSlotParam slotParam
Save slot params.
Definition appmgr.h:110
SceSize size
Ignored on FW 3.60.
Definition appmgr.h:738
int sceAppMgrGameDataMount(const char *app_path, const char *patch_path, const char *rif_path, char *mount_point)
Mount game data.
char data[0x400]
Definition appmgr.h:641
SceBool recommended_screen_orientation_activated
Definition appmgr.h:710
SceBool is_mounted
Non-zero when the save data is mounted.
Definition appmgr.h:831
SceSize param_size
Number of bytes to copy from SceAppMgrPhotoMountParam; maximum value is 0x84.
Definition appmgr.h:894
SceSize app_param_size
FW 0.990 application-parameter size; ignored on FW 3.60.
Definition appmgr.h:789
SceInt64 license_start_time
Effective license start time.
Definition appmgr.h:771
@ SCE_APPMGR_APP_PARAM_SHORT_TITLE
Localized short title; requires at least 0x34 output bytes.
Definition appmgr.h:657
@ SCE_APPMGR_APP_PARAM_TITLE
Localized title; requires at least 0x80 output bytes.
Definition appmgr.h:656
@ SCE_APPMGR_APP_PARAM_CONTENT_ID
Content ID; requires at least 0x30 output bytes.
Definition appmgr.h:653
@ SCE_APPMGR_APP_PARAM_TITLE_ID
Title ID; requires at least 10 output bytes.
Definition appmgr.h:658
@ SCE_APPMGR_APP_PARAM_CATEGORY
Application category; requires at least 4 output bytes.
Definition appmgr.h:655
@ SCE_APPMGR_APP_PARAM_TITLE_OVERRIDE
Override for this process; falls back to SCE_APPMGR_APP_PARAM_TITLE.
Definition appmgr.h:661
@ SCE_APPMGR_APP_PARAM_APP_PATH
Executable path; requires system permission and at least 0x124 output bytes.
Definition appmgr.h:659
@ SCE_APPMGR_APP_PARAM_CONTENT_ID_OVERRIDE
Override for this process; falls back to SCE_APPMGR_APP_PARAM_CONTENT_ID.
Definition appmgr.h:660
@ SCE_APPMGR_APP_PARAM_NP_COMMUNICATION_ID
NP communication ID; requires at least 0xD output bytes.
Definition appmgr.h:654
@ SCE_APPMGR_APPLICATION_MODE_B
Application with physically contiguous memory access.
Definition appmgr.h:73
@ SCE_APPMGR_APPLICATION_MODE_C
Application with physically contiguous memory and extra memory access.
Definition appmgr.h:74
@ SCE_APPMGR_APPLICATION_MODE_A
Application without physically contiguous memory access.
Definition appmgr.h:72
@ SCE_APPMGR_INFOBAR_TRANSPARENCY_OPAQUE
Definition appmgr.h:67
@ SCE_APPMGR_INFOBAR_TRANSPARENCY_TRANSLUCENT
Definition appmgr.h:68
@ SCE_APPMGR_USER_DIR_PARTITION_UX0
Definition appmgr.h:826
@ SCE_APPMGR_USER_DIR_PARTITION_UR0
Definition appmgr.h:825
@ SCE_APPMGR_SAVE_DATA_STORAGE_USER
Definition appmgr.h:821
@ SCE_APPMGR_SAVE_DATA_STORAGE_OTHER
Definition appmgr.h:818
@ SCE_APPMGR_SAVE_DATA_STORAGE_SYSTEM
Definition appmgr.h:819
@ SCE_APPMGR_SAVE_DATA_STORAGE_GAME_CARD
Definition appmgr.h:820
@ SCE_APPMGR_LAUNCH_FLAG_LIVEAREA_OFF
Launch without activating LiveArea.
Definition appmgr.h:668
@ SCE_APPMGR_LAUNCH_FLAG_EXIT_TO
Enable exit-to behavior.
Definition appmgr.h:670
@ SCE_APPMGR_LAUNCH_FLAG_ALLOW_EMPTY_TARGET
Permit an empty launch target.
Definition appmgr.h:671
@ SCE_APPMGR_LAUNCH_FLAG_DEBUG_CALLBACK
Set up AppMgr's debug semaphore and callback.
Definition appmgr.h:669
@ SCE_APP_EVENT_LIVEBOARD_MODE_1
Queued by sceAppMgrSendLiveBoardMode with mode 1.
Definition appmgr.h:50
@ SCE_APP_EVENT_PARAM_NOTIFY
Definition appmgr.h:52
@ SCE_APP_EVENT_RECOMMENDED_ORIENTATION_CHANGED
Definition appmgr.h:53
@ SCE_APP_EVENT_ON_ACTIVATE
Definition appmgr.h:46
@ SCE_APP_EVENT_LIVEBOARD_MODE_0
Queued by sceAppMgrSendLiveBoardMode with mode 0.
Definition appmgr.h:49
@ SCE_APP_EVENT_REQUEST_QUIT
Definition appmgr.h:51
@ SCE_APP_EVENT_ON_DEACTIVATE
Definition appmgr.h:47
@ SCE_APP_EVENT_ON_RESUME
Definition appmgr.h:48
@ SCE_APPMGR_ERROR_TOO_LONG_ARGV
argv is too long
Definition appmgr.h:29
@ SCE_APPMGR_ERROR_INVALID_PARAM_SFO
Definition appmgr.h:21
@ SCE_APPMGR_ERROR_NULL_POINTER
NULL pointer.
Definition appmgr.h:27
@ SCE_APPMGR_ERROR_NOT_FOUND
Application or process not found.
Definition appmgr.h:25
@ SCE_APPMGR_ERROR_BGM_PORT_BUSY
BGM port was occupied and could not be secured.
Definition appmgr.h:32
@ SCE_APPMGR_ERROR_BUSY
Busy.
Definition appmgr.h:22
@ SCE_APPMGR_ERROR_NOEXEC
The process is not authorized to run this function.
Definition appmgr.h:31
@ SCE_APPMGR_ERROR_PARAM
Invalid parameter.
Definition appmgr.h:24
@ SCE_APPMGR_ERROR_INVALID
Invalid param.
Definition appmgr.h:28
@ SCE_APPMGR_ERROR_INTERNAL
Internal error.
Definition appmgr.h:23
@ SCE_APPMGR_ERROR_INVALID_SELF_PATH
Invalid SELF path.
Definition appmgr.h:30
@ SCE_APPMGR_ERROR_STATE
Invalid state.
Definition appmgr.h:26
@ SCE_APPMGR_INFOBAR_COLOR_WHITE
Definition appmgr.h:63
@ SCE_APPMGR_INFOBAR_COLOR_BLACK
Definition appmgr.h:62
@ SCE_APPMGR_PROCESS_LAUNCH_TYPE_KERNEL_PATH
Launch through ksceAppMgrLaunchAppByPath; represented as NPXS10999 by SceShell.
Definition appmgr.h:678
@ SCE_APPMGR_PROCESS_LAUNCH_TYPE_PATH4
Launch through sceAppMgrLaunchAppByPath4; represented as NPXS10998 by SceShell.
Definition appmgr.h:677
@ SCE_APPMGR_PROCESS_LAUNCH_TYPE_NORMAL
Normal title or URI launch.
Definition appmgr.h:676
@ SCE_APPMGR_APPLICATION_TYPE_MINI_APPLICATION
Definition appmgr.h:646
@ SCE_APPMGR_APPLICATION_TYPE_SYSTEM_APPLICATION
Definition appmgr.h:648
@ SCE_APPMGR_APPLICATION_TYPE_GAME
Definition appmgr.h:647
@ SCE_APPMGR_SYSTEMEVENT_ON_RESUME
Definition appmgr.h:38
@ SCE_APPMGR_SYSTEMEVENT_ON_STORE_PURCHASE
Definition appmgr.h:39
@ SCE_APPMGR_SYSTEMEVENT_ON_NP_MESSAGE_ARRIVED
Definition appmgr.h:40
@ SCE_APPMGR_SYSTEMEVENT_ON_STORE_REDEMPTION
Definition appmgr.h:41
@ SCE_APPMGR_SYSTEMEVENT_ON_DEACTIVATE
Definition appmgr.h:37
@ SCE_APPMGR_SYSTEMEVENT_ON_ACTIVATE
Definition appmgr.h:36
@ SCE_APPMGR_SYSTEMEVENT_REQUEST_QUIT
Definition appmgr.h:42
@ SCE_APPMGR_INFOBAR_VISIBILITY_VISIBLE
Definition appmgr.h:58
@ SCE_APPMGR_INFOBAR_VISIBILITY_INVISIBLE
Definition appmgr.h:57
@ SCE_APPMGR_SCREEN_ORIENTATION_PORTRAIT
Clockwise quarter-turn; right edge down (-X).
Definition appmgr.h:625
@ SCE_APPMGR_SCREEN_ORIENTATION_LANDSCAPE
Upright landscape (+Y).
Definition appmgr.h:623
@ SCE_APPMGR_SCREEN_ORIENTATION_LANDSCAPE_REVERSED
Upside-down landscape (-Y).
Definition appmgr.h:624
@ SCE_APPMGR_SCREEN_ORIENTATION_PORTRAIT_REVERSED
Counterclockwise quarter-turn; left edge down (+X).
Definition appmgr.h:626
Application status returned by the raw status functions.
Definition appmgr.h:687
Application boot parameters.
Definition appmgr.h:721
Game-data RIF information returned by _sceAppMgrCheckRifGD.
Definition appmgr.h:763
Option structure for FW 0.990 only; not accepted on FW 3.60.
Definition appmgr.h:846
uint32_t length
Definition bt.h:7
uint16_t version
Definition kbl.h:0
char titleid[0xC]
Title id of the process where the event occurred.
Definition debug.h:4
int flags
Event flags.
Definition debug.h:3
SceUID pid
Definition debug.h:1
int ScePID
Process ID.
Definition types.h:91
int SceBool
Definition types.h:59
int32_t SceInt32
Definition types.h:44
unsigned int SceSize
Definition types.h:56
uint32_t SceUInt
Definition types.h:48
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90
int64_t SceInt64
Definition types.h:50
uint64_t SceUInt64
Definition types.h:51
uint32_t SceUInt32
Definition types.h:45
uint8_t SceUInt8
Definition types.h:36