Méthode | 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. |
Résultat |
public static GetExitCodeThread ( |
||
threadHandle | A handle to the thread. | |
Résultat | 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. |
Résultat |
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. |
Résultat |
public static NtQueryInformationThread ( |
||
threadHandle | A handle to the thread to query. | |
Résultat |
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. |
Résultat |
public static ResumeThread ( |
||
threadHandle | A handle to the thread to be restarted. | |
Résultat | uint |
public static SetThreadContext ( |
||
threadHandle | A handle to the thread whose context is to be set. | |
context | A pointer to a |
|
Résultat | void |
public static SuspendThread ( |
||
threadHandle | A handle to the thread that is to be suspended. | |
Résultat | uint |
public static TerminateThread ( |
||
threadHandle | A handle to the thread to be terminated. | |
exitCode | int | The exit code for the thread. |
Résultat | void |
public static WaitForSingleObject ( |
||
handle | A handle to the object. | |
Résultat | 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. |
Résultat | WaitValues |