libnx
pm.h
Go to the documentation of this file.
1 /**
2  * @file pm.h
3  * @brief Process management (pm*) service IPC wrapper.
4  * @author plutoo
5  * @author yellows8
6  * @copyright libnx Authors
7  */
8 #pragma once
9 #include "../types.h"
10 
11 Result pmdmntInitialize(void);
12 void pmdmntExit(void);
13 
14 Result pmshellInitialize(void);
15 void pmshellExit(void);
16 
17 Result pmdmntStartProcess(u64 pid);
18 Result pmdmntGetTitlePid(u64* pid_out, u64 title_id);
19 Result pmdmntEnableDebugForTitleId(Handle* handle_out, u64 title_id);
20 Result pmdmntGetApplicationPid(u64* pid_out);
21 Result pmdmntEnableDebugForApplication(Handle* handle_out);
22 
23 Result pmshellLaunchProcess(u32 launch_flags, u64 titleID, u64 storageID, u64 *pid);
u32 Handle
Kernel object handle.
Definition: types.h:45
u32 Result
Function error code result type.
Definition: types.h:46
uint64_t u64
64-bit unsigned integer.
Definition: types.h:24
uint32_t u32
32-bit unsigned integer.
Definition: types.h:23