Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function

NtCreateThreadEx

Public Function
std.os.windows.ntdll.NtCreateThreadEx
pub extern "ntdll" fn NtCreateThreadEx(
    ThreadHandle: *HANDLE,
    DesiredAccess: ACCESS_MASK,
    ObjectAttributes: *const OBJECT.ATTRIBUTES,
    ProcessHandle: HANDLE,
    StartRoutine: *const USER_THREAD_START_ROUTINE,
    Argument: ?PVOID,
    CreateFlags: THREAD.CREATE_FLAGS,
    ZeroBits: SIZE_T,
    /// This value is rounded up to the nearest page.
    /// If this value is larger than `StackReserve`, the reserved stack
    /// size will be the rounded value of this parameter.
    /// https://learn.microsoft.com/en-us/windows/win32/procthread/thread-stack-size
    StackCommit: THREAD.StackSize,
    StackReserve: THREAD.StackSize,
    AttributeList: ?*PS.ATTRIBUTE.LIST,
) callconv(.winapi) NTSTATUS

Params

File

os/windows/ntdll.zig:781
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
pub extern "ntdll" fn NtCreateThreadEx(
    ThreadHandle: *HANDLE,
    DesiredAccess: ACCESS_MASK,
    ObjectAttributes: *const OBJECT.ATTRIBUTES,
    ProcessHandle: HANDLE,
    StartRoutine: *const USER_THREAD_START_ROUTINE,
    Argument: ?PVOID,
    CreateFlags: THREAD.CREATE_FLAGS,
    ZeroBits: SIZE_T,
    /// This value is rounded up to the nearest page.
    /// If this value is larger than `StackReserve`, the reserved stack
    /// size will be the rounded value of this parameter.
    /// https://learn.microsoft.com/en-us/windows/win32/procthread/thread-stack-size
    StackCommit: THREAD.StackSize,
    StackReserve: THREAD.StackSize,
    AttributeList: ?*PS.ATTRIBUTE.LIST,
) callconv(.winapi) NTSTATUS