diff options
author | Princess of Sleeping | 2020-11-06 11:08:44 +0900 |
---|---|---|
committer | Reiko Asakura | 2020-11-06 11:08:44 +0900 |
commit | 15da0ea28dfaf0f0b90becc15bb05ffd04cccb0b (patch) | |
tree | 97f14ea06d21a47f882054ab6e65d5bd1a63d3dc | |
parent | Add functions in SceDebugFor{Driver,Kernel} (diff) | |
download | vds-libraries-15da0ea28dfaf0f0b90becc15bb05ffd04cccb0b.tar.gz |
Add prototypes and docs in kernel/sblacmgr.h
-rw-r--r-- | include/kernel/sblacmgr.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/include/kernel/sblacmgr.h b/include/kernel/sblacmgr.h index 982ccfa..115832a 100644 --- a/include/kernel/sblacmgr.h +++ b/include/kernel/sblacmgr.h @@ -11,10 +11,84 @@ extern "C" { #endif +/** + * @brief Get process type state + * + * @param[in] pid - The target process id + * + * @return If root mode process, 1. else 0. + */ +int sceSblACMgrIsRootProgram(SceUID pid); + +/** + * @brief Get process type state + * + * @param[in] pid - The target process id + * + * @return If system mode process, 1. else 0. + */ int sceSblACMgrIsSystemProgram(SceUID pid); + +/** + * @brief Get process type state + * + * @param[in] pid - The target process id + * + * @return If pspemu process, 1. else 0. + */ int sceSblACMgrIsPspEmu(SceUID pid); + +/** + * @brief Get process type state + * + * @param[in] pid - The target process id + * + * @return If game mode process, 1. else 0. + */ int sceSblACMgrIsGameProgram(SceUID pid); + +/** + * @brief Get process type state + * + * @param[in] pid - The target process id + * + * @return If non game mode process, 1. else 0. + */ int sceSblACMgrIsNonGameProgram(SceUID pid); + +/** + * @brief Get process type state + * + * @param[in] pid - The target process id + * + * @return If SceShell process(authid:0x2800000000000001), 1. else 0. + */ +int sceSblACMgrIsSceShell(SceUID pid); + +/** + * @brief Get process type state + * + * @param[in] pid - The target process id + * + * @return If fake self process, 1. else 0. + */ +int sceSblACMgrIsFself(SceUID pid); + +/** + * @brief Get process authority id + * + * @param[in] pid - The target process id + * @param[out] authid - The authid output pointer + * + * @return 0 on success, < 0 on error. + */ +int sceSblACMgrGetProcessProgramAuthId(SceUID pid, SceUInt64 *authid); + +/** + * @brief Get development mode state + * + * @return If development mode, 1. else 0. + */ int sceSblACMgrIsDevelopmentMode(void); #ifdef __cplusplus |