2019-07-18 03:04:00 +00:00
|
|
|
/**
|
|
|
|
* @file pm_ams.h
|
|
|
|
* @brief Process Manager (pm:*) IPC wrapper for Atmosphere extensions.
|
|
|
|
* @author SciresM
|
|
|
|
* @copyright libnx Authors
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <switch.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
Result pminfoAtmosphereGetProcessId(u64 *out_pid, u64 tid);
|
|
|
|
Result pminfoAtmosphereHasLaunchedTitle(bool *out, u64 tid);
|
|
|
|
|
2019-09-16 08:22:08 +00:00
|
|
|
Result pmdmntAtmosphereGetProcessInfo(Handle *out, u64 *tid_out, u8 *sid_out, u64 pid);
|
|
|
|
Result pmdmntAtmosphereGetCurrentLimitInfo(u64 *out_cur, u64 *out_lim, u32 group, u32 resource);
|
|
|
|
|
2019-07-18 03:04:00 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|