다음을 통해 공유


Process and Thread Functions (Windows CE 5.0)

Send Feedback

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

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