Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Représente un objet instantané que le client contrôle. L’interface fournit des fonctions qui activent, désactivent et acceptent les instantané.
Syntaxe
[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);
Fonctions
Le tableau suivant décrit les fonctions que cette interface fournit.
| Fonction | Description |
|---|---|
| ConfigSnapshotByPID | Configure instantané à l’aide de l’ID de processus fourni. |
| ConfigSnapshotByPIDEx | Configure instantané à l’aide de l’ID de processus fourni. |
| ConfigSnapshotByProcess | Configure instantané à l’aide du nom de processus fourni. |
| ConfigSnapshotByProcessEx | Configure instantané à l’aide du nom de processus fourni. |
| DisablePeriodicSnapshot | Désactive les instantané périodiques. |
| EnablePeriodicSnapshot | Active les instantané périodiques avec l’intervalle donné. |
| SnapshotOnDemand | Prend instantané de type d’instantané et exporte vers les mémoires tampons de trace. |
| VerifySnapshotSupported | Interroge les limites d’état de capture périodique. |
Notes
La plupart des fonctions nécessitent des privilèges d’administrateur.