Megosztás a következőn keresztül:


ISnapshotManager2

Represents a snapshot object that the client controls. The interface provides functions that enable, disables, and takes the snapshot.

Also see ISnapshotManager3 for information on additional interfaces.

Syntax

HRESULT ConfigSnapshotByPID([in] ULONG* pids, [in] ULONG cPids, [in] VARIANT_BOOL fEnable);
HRESULT ConfigSnapshotByProcess([in] BSTR bstrProcName, [in] VARIANT_BOOL fEnable);

Functions

The following table describes the functions that this interface provides.

Function Description
ConfigSnapshotByPID Configures snapshot using the provided process id.
ConfigSnapshotByProcess Configures snapshot using the provided process name.

Remarks

Most functions require administrator privileges.