Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "CreateThread" in [All]

kernel32

.
Summary
.

private unsafe static extern uint CreateThread(

.

        uint dwHandle = CreateThread(null, (uint)StackSize, ThreadFunc, lpParam, 0, out lpThreadID);

.

static extern IntPtr CreateThread([In] ref SECURITY_ATTRIBUTES

.

Try System.Threading.Thread.Start. It doesn't give you all the control of directly calling CreateThread, (such as specifing the flags), but it will get you a vanilla thread to spin up.

.
Documentation
[CreateThread] on MSDN
.

        CreateThread = 0x00000002,

.

    CreateThread = &H2

Enums

.

    CreateThread = 0x0002,

.

    AllAccess = CreateThread Or DuplicateHandle Or QueryInformation Or SetInformation Or Terminate Or VMOperation Or VMRead Or VMWrite Or Synchronize

.

    CreateThread = &H2

.

     CreateThread = 0x00000002

user32

.

    CreateThread = 0x00000002,

Structures

.

  public CREATE_THREAD_DEBUG_INFO CreateThread


 
Access PInvoke.net directly from VS: