次の方法で共有


Process and Thread Functions

Send Feedback

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

Programming element PPC SP Description
CeGetCallerTrust X X This function retrieves the assigned trust level of a process.
CeGetThreadPriority X X This function gets the priority for a real-time thread.
CeGetThreadQuantum X X This function gets the time quantum for the specified thread.
CeSetThreadPriority X X This function sets the priority for a real-time thread on a thread by thread basis.
CeSetThreadQuantum X X This function sets the time quantum for the specified thread.
CeZeroPointer X X This function converts a pointer that is mapped to a process into an unmapped pointer.
CreateProcess X X This function is used to run a new program
CreateThread X X This function creates a thread to execute within the address space of the calling process.
ExitProcess X X This function ends a process and all of its threads.
ExitThread X X This function ends a thread.
FlushInstructionCache X X This function flushes the instruction cache for the specified process.
GetCommandLine X X This function returns a pointer to the command-line string for the current process.
GetCurrentProcess X X This function returns a pseudohandle for the current process.
GetCurrentProcessId X X This function returns the process identifier of the calling process.
GetCurrentThread X X This function returns a pseudohandle for the current thread.
GetCurrentThreadId X X This function returns the thread identifier, which is used as a handle of the calling thread.
GetExitCodeProcess X X This function retrieves the termination status of the specified process.
GetExitCodeThread X X This function retrieves the termination status of the specified thread.
GetProcessVersion X X This function retrieves the major and minor version numbers of the system on which the specified process expects to run.
GetThreadPriority X X This function returns the priority value for the specified thread.
GetThreadTimes X X This function obtains timing information about a specified thread.
GetUserNameEx X X This function retrieves the name of the user or other security principal associated with the calling thread.
OpenProcess X X This function returns a handle to an existing process object.
ReadProcessMemory X X This function reads memory in a specified process.
ResumeThread X X This function decrements a thread's suspend count.
SetThreadContext X X This function sets the context in the specified thread.
SetThreadPriority X X This function sets the priority value for the specified thread.
Sleep X X This function suspends the execution of the current thread for a specified interval.
SuspendThread X X This function suspends the specified thread.
TerminateProcess X X This function terminates the specified process and all of its threads.
TerminateThread X X This function stops the specified thread.
ThreadProc X X This function is an application-defined function that serves as the starting address for a thread.
TlsAlloc X X This function allocates a thread local storage (TLS) index.
TlsFree X X This function releases a thread local storage (TLS) index, making it available for reuse.
TlsGetValue X X This function retrieves the value in the calling thread's thread local storage (TLS) slot for a specified TLS index.
TlsSetValue X X This function stores a value in the calling thread's thread local storage (TLS) slot for a specified TLS index.
WriteProcessMemory X X This function writes memory in a specified process.

See Also

Process and Thread Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.