DeleakerClientApi_TakeSnapshot
Syntax
DWORD64 DeleakerClientApi_TakeSnapshot(LPCTSTR szSnapshotName);Description
The DeleakerClientApi_TakeSnapshot function instructs Deleaker to take a snapshot of all currently tracked allocations in the monitored process.
The function blocks until the snapshot is fully created.
The returned value is the unique identifier of the created snapshot.
This function can be used to programmatically capture allocation states and later compare snapshots to identify memory or resource leaks.
Parameters
szSnapshotName
The name of the snapshot.
If szSnapshotName is NULL, the snapshot is created with a default name.