IsProcessInJob function kernel32

int IsProcessInJob(
  1. int ProcessHandle,
  2. int JobHandle,
  3. Pointer<Int32> Result
)

Determines whether the process is running in the specified job.

BOOL IsProcessInJob(
  [in]           HANDLE ProcessHandle,
  [in, optional] HANDLE JobHandle,
  [out]          PBOOL  Result
);

Implementation

int IsProcessInJob(int ProcessHandle, int JobHandle, Pointer<Int32> Result) =>
    _IsProcessInJob(ProcessHandle, JobHandle, Result);