summaryrefslogtreecommitdiff
path: root/Source/Library/Interface/Process.iface.h
blob: cdd6e47687a1732e0dee9c322450d5057cd090a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef DEF_PROCESS_IFACE_H
#define DEF_PROCESS_IFACE_H

#define E_AUTODELETE 0x0FFFFF03

#define PRIF_OBJTYPE 0x20

//S = static, GET = get, C = current, PR = process
#define PRIF_SGETCPR 0
#define PRIF_SRUN 1
#define PRIF_SWAIT 2

#define PRIF_EXIT 0x01
#define PRIF_ALLOCPAGE 0x02
#define PRIF_FREEPAGE 0x03
#define PRIF_GETPID 0x04
#define PRIF_GETPPID 0x05

#define PRIF_ARGC 0x10
#define PRIF_ARGV 0x11

#define PRIF_START 0x20
#define PRIF_AUTODELETE 0x21
#define PRIF_PUSHARG 0x28
#define PRIF_SETOUTVT 0x29
#define PRIF_SETINVT 0x30

//Authenticate with password/without password (being in group root)
#define PRIF_AUTHPW 0x40
#define PRIF_AUTHNOPW 0x41

#endif