Platform SDK: DLLs, Processes, and Threads

JOBOBJECT_BASIC_PROCESS_ID_LIST

The JOBOBJECT_BASIC_PROCESS_ID_LIST structure contains the process identifier list for a job object.

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
Specifies the number of process identifiers to be stored in ProcessIdList.
NumberOfProcessIdsInList
Specifies 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
Specifies the variable-length array of process identifiers returned by this call. Array elements 0 through NumberOfProcessIdsInList – 1 contain valid process identifiers.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Winnt.h; include Windows.h.

See Also

Processes and Threads Overview, Process and Thread Structures, QueryInformationJobObject, SetInformationJobObject