Finds the block that corresponds to a stack trace
Syntax
BOOLEAN WINAPI RtlTraceDatabaseFind (
PRTL_TRACE_DATABASE pDatabase,
ULONG numFrames,
PVOID* ppFrames,
PRTL_TRACE_BLOCK* ppBlock
)
Parameters
- pDatabase
- The database to look in
- numFrames
- The number of frames in the ppFrames array
- ppFrames
- The stack trace to find
- ppBlock
- A pointer to a pointer that receives the block for the trace or NULL if not found
Return Value
Nonzero if the block was found, zero otherwise
Remarks
See RtlTraceDatabaseCreate for the definition of PRTL_TRACE_BLOCK.
It's not required to check whether a trace already exists in the database before adding it, RtlTraceDatabaseAdd already does this.