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:

SceSblACMgrForDriver_stub



Functions

int ksceSblACMgrIsRootProgram (SceUID pid)
 Get process type state. More...
 
int ksceSblACMgrIsSystemProgram (SceUID pid)
 Get process type state. More...
 
int ksceSblACMgrIsGameProgram (SceUID pid)
 Get process type state. More...
 
int ksceSblACMgrIsNonGameProgram (SceUID pid)
 Get process type state. More...
 
int ksceSblACMgrIsPspEmu (SceUID pid)
 Get process type state. More...
 
int ksceSblACMgrIsSceShell (SceUID pid)
 Get process type state. More...
 
int ksceSblACMgrIsFself (SceUID pid)
 Get process type state. More...
 
int ksceSblACMgrGetProcessProgramAuthId (SceUID pid, SceUInt64 *authid)
 Get process authority id. More...
 
int ksceSblACMgrGetMediaType (const char *path, SceUInt32 *media_type)
 Get media type for input path. More...
 
int ksceSblACMgrIsDevelopmentMode (void)
 Get development mode state. More...
 

Macros

#define ksceSblACMgrIsSystem(pid)   ksceSblACMgrIsRootProgram(pid)
 
#define ksceSblACMgrIsShell(pid)   ksceSblACMgrIsSystemProgram(pid)
 

Macro Definition Documentation

◆ ksceSblACMgrIsSystem

#define ksceSblACMgrIsSystem (   pid)    ksceSblACMgrIsRootProgram(pid)

◆ ksceSblACMgrIsShell

#define ksceSblACMgrIsShell (   pid)    ksceSblACMgrIsSystemProgram(pid)

Function Documentation

◆ ksceSblACMgrIsRootProgram()

int ksceSblACMgrIsRootProgram ( SceUID  pid)

Get process type state.

Parameters
[in]pid- The target process id
Returns
If root mode process, 1. else 0.

◆ ksceSblACMgrIsSystemProgram()

int ksceSblACMgrIsSystemProgram ( SceUID  pid)

Get process type state.

Parameters
[in]pid- The target process id
Returns
If system mode process, 1. else 0.

◆ ksceSblACMgrIsGameProgram()

int ksceSblACMgrIsGameProgram ( SceUID  pid)

Get process type state.

Parameters
[in]pid- The target process id
Returns
If game mode process, 1. else 0.

◆ ksceSblACMgrIsNonGameProgram()

int ksceSblACMgrIsNonGameProgram ( SceUID  pid)

Get process type state.

Parameters
[in]pid- The target process id
Returns
If non game mode process, 1. else 0.

◆ ksceSblACMgrIsPspEmu()

int ksceSblACMgrIsPspEmu ( SceUID  pid)

Get process type state.

Parameters
[in]pid- The target process id
Returns
If pspemu process, 1. else 0.

◆ ksceSblACMgrIsSceShell()

int ksceSblACMgrIsSceShell ( SceUID  pid)

Get process type state.

Parameters
[in]pid- The target process id
Returns
If SceShell process(authid:0x2800000000000001), 1. else 0.

◆ ksceSblACMgrIsFself()

int ksceSblACMgrIsFself ( SceUID  pid)

Get process type state.

Parameters
[in]pid- The target process id
Returns
If fake self process, 1. else 0.

◆ ksceSblACMgrGetProcessProgramAuthId()

int ksceSblACMgrGetProcessProgramAuthId ( SceUID  pid,
SceUInt64 authid 
)

Get process authority id.

Parameters
[in]pid- The target process id
[out]authid- The authid output pointer
Returns
0 on success, < 0 on error.

◆ ksceSblACMgrGetMediaType()

int ksceSblACMgrGetMediaType ( const char *  path,
SceUInt32 media_type 
)

Get media type for input path.

Parameters
[in]path- The target path
[out]media_type- The media type output pointer
Returns
0 on success, < 0 on error.

◆ ksceSblACMgrIsDevelopmentMode()

int ksceSblACMgrIsDevelopmentMode ( void  )

Get development mode state.

Returns
If development mode, 1. else 0.