![Xcalibur Systems LLC Logo](../icons/logo.png) |
ProcessHelperIsProcessInJob Method |
Namespace: Xcalibur.NativeMethods.V2.ProcessesAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax[DllImportAttribute("kernel32.dll")]
public static bool IsProcessInJob(
IntPtr processHandle,
IntPtr jobHandle,
out bool result
)
<DllImportAttribute("kernel32.dll">]
Public Shared Function IsProcessInJob (
processHandle As IntPtr,
jobHandle As IntPtr,
<OutAttribute> ByRef result As Boolean
) As Boolean
public:
[DllImportAttribute(L"kernel32.dll")]
static bool IsProcessInJob(
IntPtr processHandle,
IntPtr jobHandle,
[OutAttribute] bool% result
)
[<DllImportAttribute("kernel32.dll")>]
static member IsProcessInJob :
processHandle : IntPtr *
jobHandle : IntPtr *
result : bool byref -> bool
Parameters
- processHandle IntPtr
- A handle to the process to be tested. The handle must have the
or
access right.
- jobHandle IntPtr
- A handle to the job. If this parameter is NULL, the function tests
if the process is running under any job.
- result Boolean
- A pointer to a value that receives TRUE if the process is running in
the job, and FALSE otherwise.
Return Value
BooleanIf the function fails, the return value is zero. To get extended error
information, call .
See Also