Skip to main content

nt_create_thread_ex

Function nt_create_thread_ex 

Source
pub fn nt_create_thread_ex(
    thread: *mut HANDLE,
    access: u32,
    attributes: *mut OBJECT_ATTRIBUTES,
    process: HANDLE,
    function: PVOID,
    args: PVOID,
    flags: u32,
    zero: usize,
    stack: usize,
    reserve: usize,
    buffer: *mut PsAttributeList,
) -> i32
Available on x86-64 only.
Expand description

Dynamically calls NtCreateThreadEx.

It will return the NTSTATUS value returned by the call.