Go to the documentation of this file.
123 #define KPH_DEVICE_SHORT_NAME L"KProcessHacker2"
124 #define KPH_DEVICE_TYPE 0x9999
125 #define KPH_DEVICE_NAME (L"\\Device\\" KPH_DEVICE_SHORT_NAME)
161 #define KPH_DYN_CONFIGURATION_VERSION 2
162 #define KPH_DYN_MAXIMUM_PACKAGES 64
177 #define KPH_CTL_CODE(x) CTL_CODE(KPH_DEVICE_TYPE, 0x800 + x, METHOD_NEITHER, FILE_ANY_ACCESS)
180 #define KPH_GETFEATURES KPH_CTL_CODE(0)
183 #define KPH_OPENPROCESS KPH_CTL_CODE(50)
184 #define KPH_OPENPROCESSTOKEN KPH_CTL_CODE(51)
185 #define KPH_OPENPROCESSJOB KPH_CTL_CODE(52)
186 #define KPH_SUSPENDPROCESS KPH_CTL_CODE(53)
187 #define KPH_RESUMEPROCESS KPH_CTL_CODE(54)
188 #define KPH_TERMINATEPROCESS KPH_CTL_CODE(55)
189 #define KPH_READVIRTUALMEMORY KPH_CTL_CODE(56)
190 #define KPH_WRITEVIRTUALMEMORY KPH_CTL_CODE(57)
191 #define KPH_READVIRTUALMEMORYUNSAFE KPH_CTL_CODE(58)
192 #define KPH_QUERYINFORMATIONPROCESS KPH_CTL_CODE(59)
193 #define KPH_SETINFORMATIONPROCESS KPH_CTL_CODE(60)
196 #define KPH_OPENTHREAD KPH_CTL_CODE(100)
197 #define KPH_OPENTHREADPROCESS KPH_CTL_CODE(101)
198 #define KPH_TERMINATETHREAD KPH_CTL_CODE(102)
199 #define KPH_TERMINATETHREADUNSAFE KPH_CTL_CODE(103)
200 #define KPH_GETCONTEXTTHREAD KPH_CTL_CODE(104)
201 #define KPH_SETCONTEXTTHREAD KPH_CTL_CODE(105)
202 #define KPH_CAPTURESTACKBACKTRACETHREAD KPH_CTL_CODE(106)
203 #define KPH_QUERYINFORMATIONTHREAD KPH_CTL_CODE(107)
204 #define KPH_SETINFORMATIONTHREAD KPH_CTL_CODE(108)
207 #define KPH_ENUMERATEPROCESSHANDLES KPH_CTL_CODE(150)
208 #define KPH_QUERYINFORMATIONOBJECT KPH_CTL_CODE(151)
209 #define KPH_SETINFORMATIONOBJECT KPH_CTL_CODE(152)
210 #define KPH_DUPLICATEOBJECT KPH_CTL_CODE(153)
213 #define KPH_OPENDRIVER KPH_CTL_CODE(200)
214 #define KPH_QUERYINFORMATIONDRIVER KPH_CTL_CODE(201)