vitasdk
Documentation of the vitasdk
apputil.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  SceAppUtilBgdlStatus
 
struct  SceAppUtilInitParam
 
struct  SceAppUtilBootParam
 
struct  SceAppUtilSaveDataMountPoint
 
struct  SceAppUtilAppEventParam
 
struct  SceAppUtilMountPoint
 
struct  SceAppUtilSaveDataSlotEmptyParam
 
struct  SceAppUtilSaveDataSlot
 
struct  SceAppUtilSaveDataSlotParam
 
struct  SceAppUtilSaveDataSaveItem
 
struct  SceAppUtilSaveDataFile
 
struct  SceAppUtilSaveDataFileSlot
 
struct  SceAppUtilSaveDataRemoveItem
 
struct  SceAppUtilStoreBrowseParam
 
struct  SceAppUtilWebBrowserParam
 

Typedefs

typedef unsigned int SceAppUtilBootAttribute
 
typedef unsigned int SceAppUtilAppEventType
 
typedef unsigned int SceAppUtilSaveDataSlotId
 
typedef unsigned int SceAppUtilSaveDataSlotStatus
 
typedef unsigned int SceAppUtilAppParamId
 
typedef unsigned int SceAppUtilBgdlStatusType
 

Enumerations

enum  SceAppUtilSaveDataDataRemoveMode { SCE_APPUTIL_SAVEDATA_DATA_REMOVE_MODE_DEFAULT = 0 , SCE_APPUTIL_SAVEDATA_DATA_REMOVE_MODE_NO_SLOT = 1 }
 
enum  SceAppUtilSaveDataDataSaveMode { SCE_APPUTIL_SAVEDATA_DATA_SAVE_MODE_FILE = 0 , SCE_APPUTIL_SAVEDATA_DATA_SAVE_MODE_DIRECTORY = 2 }
 
enum  SceAppUtilErrorCode {
  SCE_APPUTIL_ERROR_PARAMETER = 0x80100600 , SCE_APPUTIL_ERROR_NOT_INITIALIZED = 0x80100601 , SCE_APPUTIL_ERROR_NO_MEMORY = 0x80100602 , SCE_APPUTIL_ERROR_BUSY = 0x80100603 ,
  SCE_APPUTIL_ERROR_NOT_MOUNTED = 0x80100604 , SCE_APPUTIL_ERROR_NO_PERMISSION = 0x80100605 , SCE_APPUTIL_ERROR_PASSCODE_MISMATCH = 0x80100606 , SCE_APPUTIL_ERROR_APPEVENT_PARSE_INVALID_DATA = 0x80100620 ,
  SCE_APPUTIL_ERROR_SAVEDATA_SLOT_EXISTS = 0x80100640 , SCE_APPUTIL_ERROR_SAVEDATA_SLOT_NOT_FOUND = 0x80100641 , SCE_APPUTIL_ERROR_SAVEDATA_NO_SPACE_QUOTA = 0x80100642 , SCE_APPUTIL_ERROR_SAVEDATA_NO_SPACE_FS = 0x80100643 ,
  SCE_APPUTIL_ERROR_DRM_NO_ENTITLEMENT = 0x80100660 , SCE_APPUTIL_ERROR_PHOTO_DEVICE_NOT_FOUND = 0x80100680 , SCE_APPUTIL_ERROR_MUSIC_DEVICE_NOT_FOUND = 0x80100685 , SCE_APPUTIL_ERROR_MOUNT_LIMIT_OVER = 0x80100686 ,
  SCE_APPUTIL_ERROR_STACKSIZE_TOO_SHORT = 0x801006A0
}
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x2C, SceAppUtilBgdlStatus)
 
 VITASDK_BUILD_ASSERT_EQ (0x40, SceAppUtilInitParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x28, SceAppUtilBootParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceAppUtilSaveDataMountPoint)
 
 VITASDK_BUILD_ASSERT_EQ (0x404, SceAppUtilAppEventParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceAppUtilMountPoint)
 
 VITASDK_BUILD_ASSERT_EQ (0x30, SceAppUtilSaveDataSlotEmptyParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceAppUtilSaveDataSlot)
 
 VITASDK_BUILD_ASSERT_EQ (0x34C, SceAppUtilSaveDataSlotParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x40, SceAppUtilSaveDataSaveItem)
 
 VITASDK_BUILD_ASSERT_EQ (0x40, SceAppUtilSaveDataFile)
 
 VITASDK_BUILD_ASSERT_EQ (0x28, SceAppUtilSaveDataFileSlot)
 
 VITASDK_BUILD_ASSERT_EQ (0x2C, SceAppUtilSaveDataRemoveItem)
 
 VITASDK_BUILD_ASSERT_EQ (8, SceAppUtilStoreBrowseParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, SceAppUtilWebBrowserParam)
 
