vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceAppMgrForDriver_stub



Functions

int ksceAppMgrKillProcess (SceUID pid)
 Kill a process. More...
 
 VITASDK_BUILD_ASSERT_EQ (0x34, SceAppMgrLaunchParam)
 
int ksceAppMgrLaunchAppByPath (const char *path, const char *args, SceSize arg_size, unsigned int type, const SceAppMgrLaunchParam *param, void *unk)
 Launch an application for debugging. More...
 

Data Structure Documentation

◆ SceAppMgrLaunchParam

struct SceAppMgrLaunchParam
Data Fields
SceSize size
unsigned int unk_4
unsigned int unk_8
unsigned int unk_C
unsigned int unk_10
unsigned int unk_14
unsigned int unk_18
unsigned int unk_1C
unsigned int unk_20
unsigned int unk_24
unsigned int unk_28
unsigned int unk_2C
unsigned int unk_30

Function Documentation

◆ ksceAppMgrKillProcess()

int ksceAppMgrKillProcess ( SceUID  pid)

Kill a process.

Parameters
[in]pidThe process to kill.
Returns
Zero on success, else < 0.

◆ VITASDK_BUILD_ASSERT_EQ()

VITASDK_BUILD_ASSERT_EQ ( 0x34  ,
SceAppMgrLaunchParam   
)

◆ ksceAppMgrLaunchAppByPath()

int ksceAppMgrLaunchAppByPath ( const char *  path,
const char *  args,
SceSize  arg_size,
unsigned int  type,
const SceAppMgrLaunchParam param,
void *  unk 
)

Launch an application for debugging.

Parameters
[in]pathPath to the executable to load
[in]argsArguments to pass to the executable and to configure appmgr
[in]arg_sizeThe size of the args passed in
[in]typeSet to 0x80000000 for debugging launch
[in]parampointer to launch params
unkunknown, set to nullptr
Returns
pid on success, else < 0.