include vmm.inc mov eax, ThreadInGroup mov edi, ThreadToAdd VMMcall Attach_Thread_To_Group
Adds a thread to a thread group. A virtual device creates thread groups so that it can boost the priority of all the threads in the group with a single call to the Set_Group_Static_Boost service. Uses Flags.
ThreadInGroup
Handle of a thread that belongs to a group.
ThreadToAdd
Handle of a thread to add to the group to which ThreadInGroup belongs.
If ThreadToAdd already belongs to a group, it is removed from the current group before being added to the new group.
See also Detach_Thread_From_Group, Set_Group_Static_Boost