int sceAppUtilInit (SceAppUtilInitParam *initParam, SceAppUtilBootParam *bootParam)
 Initializes the AppUtil library. More...
 
int sceAppUtilShutdown ()
 Shutdown AppUtil library. More...
 
int sceAppUtilReceiveAppEvent (SceAppUtilAppEventParam *eventParam)
 Receive app event. More...
 
int sceAppUtilAppEventParseLiveArea (const SceAppUtilAppEventParam *eventParam, char *buffer)
 Parse received app event from LiveArea. More...
 
int sceAppUtilSaveDataSlotCreate (unsigned int slotId, SceAppUtilSaveDataSlotParam *param, SceAppUtilSaveDataMountPoint *mountPoint)
 Create savedata slot. More...
 
int sceAppUtilSaveDataSlotDelete (unsigned int slotId, SceAppUtilSaveDataMountPoint *mountPoint)
 Delete savedata slot. More...
 
int sceAppUtilSaveDataSlotSetParam (unsigned int slotId, SceAppUtilSaveDataSlotParam *param, SceAppUtilSaveDataMountPoint *mountPoint)
 Set savedata slot param. More...
 
int sceAppUtilSaveDataSlotGetParam (unsigned int slotId, SceAppUtilSaveDataSlotParam *param, SceAppUtilSaveDataMountPoint *mountPoint)
 Get savedata slot param. More...
 
int sceAppUtilSaveDataDataSave (SceAppUtilSaveDataFileSlot *slot, SceAppUtilSaveDataFile *files, unsigned int fileNum, SceAppUtilSaveDataMountPoint *mountPoint, SceSize *requiredSizeKB)
 Delete savedata files. More...
 
int sceAppUtilSaveDataDataRemove (SceAppUtilSaveDataFileSlot *slot, SceAppUtilSaveDataRemoveItem *files, unsigned int fileNum, SceAppUtilSaveDataMountPoint *mountPoint)
 
int sceAppUtilMusicMount ()
 Mount music data. More...
 
int sceAppUtilMusicUmount ()
 Unmount music data. More...
 
int sceAppUtilPhotoMount ()
 Mount photo data. More...
 
int sceAppUtilPhotoUmount ()
 Unmount photo data. More...
 
int sceAppUtilCacheMount ()
 Mount cache data. More...
 
int sceAppUtilCacheUmount ()
 Unmount cache data. More...
 
int sceAppUtilSystemParamGetInt (unsigned int paramId, int *value)
 Get system parameters for int type. More...
 
int sceAppUtilSystemParamGetString (unsigned int paramId, SceChar8 *buf, SceSize bufSize)
 Get application parameters for string type. More...
 
int sceAppUtilAppParamGetInt (SceAppUtilAppParamId paramId, int *value)
 Get application parameters for int type. More...
 
int sceAppUtilSaveSafeMemory (void *buf, SceSize bufSize, SceOff offset)
 Save safe memory. More...
 
int sceAppUtilLoadSafeMemory (void *buf, SceSize bufSize, SceOff offset)
 Load safe memory. More...
 
int sceAppUtilStoreBrowse (SceAppUtilStoreBrowseParam *param)
 Launch PSN Store. More...
 
int sceAppUtilBgdlGetStatus (SceAppUtilBgdlStatus *stat)
 Get background download status. More...
 
int sceAppUtilLaunchWebBrowser (SceAppUtilWebBrowserParam *param)
 Launch web browser app. More...