DeleakerClientApi_TakeSnapshotForCurrentThread
Syntax
DWORD64 DeleakerClientApi_TakeSnapshotForCurrentThread(LPCTSTR szSnapshotName);Description
The DeleakerClientApi_TakeSnapshotForCurrentThread function instructs Deleaker to take a snapshot that includes only allocations created by the current thread.
The function blocks until the snapshot is fully created.
The returned value is the unique identifier of the created snapshot.
This function is useful when you want to analyze memory or resource leaks originating from a specific thread, without including allocations made by other threads.
Parameters
szSnapshotName
The name of the snapshot.
If szSnapshotName is NULL, the snapshot is created with a default name.