forked from winsiderss/systeminformer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprocgrp.h
More file actions
32 lines (26 loc) · 820 Bytes
/
Copy pathprocgrp.h
File metadata and controls
32 lines (26 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef PH_PROCGRP_H
#define PH_PROCGRP_H
// begin_phapppub
typedef struct _PH_PROCESS_GROUP
{
PPH_PROCESS_ITEM Representative; // An element of Processes (no extra reference added)
PPH_LIST Processes; // List of PPH_PROCESS_ITEM
HWND WindowHandle; // Window handle of representative
} PH_PROCESS_GROUP, *PPH_PROCESS_GROUP;
// end_phapppub
typedef VOID (NTAPI *PPH_SORT_LIST_FUNCTION)(
_In_ PPH_LIST List,
_In_opt_ PVOID Context
);
#define PH_GROUP_PROCESSES_DONT_GROUP 0x1
#define PH_GROUP_PROCESSES_FILE_PATH 0x2
PPH_LIST PhCreateProcessGroupList(
_In_opt_ PPH_SORT_LIST_FUNCTION SortListFunction, // Sort a list of PPH_PROCESS_NODE
_In_opt_ PVOID Context,
_In_ ULONG MaximumGroups,
_In_ ULONG Flags
);
VOID PhFreeProcessGroupList(
_In_ PPH_LIST List
);
#endif