Process Hacker
ntpsapi.h File Reference
#include <ntpebteb.h>

Go to the source code of this file.

Data Structures

struct  _PEB_LDR_DATA
 
struct  _INITIAL_TEB
 
struct  _WOW64_PROCESS
 
struct  _PROCESS_WS_WATCH_INFORMATION_EX
 
struct  _PROCESS_PRIORITY_CLASS
 
struct  _PROCESS_FOREGROUND_BACKGROUND
 
struct  _PROCESS_STACK_ALLOCATION_INFORMATION
 
struct  _PROCESS_STACK_ALLOCATION_INFORMATION_EX
 
union  _PROCESS_AFFINITY_UPDATE_MODE
 
union  _PROCESS_MEMORY_ALLOCATION_MODE
 
struct  _PROCESS_HANDLE_INFORMATION
 
struct  _PROCESS_CYCLE_TIME_INFORMATION
 
struct  _PROCESS_WINDOW_INFORMATION
 
struct  _PROCESS_HANDLE_TABLE_ENTRY_INFO
 
struct  _PROCESS_HANDLE_SNAPSHOT_INFORMATION
 
struct  _THREAD_BASIC_INFORMATION
 
struct  _THREAD_LAST_SYSCALL_INFORMATION
 
struct  _THREAD_CYCLE_TIME_INFORMATION
 
struct  _THREAD_TEB_INFORMATION
 
struct  _COUNTER_READING
 
struct  _THREAD_PERFORMANCE_DATA
 
struct  _THREAD_PROFILING_INFORMATION
 

Macros

#define PROCESS_TERMINATE   0x0001
 
#define PROCESS_CREATE_THREAD   0x0002
 
#define PROCESS_SET_SESSIONID   0x0004
 
#define PROCESS_VM_OPERATION   0x0008
 
#define PROCESS_VM_READ   0x0010
 
#define PROCESS_VM_WRITE   0x0020
 
#define PROCESS_CREATE_PROCESS   0x0080
 
#define PROCESS_SET_QUOTA   0x0100
 
#define PROCESS_SET_INFORMATION   0x0200
 
#define PROCESS_QUERY_INFORMATION   0x0400
 
#define PROCESS_SET_PORT   0x0800
 
#define PROCESS_SUSPEND_RESUME   0x0800
 
#define PROCESS_QUERY_LIMITED_INFORMATION   0x1000
 
#define THREAD_QUERY_INFORMATION   0x0040
 
#define THREAD_SET_THREAD_TOKEN   0x0080
 
#define THREAD_IMPERSONATE   0x0100
 
#define THREAD_DIRECT_IMPERSONATION   0x0200
 
#define JOB_OBJECT_ASSIGN_PROCESS   0x0001
 
#define JOB_OBJECT_SET_ATTRIBUTES   0x0002
 
#define JOB_OBJECT_QUERY   0x0004
 
#define JOB_OBJECT_TERMINATE   0x0008
 
#define JOB_OBJECT_SET_SECURITY_ATTRIBUTES   0x0010
 
#define JOB_OBJECT_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x1f)
 
#define GDI_HANDLE_BUFFER_SIZE32   34
 
#define GDI_HANDLE_BUFFER_SIZE64   60
 
#define GDI_HANDLE_BUFFER_SIZE   GDI_HANDLE_BUFFER_SIZE32
 
#define FLS_MAXIMUM_AVAILABLE   128
 
#define TLS_MINIMUM_AVAILABLE   64
 
#define TLS_EXPANSION_SLOTS   1024
 
#define PROCESS_PRIORITY_CLASS_UNKNOWN   0
 
#define PROCESS_PRIORITY_CLASS_IDLE   1
 
#define PROCESS_PRIORITY_CLASS_NORMAL   2
 
#define PROCESS_PRIORITY_CLASS_HIGH   3
 
#define PROCESS_PRIORITY_CLASS_REALTIME   4
 
#define PROCESS_PRIORITY_CLASS_BELOW_NORMAL   5
 
#define PROCESS_PRIORITY_CLASS_ABOVE_NORMAL   6
 

Typedefs

typedef ULONG GDI_HANDLE_BUFFER [GDI_HANDLE_BUFFER_SIZE]
 
typedef ULONG GDI_HANDLE_BUFFER32 [GDI_HANDLE_BUFFER_SIZE32]
 
typedef ULONG GDI_HANDLE_BUFFER64 [GDI_HANDLE_BUFFER_SIZE64]
 
typedef struct _PEB_LDR_DATA PEB_LDR_DATA
 
typedef struct _PEB_LDR_DATAPPEB_LDR_DATA
 
typedef struct _INITIAL_TEB INITIAL_TEB
 
typedef struct _INITIAL_TEBPINITIAL_TEB
 
typedef struct _WOW64_PROCESS WOW64_PROCESS
 
typedef struct _WOW64_PROCESSPWOW64_PROCESS
 
typedef struct
_PROCESS_WS_WATCH_INFORMATION_EX 
PROCESS_WS_WATCH_INFORMATION_EX
 
