| Name | Description |
---|
| AdjustTokenPrivileges(IntPtr, Boolean, TokenPrivileges, Int32, IntPtr, IntPtr) |
The AdjustTokenPrivileges function enables or disables privileges in the specified access
token. Enabling or disabling privileges in an access token requires
access.
AdjustTokenPrivileges function |
| AdjustTokenPrivileges(IntPtr, Boolean, TokenPrivileges, UInt32, TokenPrivileges, UInt32) |
The AdjustTokenPrivileges function enables or disables privileges in the specified access
token. Enabling or disabling privileges in an access token requires
access.
AdjustTokenPrivileges function |
| CloseHandle |
Closes an open object handle.
CloseHandle function |
| CreateProcess |
Creates a new process and its primary thread. The new process runs in the security context
of the calling process.
CreateProcess function |
| CreateProcessAsUser |
Creates a new process and its primary thread. The new process runs in the security context
of the user represented by the specified token.
CreateProcessAsUser function |
| CreateToolhelp32Snapshot |
Takes a snapshot of the specified processes, as well as the heaps, modules, and threads
used by these processes.
CreateToolhelp32Snapshot function |
| DuplicateHandle |
Duplicates an object handle.
DuplicateHandle function |
| DuplicateTokenEx |
The DuplicateTokenEx function creates a new access token that duplicates an existing token.
This function can create either a primary token or an impersonation token.
DuplicateTokenEx function |
| EnumProcesses |
Retrieves the process identifier for each process object in the system.
EnumProcesses function |
| GetCurrentProcess |
Retrieves a pseudo handle for the current process.
GetCurrentProcess function |
| GetCurrentProcessId |
Retrieves the process identifier of the calling process.
GetProcessAffinityMask function |
| GetExitCodeProcess |
Retrieves the termination status of the specified process.
GetExitCodeProcess function |
| GetPriorityClass |
Retrieves the priority class for the specified process. This value, together with the
priority value of each thread of the process, determines each thread's base priority level.
GetPriorityClass function |
| GetProcessAffinityMask |
Retrieves the process affinity mask for the specified process and the system affinity mask
for the system.
GetProcessAffinityMask function |
| GetProcessHandleCount |
Retrieves the number of open handles that belong to the specified process.
GetProcessHandleCount function |
| GetProcessIoCounters |
Retrieves accounting information for all I/O operations performed by the specified process.
GetProcessIoCounters function |
| GetProcessMemoryInfo |
Retrieves information about the memory usage of the specified process.
GetProcessMemoryInfo function |
| GetProcessTimes |
Retrieves timing information for the specified process.
GetProcessTimes function |
| GetThreadTimes |
Retrieves timing information for the specified thread.
GetThreadTimes function |
| IsImmersiveProcess |
Determines whether the process belongs to a Windows Store app.
IsImmersiveProcess function |
| IsProcessInJob |
Determines whether the process is running in the specified job.
IsProcessInJob function |
| Module32First |
Retrieves information about the first module associated with a process.
Module32First function |
| Module32Next |
Retrieves information about the next module associated with a process or thread.
Module32Next function |
| OpenProcess |
Opens an existing local process object.
OpenProcess function |
| OpenProcessToken |
The OpenProcessToken function opens the access token associated with a process.
OpenProcessToken function |
| OpenThread |
Opens an existing thread object.
OpenThread function |
| Process32First |
Retrieves information about the first process encountered in a system snapshot.
Process32First function |
| Process32Next |
Retrieves information about the next process recorded in a system snapshot.
Process32Next function |
| ProcessIdToSessionId |
Retrieves the Remote Desktop Services session associated with a specified process.
ProcessIdToSessionId function |
| QueryFullProcessImageName |
Retrieves the full name of the executable image for the specified process.
QueryFullProcessImageName function |
| QueryProcessCycleTime |
Retrieves the sum of the cycle time of all threads of the specified process.
QueryProcessCycleTime function |
| QueryThreadCycleTime |
Retrieves the cycle time for the specified thread.
QueryThreadCycleTime function |
| SetPriorityClass |
Sets the priority class for the specified process. This value together with the priority value
of each thread of the process determines each thread's base priority level.
SetPriorityClass function |
| SetProcessAffinityMask |
Sets a processor affinity mask for the threads of the specified process.
SetProcessAffinityMask function |
| SetProcessWorkingSetSize |
Sets the minimum and maximum working set sizes for the specified process.
SetProcessWorkingSetSize function |
| TerminateProcess |
Terminates the specified process and all of its threads.
TerminateProcess function |
| Thread32First |
Retrieves information about the first thread of any process encountered in a system snapshot.
Thread32First function |
| Thread32Next |
Retrieves information about the next thread of any process encountered in the system memory
snapshot.
Thread32Next function |
| WaitForSingleObject |
Waits until the specified object is in the signaled state or the time-out interval elapses.
WaitForSingleObject function |
| WaitForSingleObjectEx |
Waits until the specified object is in the signaled state, an I/O completion routine or
asynchronous procedure call (APC) is queued to the thread, or the time-out interval elapses.
WaitForSingleObjectEx function |
| WTSGetActiveConsoleSessionId |
Retrieves the session identifier of the console session. The console session is the session
that is currently attached to the physical console. Note that it is not necessary that
Remote Desktop Services be running for this function to succeed.
WTSGetActiveConsoleSessionId function |