JOBOBJECT_BASIC_PROCESS_ID_LIST structure (winnt.h)

Contains the process identifier list for a job object. If the job is nested, the process identifier list consists of all processes associated with the job and its child jobs.

Syntax

typedef struct _JOBOBJECT_BASIC_PROCESS_ID_LIST {
  DWORD     NumberOfAssignedProcesses;
  DWORD     NumberOfProcessIdsInList;
  ULONG_PTR ProcessIdList[1];
} JOBOBJECT_BASIC_PROCESS_ID_LIST, *PJOBOBJECT_BASIC_PROCESS_ID_LIST;

Members

NumberOfAssignedProcesses

The number of process identifiers to be stored in ProcessIdList.

NumberOfProcessIdsInList

The number of process identifiers returned in the ProcessIdList buffer. If this number is less than NumberOfAssignedProcesses, increase the size of the buffer to accommodate the complete list.

ProcessIdList[1]

A variable-length array of process identifiers returned by this call. Array elements 0 through NumberOfProcessIdsInList– 1 contain valid process identifiers.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winnt.h (include Windows.h)

See also

QueryInformationJobObject

SetInformationJobObject