Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Stellt ein Momentaufnahmeobjekt dar, das der Client steuert Die Schnittstelle bietet Funktionen, die die Momentaufnahme aktivieren, deaktivieren und verwenden.
Syntax
[id(1), helpstring("EnablePeriodicSnapshot")] HRESULT EnablePeriodicSnapshot([in] SnapshotType snapshotType, [in] ULONG interval, [in] ULONG* pids, [in] ULONG cPids);
[id(2), helpstring("DisablePeriodicSnapshot")] HRESULT DisablePeriodicSnapshot([in] SnapshotType snapshotType);
[id(3), helpstring("SnapshotOnDemand")] HRESULT SnapshotOnDemand([in] SnapshotType snapshotType, [in] ULONG* pids, [in] ULONG cPids);
[id(4), helpstring("VerifySnapshotSupported")] HRESULT VerifySnapshotSupported([in] TRACEHANDLE traceHandle, [in, out] ULONG* frequencyInSeconds, [in, out] ULONG* cProviders);
[id(5), helpstring("ConfigSnapshotByPID")] HRESULT ConfigSnapshotByPID([in] ULONG* pids, [in] ULONG cPids, [in] VARIANT_BOOL fEnable);
[id(6), helpstring("ConfigSnapshotByProcess")] HRESULT ConfigSnapshotByProcess([in] BSTR bstrProcName, [in] VARIANT_BOOL fEnable);
[id(7), helpstring("ConfigSnapshotByPIDEx")] HRESULT ConfigSnapshotByPIDEx([in] SnapshotType snapshotType, [in] ULONG* pids, [in, out] HRESULT* pResults, [in] ULONG cPids, [in] VARIANT_BOOL fEnable);
[id(8), helpstring("ConfigSnapshotByProcessEx")] HRESULT ConfigSnapshotByProcessEx([in] SnapshotType snapshotType, [in] BSTR bstrProcName, [in] VARIANT_BOOL fEnable);
Functions
In der folgenden Tabelle werden die Funktionen beschrieben, die diese Schnittstelle bereitstellt.
Funktion | Beschreibung |
---|---|
ConfigSnapshotByPID | Konfiguriert Momentaufnahme mithilfe der angegebenen Prozess-ID |
ConfigSnapshotByPIDEx | Konfiguriert Momentaufnahme mithilfe der angegebenen Prozess-ID |
ConfigSnapshotByProcess | Konfiguriert Momentaufnahme mithilfe des angegebenen Prozessnamens |
ConfigSnapshotByProcessEx | Konfiguriert Momentaufnahme mithilfe des angegebenen Prozessnamens |
DisablePeriodicSnapshot | Deaktiviert regelmäßige Momentaufnahmen |
EnablePeriodicSnapshot | Aktiviert regelmäßige Momentaufnahmen mit dem angegebenen Intervall |
SnapshotOnDemand | Exportiert Momentaufnahmen mit dem Typ „Snapshot“ in die Ablaufverfolgungspuffer |
VerifySnapshotSupported | Fragt regelmäßig die Erfassungsstatusgrenzwerte ab |
Bemerkungen
Die meisten Funktionen erfordern Administratorrechte.