#ifndef _NTPSAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
typedef struct _PROCESS_HANDLE_TRACING_ENTRY
{
HANDLE Handle;
CLIENT_ID ClientId;
ULONG Type;
PVOID Stacks[PROCESS_HANDLE_TRACING_MAX_STACKS];
} PROCESS_HANDLE_TRACING_ENTRY, *PPROCESS_HANDLE_TRACING_ENTRY;
View code on GitHub
This structure contains a single process handle tracing entry.
The handle value on which the operation happened.
The pair of process and thread IDs that identifies the thread that performed the operation.
The type of the handle operation.
PROCESS_HANDLE_TRACE_TYPE_OPEN
- the handle was opened.PROCESS_HANDLE_TRACE_TYPE_CLOSE
- the handle was closed.PROCESS_HANDLE_TRACE_TYPE_BADREF
- the caller attempted to reference an object using the specified invalid handle value.The stack trace of the operation.