[DllImport("Kernel32.dll")][return: MarshalAs(UnmanagedType.SysInt)] public static extern IntPtr CreateThread( IntPtr lpThreadAttributes, uint dwStackSize, IntPtr lpStartAddress, IntPtr lpParameter, uint dwCreationFlags, IntPtr lpThreadId );
Microsoft documentation: Link
Last updated 1 year ago