pub unsafe extern "C" fn NtTerminateThread(
ThreadHandle: HANDLE,
ExitStatus: NTSTATUS,
) -> NTSTATUSExpand description
Terminates the specified thread.
§Arguments
ThreadHandle- Optional. A handle to the thread to be terminated. If this parameter is NULL, the calling thread is terminated.ExitStatus- The exit status to be used by the thread and the thread’s termination status.
§Returns
NTSTATUS Successful or errant status.