Method | Description | |
---|---|---|
CreateRemoteThread ( |
Creates a thread that runs in the virtual address space of another process.
|
|
GetExitCodeThread ( |
Retrieves the termination status of the specified thread.
|
|
GetThreadContext ( |
Retrieves the context of the specified thread.
|
|
GetThreadSelectorEntry ( |
Retrieves a descriptor table entry for the specified selector and thread.
|
|
NtQueryInformationThread ( |
Retrieves information about the specified thread.
|
|
OpenThread ( ThreadAccessFlags accessFlags, int threadId ) : |
Opens an existing thread object.
|
|
ResumeThread ( |
Decrements a thread's suspend count. When the suspend count is decremented to zero, the execution of the thread is resumed.
|
|
SetThreadContext ( |
Sets the context for the specified thread.
|
|
SuspendThread ( |
Suspends the specified thread.
|
|
TerminateThread ( |
Terminates a thread.
|
|
WaitForSingleObject ( |
Waits an infinite amount of time for the specified object to become signaled.
|
|
WaitForSingleObject ( |
Waits until the specified object is in the signaled state or the time-out interval elapses.
|
public static CreateRemoteThread ( |
||
processHandle | A handle to the process in which the thread is to be created. | |
startAddress | A pointer to the application-defined function to be executed by the thread and represents the starting address of the thread in the remote process. | |
parameter | A pointer to a variable to be passed to the thread function. | |
creationFlags | ThreadCreationFlags | The flags that control the creation of the thread. |
return |
public static GetExitCodeThread ( |
||
threadHandle | A handle to the thread. | |
return | IntPtr? |
public static GetThreadContext ( |
||
threadHandle | A handle to the thread whose context is to be retrieved. | |
contextFlags | ThreadContextFlags | Determines which registers are returned or set. |
return |
public static GetThreadSelectorEntry ( |
||
threadHandle | A handle to the thread containing the specified selector. | |
selector | uint | The global or local selector value to look up in the thread's descriptor tables. |
return |
public static NtQueryInformationThread ( |
||
threadHandle | A handle to the thread to query. | |
return |
public static OpenThread ( ThreadAccessFlags accessFlags, int threadId ) : |
||
accessFlags | ThreadAccessFlags | The access to the thread object. |
threadId | int | The identifier of the thread to be opened. |
return |
public static ResumeThread ( |
||
threadHandle | A handle to the thread to be restarted. | |
return | uint |
public static SetThreadContext ( |
||
threadHandle | A handle to the thread whose context is to be set. | |
context | A pointer to a |
|
return | void |
public static SuspendThread ( |
||
threadHandle | A handle to the thread that is to be suspended. | |
return | uint |
public static TerminateThread ( |
||
threadHandle | A handle to the thread to be terminated. | |
exitCode | int | The exit code for the thread. |
return | void |
public static WaitForSingleObject ( |
||
handle | A handle to the object. | |
return | WaitValues |
public static WaitForSingleObject ( |
||
handle | A handle to the object. | |
timeout | System.TimeSpan | The time-out interval. If this parameter is NULL, the function does not enter a wait state if the object is not signaled; it always returns immediately. |
return | WaitValues |