Files
vitasdk-odin/ShellSvc/ShellSvc.odin
T

50 lines
1.1 KiB
Odin
Raw Normal View History

2024-05-11 23:24:13 +02:00
package shellsvc
import "core:c"
foreign import shellsvc "system:SceShellSvc_stub"
foreign shellsvc {
/**
* Init events
*
* @param[in] unk - Unknown, use 0
*
* @return 0 on success, < 0 on error.
*/
2024-05-13 16:04:23 +02:00
sceShellUtilInitEvents :: proc(unk: c.int) -> c.int ---
2024-05-11 23:24:13 +02:00
/**
* Register event handler
*
* @param[in] handler - Event handler
*
* @param[in] userData - The user data passed to the handler
*
* @return 0 on success, < 0 on error.
*/
2024-05-13 16:04:23 +02:00
sceShellUtilRegisterEventHandler :: proc(handler: ^SceShellUtilEventHandler, userData: rawptr) -> c.int ---
2024-05-11 23:24:13 +02:00
/**
* Lock event
*
* @param[in] type - One of ::SceShellUtilLockType
*
* @return 0 on success, < 0 on error.
*/
2024-05-13 16:04:23 +02:00
sceShellUtilLock :: proc(type: SceShellUtilLockType) -> c.int ---
2024-05-11 23:24:13 +02:00
/**
* Unlock event
*
* @param[in] type - One of ::SceShellUtilLockType
*
* @return 0 on success, < 0 on error.
*/
2024-05-13 16:04:23 +02:00
sceShellUtilUnlock :: proc(type: SceShellUtilLockType) -> c.int ---
2024-05-11 23:24:13 +02:00
2024-05-13 16:04:23 +02:00
sceShellUtilRequestLaunchApp :: proc(param: ^SceShellUtilLaunchAppParam) -> c.int ---
sceShellUtilLaunchAppRequestLaunchApp :: proc(param: ^SceShellUtilLaunchAppParam) -> c.int ---
2024-05-11 23:24:13 +02:00
}