4 #if (PHNT_MODE != PHNT_MODE_KERNEL)
5 #define LOW_PRIORITY 0 // Lowest thread priority level
6 #define LOW_REALTIME_PRIORITY 16 // Lowest realtime priority level
7 #define HIGH_PRIORITY 31 // Highest thread priority level
8 #define MAXIMUM_PRIORITY 32 // Number of thread priority levels
42 #if (PHNT_MODE != PHNT_MODE_KERNEL)
44 typedef enum _KWAIT_REASON
86 } KWAIT_REASON, *PKWAIT_REASON;
88 typedef enum _KPROFILE_SOURCE
91 ProfileAlignmentFixup,
94 ProfileLoadInstructions,
95 ProfilePipelineFrozen,
96 ProfileBranchInstructions,
97 ProfileTotalNonissues,
101 ProfileBranchMispredictions,
102 ProfileStoreInstructions,
103 ProfileFpInstructions,
104 ProfileIntegerInstructions,
108 ProfileSpecialInstructions,
111 ProfileDcacheAccesses,
112 ProfileMemoryBarrierCycles,
113 ProfileLoadLinkedIssues,
119 #if (PHNT_MODE != PHNT_MODE_KERNEL)
125 _In_reads_bytes_opt_(OutputLength) PVOID OutputBuffer,
126 _In_ ULONG OutputLength,
130 #if (PHNT_VERSION >= PHNT_VISTA)
134 NtFlushProcessWriteBuffers(
142 NtQueryDebugFilterState(
143 _In_ ULONG ComponentId,
150 NtSetDebugFilterState(
151 _In_ ULONG ComponentId,