#ifndef _NTPSAPI_H
// Job objects
#if (PHNT_MODE != PHNT_MODE_KERNEL)
/**
* Creates a set of job objects.
*
* @param NumJob The number of job objects in the set.
* @param UserJobSet A pointer to an array of JOB_SET_ARRAY structures that specify the job objects in the set.
* @param Flags Reserved for future use. Must be zero.
* @return NTSTATUS Successful or errant status.
* @remarks This function can be used to create a set of job objects, which can be useful for managing groups of related processes.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtCreateJobSet(
_In_ ULONG NumJob,
_In_reads_(NumJob) PJOB_SET_ARRAY UserJobSet,
_In_ ULONG Flags
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwCreateJobSet(
_In_ ULONG NumJob,
_In_reads_(NumJob) PJOB_SET_ARRAY UserJobSet,
_In_ ULONG Flags
);
View code on GitHub
No description available.