1 write to eventsBuffer
System.Core (1)
System\Diagnostics\Eventing\Reader\EventLogWatcher.cs (1)
83
this.
eventsBuffer
= new IntPtr[64];
10 references to eventsBuffer
System.Core (10)
System\Diagnostics\Eventing\Reader\EventLogWatcher.cs (10)
140
if (
eventsBuffer
[i] != IntPtr.Zero) {
141
NativeWrapper.EvtClose(
eventsBuffer
[i]);
142
eventsBuffer
[i] = IntPtr.Zero;
228
results = NativeWrapper.EvtNext(this.handle, this.
eventsBuffer
.Length, this.
eventsBuffer
, 0, 0, ref this. numEventsInBuffer);
262
EventLogRecord record = new EventLogRecord(new EventLogHandle(this.
eventsBuffer
[i], true), this.eventQuery.Session, this.cachedMetadataInformation);
264
this.
eventsBuffer
[i] = IntPtr.Zero; // user is responsible for calling Dispose().
284
if (
eventsBuffer
[i] != IntPtr.Zero) {
285
NativeWrapper.EvtClose(
eventsBuffer
[i]);
286
eventsBuffer
[i] = IntPtr.Zero;