[DllImport("Kernel32.dll")][return: MarshalAs(UnmanagedType.SafeHandle)] public static extern SafeJobHandle CreateJobObject( IntPtr lpJobAttributes, string lpName );
Microsoft documentation: Link
Last updated 1 year ago