typedef struct
_PROCESS_WS_WATCH_INFORMATION_EX
PPROCESS_WS_WATCH_INFORMATION_EX
 
typedef struct
_PROCESS_PRIORITY_CLASS 
PROCESS_PRIORITY_CLASS
 
typedef struct
_PROCESS_PRIORITY_CLASS
PPROCESS_PRIORITY_CLASS
 
typedef struct
_PROCESS_FOREGROUND_BACKGROUND 
PROCESS_FOREGROUND_BACKGROUND
 
typedef struct
_PROCESS_FOREGROUND_BACKGROUND
PPROCESS_FOREGROUND_BACKGROUND
 
typedef struct
_PROCESS_STACK_ALLOCATION_INFORMATION 
PROCESS_STACK_ALLOCATION_INFORMATION
 
typedef struct
_PROCESS_STACK_ALLOCATION_INFORMATION
PPROCESS_STACK_ALLOCATION_INFORMATION
 
typedef struct
_PROCESS_STACK_ALLOCATION_INFORMATION_EX 
PROCESS_STACK_ALLOCATION_INFORMATION_EX
 
typedef struct
_PROCESS_STACK_ALLOCATION_INFORMATION_EX
PPROCESS_STACK_ALLOCATION_INFORMATION_EX
 
typedef union
_PROCESS_AFFINITY_UPDATE_MODE 
PROCESS_AFFINITY_UPDATE_MODE
 
typedef union
_PROCESS_AFFINITY_UPDATE_MODE
PPROCESS_AFFINITY_UPDATE_MODE
 
typedef union
_PROCESS_MEMORY_ALLOCATION_MODE 
PROCESS_MEMORY_ALLOCATION_MODE
 
typedef union
_PROCESS_MEMORY_ALLOCATION_MODE
PPROCESS_MEMORY_ALLOCATION_MODE
 
typedef struct
_PROCESS_HANDLE_INFORMATION 
PROCESS_HANDLE_INFORMATION
 
typedef struct
_PROCESS_HANDLE_INFORMATION
PPROCESS_HANDLE_INFORMATION
 
typedef struct
_PROCESS_CYCLE_TIME_INFORMATION 
PROCESS_CYCLE_TIME_INFORMATION
 
typedef struct
_PROCESS_CYCLE_TIME_INFORMATION
PPROCESS_CYCLE_TIME_INFORMATION
 
typedef struct
_PROCESS_WINDOW_INFORMATION 
PROCESS_WINDOW_INFORMATION
 
typedef struct
_PROCESS_WINDOW_INFORMATION
PPROCESS_WINDOW_INFORMATION
 
typedef struct
_PROCESS_HANDLE_TABLE_ENTRY_INFO 
PROCESS_HANDLE_TABLE_ENTRY_INFO
 
typedef struct
_PROCESS_HANDLE_TABLE_ENTRY_INFO
PPROCESS_HANDLE_TABLE_ENTRY_INFO
 
typedef struct
_PROCESS_HANDLE_SNAPSHOT_INFORMATION 
PROCESS_HANDLE_SNAPSHOT_INFORMATION
 
typedef struct
_PROCESS_HANDLE_SNAPSHOT_INFORMATION
PPROCESS_HANDLE_SNAPSHOT_INFORMATION
 
typedef struct
_THREAD_BASIC_INFORMATION 
THREAD_BASIC_INFORMATION
 
typedef struct
_THREAD_BASIC_INFORMATION
PTHREAD_BASIC_INFORMATION
 
typedef struct
_THREAD_LAST_SYSCALL_INFORMATION 
THREAD_LAST_SYSCALL_INFORMATION
 
typedef struct
_THREAD_LAST_SYSCALL_INFORMATION
PTHREAD_LAST_SYSCALL_INFORMATION
 
typedef struct
_THREAD_CYCLE_TIME_INFORMATION 
THREAD_CYCLE_TIME_INFORMATION
 
typedef struct
_THREAD_CYCLE_TIME_INFORMATION
PTHREAD_CYCLE_TIME_INFORMATION
 
typedef struct
_THREAD_TEB_INFORMATION 
THREAD_TEB_INFORMATION
 
typedef struct
_THREAD_TEB_INFORMATION
PTHREAD_TEB_INFORMATION
 
typedef struct _COUNTER_READING COUNTER_READING
 
typedef struct _COUNTER_READINGPCOUNTER_READING
 
typedef struct
_THREAD_PERFORMANCE_DATA 
THREAD_PERFORMANCE_DATA
 
typedef struct
_THREAD_PERFORMANCE_DATA
PTHREAD_PERFORMANCE_DATA
 
typedef struct
_THREAD_PROFILING_INFORMATION 
THREAD_PROFILING_INFORMATION
 
typedef struct
_THREAD_PROFILING_INFORMATION
PTHREAD_PROFILING_INFORMATION
 

Macro Definition Documentation

#define FLS_MAXIMUM_AVAILABLE   128

