Windows API Reference

Kernel-User Base Constants

Memory Management Constants

MEM_COMMIT
0x00001000
Allocates physical memory storage for the specified region.
MEM_RESERVE
0x00002000
Reserves a range of the process's virtual address space without any actual physical storage being allocated at this time.
MEM_FREE
0x00008000
Indicates that the specified region of memory is freed, and its access is disabled.
MEM_IMAGE
0x1000000
Indicates that the memory is a mapped section of an image file.

Process and Thread Constants

CREATE_SUSPENDED
0x00000004
Creates a process or thread in a suspended state.
PROCESS_ALL_ACCESS
0x1F0FFF
Specifies all possible access rights for a process.
THREAD_QUERY_INFORMATION
0x0020
Specifies the right to query the thread's information.

Handle Constants

INVALID_HANDLE_VALUE
-1
A special value used to indicate an invalid handle.

System Information Constants

VER_PLATFORM_WIN32_NT
2
Indicates the platform is Windows NT.

Security Constants

GENERIC_READ
0x80000000
Specifies the right to read from an object.
SYNCHRONIZE
0x00100000
Specifies the right to synchronize access to the object.