4 writes to readHandle
System (4)
services\monitoring\system\diagnosticts\EventLogInternal.cs (4)
181
readHandle
= null;
670
readHandle
= null;
793
readHandle
= null;
1312
readHandle
= handle;
14 references to readHandle
System (14)
services\monitoring\system\diagnosticts\EventLogInternal.cs (14)
213
bool success = UnsafeNativeMethods.GetNumberOfEventLogRecords(
readHandle
, out count);
225
return
readHandle
!= null || writeHandle != null;
234
return
readHandle
!= null;
476
bool success = UnsafeNativeMethods.GetOldestEventLogRecord(
readHandle
, out num);
494
return
readHandle
;
632
bool success = UnsafeNativeMethods.ClearEventLog(
readHandle
, NativeMethods.NullHandleRef);
663
if (
readHandle
!= null) {
665
readHandle
.Close();
791
if (
readHandle
!= null) {
792
readHandle
.Close();
896
bool success = UnsafeNativeMethods.ReadEventLog(
readHandle
, NativeMethods.FORWARDS_READ | NativeMethods.SEEK_READ,
920
success = UnsafeNativeMethods.ReadEventLog(
readHandle
, NativeMethods.FORWARDS_READ | NativeMethods.SEEK_READ,
1089
bool success = UnsafeNativeMethods.ReadEventLog(
readHandle
, flags, index,
1113
success = UnsafeNativeMethods.ReadEventLog(
readHandle
, NativeMethods.FORWARDS_READ | NativeMethods.SEEK_READ, index,