Skip to content

Latest commit

 

History

History
75 lines (62 loc) · 2.57 KB

ne-isysmon-sysmonbatchreason.md

File metadata and controls

75 lines (62 loc) · 2.57 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:isysmon.__MIDL___MIDL_itf_sysmon_0000_0000_0003
SysmonBatchReason (isysmon.h)
Defines the reason for locking the System Monitor.
SysmonBatchAddCounters
SysmonBatchAddFiles
SysmonBatchNone
SysmonBatchReason
SysmonBatchReason enumeration [SysMon]
isysmon/SysmonBatchAddCounters
isysmon/SysmonBatchAddFiles
isysmon/SysmonBatchNone
isysmon/SysmonBatchReason
sysmon.sysmonbatchreason
sysmon\sysmonbatchreason.htm
SysMon
f8dac303-105a-4d83-a92c-7d2002d7e4a3
12/05/2018
SysmonBatchAddCounters, SysmonBatchAddFiles, SysmonBatchNone, SysmonBatchReason, SysmonBatchReason enumeration [SysMon], isysmon/SysmonBatchAddCounters, isysmon/SysmonBatchAddFiles, isysmon/SysmonBatchNone, isysmon/SysmonBatchReason, sysmon.sysmonbatchreason
isysmon.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
SysmonBatchReason
19H1
__MIDL___MIDL_itf_sysmon_0000_0000_0003
isysmon/__MIDL___MIDL_itf_sysmon_0000_0000_0003
SysmonBatchReason
isysmon/SysmonBatchReason
c++
APIRef
kbSyntax
HeaderDef
ISysmon.h
SysmonBatchReason

-description

Defines the reason for locking the System Monitor.

-enum-fields

-field sysmonBatchNone:0

Use to free all locks. Typically, you call SystemMonitor.BatchingLock with the same reason you used to gain the lock. For example, if you gained the lock using SysmonBatchAddFiles, you would use SysmonBatchAddFiles when releasing the lock.

-field sysmonBatchAddFiles:1

Prevents the System Monitor from sampling the file immediately when you use ILogFiles.Add to add a log file to the collection.

-field sysmonBatchAddCounters:2

Prevents the System Monitor from sampling the counter immediately when you use ICounters.Add to add a counter to the collection.

-field sysmonBatchAddFilesAutoCounters:3

TBD

-see-also

SystemMonitor.BatchingLock