Update ntpsapi.h
Add missing PROCESS_HANDLE_TRACING flags
@@ -439,21 +439,27 @@ typedef struct _PROCESS_SESSION_INFORMATION
ULONG SessionId;
} PROCESS_SESSION_INFORMATION, *PPROCESS_SESSION_INFORMATION;
+#define PROCESS_HANDLE_RAISE_EXCEPTION_ON_INVALID_HANDLE_CLOSE_DISABLED 0x00000000
+#define PROCESS_HANDLE_RAISE_EXCEPTION_ON_INVALID_HANDLE_CLOSE_ENABLED 0x00000001
+
typedef struct _PROCESS_HANDLE_TRACING_ENABLE
{
- ULONG Flags; // 0 to disable, 1 to enable
+ ULONG Flags;
} PROCESS_HANDLE_TRACING_ENABLE, *PPROCESS_HANDLE_TRACING_ENABLE;
+#define PROCESS_HANDLE_TRACING_MAX_SLOTS 0x20000
+
typedef struct _PROCESS_HANDLE_TRACING_ENABLE_EX
{
- ULONG Flags; // 0 to disable, 1 to enable
+ ULONG Flags;
ULONG TotalSlots;
} PROCESS_HANDLE_TRACING_ENABLE_EX, *PPROCESS_HANDLE_TRACING_ENABLE_EX;
#define PROCESS_HANDLE_TRACING_MAX_STACKS 16
-#define HANDLE_TRACE_DB_OPEN 1
-#define HANDLE_TRACE_DB_CLOSE 2
-#define HANDLE_TRACE_DB_BADREF 3
+
+#define PROCESS_HANDLE_TRACE_TYPE_OPEN 1
+#define PROCESS_HANDLE_TRACE_TYPE_CLOSE 2
+#define PROCESS_HANDLE_TRACE_TYPE_BADREF 3
typedef struct _PROCESS_HANDLE_TRACING_ENTRY
{
