Process Hacker
dn.h
Go to the documentation of this file.
1 #ifndef DN_H
2 #define DN_H
3 
4 #include <phdk.h>
5 #include <winperf.h>
6 
8 
9 #define PLUGIN_NAME L"ProcessHacker.DotNetTools"
10 #define SETTING_NAME_ASM_TREE_LIST_COLUMNS (PLUGIN_NAME L".AsmTreeListColumns")
11 
12 typedef struct _THREAD_TREE_CONTEXT;
13 
14 typedef struct _DN_THREAD_ITEM
15 {
17 
18  BOOLEAN ClrDataValid;
21 
22 // counters
23 
24 typedef struct _PERF_OBJECT_TYPE_INFO
25 {
26  ULONG NameIndex;
30 
32  _In_ HKEY Key,
33  _In_ PWSTR ValueName,
34  _Out_ PVOID *Data,
35  _Out_opt_ PULONG DataSize
36  );
37 
39  _In_ PVOID TextData,
40  _In_ ULONG Index
41  );
42 
44  _In_ PVOID TextData,
45  _In_ PPH_STRINGREF Text
46  );
47 
48 BOOLEAN GetPerfObjectTypeInfo(
49  _In_opt_ PPH_STRINGREF Filter,
50  _Out_ PPERF_OBJECT_TYPE_INFO *Info,
51  _Out_ PULONG Count
52  );
53 
55  _In_ PPH_STRINGREF NameList,
56  _Out_ PPERF_OBJECT_TYPE_INFO *Info,
57  _Out_ PULONG Count,
58  _Out_opt_ PVOID *TextData
59  );
60 
61 // asmpage
62 
64  _In_ PPH_PLUGIN_PROCESS_PROPCONTEXT PropContext
65  );
66 
67 // perfpage
68 
70  _In_ PPH_PLUGIN_PROCESS_PROPCONTEXT PropContext
71  );
72 
73 // stackext
74 
77  );
78 
80  _In_ struct _CLR_PROCESS_SUPPORT *Support,
81  _In_ HANDLE ThreadId,
82  _In_ PVOID PcAddress,
83  _In_ PVOID FrameAddress,
84  _In_ PVOID StackAddress,
85  _Out_ PVOID *PredictedEip,
86  _Out_ PVOID *PredictedEbp,
87  _Out_ PVOID *PredictedEsp
88  );
89 
90 // svcext
91 
93  _In_ PVOID Parameter
94  );
95 
96 // treeext
97 
99  VOID
100  );
101 
103  __in PVOID Parameter
104  );
105 
106 #define DNTHTNC_APPDOMAIN 1
107 
109  __in PVOID Parameter
110  );
111 
113  __in PVOID Parameter
114  );
115 
116 #endif