Definition at line 58 of file ntpsapi.h.

#define GDI_HANDLE_BUFFER_SIZE   GDI_HANDLE_BUFFER_SIZE32

Definition at line 48 of file ntpsapi.h.

#define GDI_HANDLE_BUFFER_SIZE32   34

Definition at line 44 of file ntpsapi.h.

#define GDI_HANDLE_BUFFER_SIZE64   60

Definition at line 45 of file ntpsapi.h.

#define JOB_OBJECT_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x1f)

Definition at line 41 of file ntpsapi.h.

#define JOB_OBJECT_ASSIGN_PROCESS   0x0001

Definition at line 36 of file ntpsapi.h.

#define JOB_OBJECT_QUERY   0x0004

Definition at line 38 of file ntpsapi.h.

#define JOB_OBJECT_SET_ATTRIBUTES   0x0002

Definition at line 37 of file ntpsapi.h.

#define JOB_OBJECT_SET_SECURITY_ATTRIBUTES   0x0010

Definition at line 40 of file ntpsapi.h.

#define JOB_OBJECT_TERMINATE   0x0008

Definition at line 39 of file ntpsapi.h.

#define PROCESS_CREATE_PROCESS   0x0080

Definition at line 11 of file ntpsapi.h.

#define PROCESS_CREATE_THREAD   0x0002

Definition at line 6 of file ntpsapi.h.

#define PROCESS_PRIORITY_CLASS_ABOVE_NORMAL   6

Definition at line 369 of file ntpsapi.h.

#define PROCESS_PRIORITY_CLASS_BELOW_NORMAL   5

Definition at line 368 of file ntpsapi.h.

#define PROCESS_PRIORITY_CLASS_HIGH   3

Definition at line 366 of file ntpsapi.h.

#define PROCESS_PRIORITY_CLASS_IDLE   1

Definition at line 364 of file ntpsapi.h.

#define PROCESS_PRIORITY_CLASS_NORMAL   2

Definition at line 365 of file ntpsapi.h.

#define PROCESS_PRIORITY_CLASS_REALTIME   4

Definition at line 367 of file ntpsapi.h.

#define PROCESS_PRIORITY_CLASS_UNKNOWN   0

Definition at line 363 of file ntpsapi.h.

#define PROCESS_QUERY_INFORMATION   0x0400

Definition at line 14 of file ntpsapi.h.

#define PROCESS_QUERY_LIMITED_INFORMATION   0x1000

Definition at line 17 of file ntpsapi.h.

#define PROCESS_SET_INFORMATION   0x0200

Definition at line 13 of file ntpsapi.h.

#define PROCESS_SET_PORT   0x0800

Definition at line 15 of file ntpsapi.h.

#define PROCESS_SET_QUOTA   0x0100

Definition at line 12 of file ntpsapi.h.

#define PROCESS_SET_SESSIONID   0x0004

Definition at line 7 of file ntpsapi.h.

#define PROCESS_SUSPEND_RESUME   0x0800

Definition at line 16 of file ntpsapi.h.

#define PROCESS_TERMINATE   0x0001

Definition at line 5 of file ntpsapi.h.

#define PROCESS_VM_OPERATION   0x0008

Definition at line 8 of file ntpsapi.h.

#define PROCESS_VM_READ   0x0010

Definition at line 9 of file ntpsapi.h.

#define PROCESS_VM_WRITE   0x0020

Definition at line 10 of file ntpsapi.h.

#define THREAD_DIRECT_IMPERSONATION   0x0200

Definition at line 28 of file ntpsapi.h.

#define THREAD_IMPERSONATE   0x0100

Definition at line 27 of file ntpsapi.h.

#define THREAD_QUERY_INFORMATION   0x0040

Definition at line 25 of file ntpsapi.h.

#define THREAD_SET_THREAD_TOKEN   0x0080

Definition at line 26 of file ntpsapi.h.

#define TLS_EXPANSION_SLOTS   1024

Definition at line 60 of file ntpsapi.h.

#define TLS_MINIMUM_AVAILABLE   64

Definition at line 59 of file ntpsapi.h.

Typedef Documentation

typedef ULONG GDI_HANDLE_BUFFER[GDI_HANDLE_BUFFER_SIZE]

Definition at line 53 of file ntpsapi.h.

typedef ULONG GDI_HANDLE_BUFFER32[GDI_HANDLE_BUFFER_SIZE32]

Definition at line 55 of file ntpsapi.h.

typedef ULONG GDI_HANDLE_BUFFER64[GDI_HANDLE_BUFFER_SIZE64]

Definition at line 56 of file ntpsapi.h.

typedef struct _INITIAL_TEB INITIAL_TEB
typedef struct _PEB_LDR_DATA PEB_LDR_DATA
typedef struct _INITIAL_TEB * PINITIAL_TEB
typedef struct _PEB_LDR_DATA * PPEB_LDR_DATA
typedef struct _WOW64_PROCESS * PWOW64_PROCESS
typedef struct _WOW64_PROCESS WOW64_PROCESS