assignprocesstojobobject (kernel32)
Last changed: -131.107.0.103

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
[return:MarshalAs(UnmanagedType.Bool)]
static extern bool AssignProcessToJobObject(IntPtr hJob, IntPtr hProcess);

VB Signature:

<DllImport("kernel32.dll", SetLastError:=True)> _
   Private Shared Function AssignProcessToJobObject(hJob As IntPtr, hProcess As IntPtr) As Boolean
End Function

User-Defined Types:

None.

Notes:

CreateJobObject

SetInformationJobObject

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation