When analyzing the process tree in C++, POSIX allows you to prune it using group ID. Several processes may be added to a particular group.
Eg. see the following POSIX function.
Does Windows have an equivalent of the above? I would like to assign a bunch of processes I own to a group, and then control the group as a whole.
Eg.