vitasdk
Documentation of the vitasdk

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceShellSvc_stub



Functions

int sceShellUtilInitEvents (int unk)
 Init events. More...
 
int sceShellUtilRegisterEventHandler (SceShellUtilEventHandler *handler, void *userData)
 Register event handler. More...
 
int sceShellUtilLock (SceShellUtilLockType type)
 Lock event. More...
 
int sceShellUtilUnlock (SceShellUtilLockType type)
 Unlock event. More...
 
 VITASDK_BUILD_ASSERT_EQ (4, SceShellUtilLaunchAppParam)
 
int sceShellUtilRequestLaunchApp (SceShellUtilLaunchAppParam *param)
 
int sceShellUtilLaunchAppRequestLaunchApp (SceShellUtilLaunchAppParam *param)
 

Typedefs

typedef void() SceShellUtilEventHandler(int result, SceShellUtilLockMode mode, SceShellUtilLockType type, void *userData)
 

Data Structure Documentation

◆ SceShellUtilLaunchAppParam

struct SceShellUtilLaunchAppParam
Data Fields
const char * cmd

Typedef Documentation

◆ SceShellUtilEventHandler

typedef void() SceShellUtilEventHandler(int result, SceShellUtilLockMode mode, SceShellUtilLockType type, void *userData)

Enumeration Type Documentation

◆ SceShellUtilLockType

Enumerator
SCE_SHELL_UTIL_LOCK_TYPE_PS_BTN 
SCE_SHELL_UTIL_LOCK_TYPE_QUICK_MENU 
SCE_SHELL_UTIL_LOCK_TYPE_POWEROFF_MENU 
SCE_SHELL_UTIL_LOCK_TYPE_UNK8 
SCE_SHELL_UTIL_LOCK_TYPE_USB_CONNECTION 
SCE_SHELL_UTIL_LOCK_TYPE_MC_INSERTED 
SCE_SHELL_UTIL_LOCK_TYPE_MC_REMOVED 
SCE_SHELL_UTIL_LOCK_TYPE_UNK80 
SCE_SHELL_UTIL_LOCK_TYPE_UNK100 
SCE_SHELL_UTIL_LOCK_TYPE_UNK200 
SCE_SHELL_UTIL_LOCK_TYPE_MUSIC_PLAYER 
SCE_SHELL_UTIL_LOCK_TYPE_PS_BTN_2 

◆ SceShellUtilLockMode

Enumerator
SCE_SHELL_UTIL_LOCK_MODE_LOCK 
SCE_SHELL_UTIL_LOCK_MODE_UNLOCK 

Function Documentation

◆ sceShellUtilInitEvents()

int sceShellUtilInitEvents ( int  unk)

Init events.

Parameters
[in]unk- Unknown, use 0
Returns
0 on success, < 0 on error.

◆ sceShellUtilRegisterEventHandler()

int sceShellUtilRegisterEventHandler ( SceShellUtilEventHandler handler,
void *  userData 
)

Register event handler.

Parameters
[in]handler- Event handler
[in]userData- The user data passed to the handler
Returns
0 on success, < 0 on error.

◆ sceShellUtilLock()

int sceShellUtilLock ( SceShellUtilLockType  type)

Lock event.

Parameters
[in]type- One of SceShellUtilLockType
Returns
0 on success, < 0 on error.

◆ sceShellUtilUnlock()

int sceShellUtilUnlock ( SceShellUtilLockType  type)

Unlock event.

Parameters
[in]type- One of SceShellUtilLockType
Returns
0 on success, < 0 on error.

◆ VITASDK_BUILD_ASSERT_EQ()

VITASDK_BUILD_ASSERT_EQ ( ,
SceShellUtilLaunchAppParam   
)

◆ sceShellUtilRequestLaunchApp()

int sceShellUtilRequestLaunchApp ( SceShellUtilLaunchAppParam param)

◆ sceShellUtilLaunchAppRequestLaunchApp()

int sceShellUtilLaunchAppRequestLaunchApp ( SceShellUtilLaunchAppParam param)