RtlTraceDatabaseAdd

Go to Home Page

Inserts a stack trace into a database

Syntax

BOOLEAN NTAPI RtlTraceDatabaseAdd (
    PRTL_TRACE_DATABASE pDatabase,
    ULONG numFrames,
    PVOID* ppFrames,
    PRTL_TRACE_BLOCK* ppBlock
)

Parameters

pDatabase
The database to add the trace too
numFrames
The number offrames in the ppFrames array
ppFrames
An array of addresses comprising the stack trace
ppBlock
A pointer that receives a pointer to the newly created block for this trace. Can be NULL if not required

Return Value

Nonzero if the trace was added, zero otherwise.

Remarks

See RtlTraceDatabaseCreate for the definition of PRTL_TRACE_BLOCK