Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows the process and thread functions with a description of the purpose of each.

Function Description

CeGetCallerTrust

Obtains the assigned trust level of a process.

CeGetThreadPriority

Gets the priority for a real-time thread.

CeGetThreadQuantum

Gets the time quantum for the specified thread.

CeSetThreadPriority

Sets the priority for a real-time thread on a thread by thread basis.

CeSetThreadQuantum

Sets the time quantum for the specified thread.

CeZeroPointer

Converts a pointer that is mapped to a process into an unmapped pointer.

CreateProcess

Runs a new program

CreateThread

Creates a thread to execute within the address space of the calling process.

ExitProcess

Ends a process and all of its threads.

ExitThread

Ends a thread.

FlushInstructionCache

Flushes the instruction cache for the specified process.

GetCommandLine

Returns a pointer to the command-line string for the current process.

GetCurrentProcess

Returns a pseudohandle for the current process.

GetCurrentProcessId

Returns the process identifier of the calling process.

GetCurrentThread

Returns a pseudohandle for the current thread.

GetCurrentThreadId

Returns the thread identifier, which is used as a handle of the calling thread.

GetExitCodeProcess

Retrieves the termination status of the specified process.

GetExitCodeThread

Retrieves the termination status of the specified thread.

GetProcessVersion

Retrieves the major and minor version numbers of the system on which the specified process expects to run.

GetThreadPriority

Returns the priority value for the specified thread.

GetThreadTimes

Obtains timing information about a specified thread.

OpenProcess

Returns a handle to an existing process object.

ReadProcessMemory

Reads memory in a specified process.

ResumeThread

Decrements a thread's suspend count.

SetThreadContext

Sets the context in the specified thread.

SetThreadPriority

Sets the priority value for the specified thread.

Sleep

Suspends the current thread for a specified interval.

SuspendThread

Suspends the specified thread.

TerminateProcess

Ends the specified process and all of its threads.

TerminateThread

Stops the specified thread.

ThreadProc

Application-defined function that serves as the starting address for a thread.

TlsAlloc

Allocates a thread local storage (TLS) index.

TlsFree

Releases a TLS index, making it available for reuse.

TlsGetValue

Retrieves the value in the calling thread's TLS slot for a specified TLS index.

TlsSetValue

Stores a value in the calling thread's TLS slot for a specified TLS index.

WriteProcessMemory

Writes memory in a specified process.

See Also