18 references to Zero
System.Core (18)
System\Diagnostics\Eventing\Reader\EventLogConfiguration.cs (1)
63
private EventLogHandle handle = EventLogHandle.
Zero
;
System\Diagnostics\Eventing\Reader\EventLogReader.cs (3)
244
NativeWrapper.EvtSeek(this.handle, offset, EventLogHandle.
Zero
, 0, UnsafeNativeMethods.EvtSeekFlags.EvtSeekRelativeToCurrent);
272
NativeWrapper.EvtSeek(this.handle, offset, EventLogHandle.
Zero
, 0, UnsafeNativeMethods.EvtSeekFlags.EvtSeekRelativeToFirst);
278
NativeWrapper.EvtSeek(this.handle, offset, EventLogHandle.
Zero
, 0, UnsafeNativeMethods.EvtSeekFlags.EvtSeekRelativeToLast);
System\Diagnostics\Eventing\Reader\EventLogRecord.cs (2)
364
NativeWrapper.EvtRender(EventLogHandle.
Zero
, this.handle, UnsafeNativeMethods.EvtRenderFlags.EvtRenderEventXml, renderBuffer);
388
return EventLogHandle.
Zero
;
System\Diagnostics\Eventing\Reader\EventLogSession.cs (3)
52
internal EventLogHandle renderContextHandleSystem = EventLogHandle.
Zero
;
53
internal EventLogHandle renderContextHandleUser = EventLogHandle.
Zero
;
68
private EventLogHandle handle = EventLogHandle.
Zero
;
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (5)
533
bool status = UnsafeNativeMethods.EvtFormatMessage(handle, EventLogHandle.
Zero
, msgId, 0, null, UnsafeNativeMethods.EvtFormatMessageFlags.EvtFormatMessageId, 0, sb, out bufferNeeded);
553
status = UnsafeNativeMethods.EvtFormatMessage(handle, EventLogHandle.
Zero
, msgId, 0, null, UnsafeNativeMethods.EvtFormatMessageFlags.EvtFormatMessageId, bufferNeeded, sb, out bufferNeeded);
1076
bool status = UnsafeNativeMethods.EvtRender(EventLogHandle.
Zero
, eventHandle, flag, 0, IntPtr.Zero, out bufferNeeded, out propCount);
1084
status = UnsafeNativeMethods.EvtRender(EventLogHandle.
Zero
, eventHandle, flag, bufferNeeded, buffer, out bufferNeeded, out propCount);
1299
return EventLogHandle.
Zero
;
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (4)
38
private EventLogHandle handle = EventLogHandle.
Zero
;
40
private EventLogHandle defaultProviderHandle = EventLogHandle.
Zero
;
162
EventLogHandle elHandle = EventLogHandle.
Zero
;
286
EventLogHandle elHandle = EventLogHandle.
Zero
;