mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-15 08:26:56 +00:00
22 lines
No EOL
572 B
C
22 lines
No EOL
572 B
C
/**
|
|
* @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 program_id);
|
|
Result pminfoAtmosphereHasLaunchedProgram(bool *out, u64 program_id);
|
|
|
|
Result pmdmntAtmosphereGetProcessInfo(Handle *out, NcmProgramLocation *loc_out, u64 pid);
|
|
Result pmdmntAtmosphereGetCurrentLimitInfo(u64 *out_cur, u64 *out_lim, u32 group, u32 resource);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |