13 references to EvtFormatMessageFlags
System.Core (13)
Microsoft\Win32\UnsafeNativeMethods.cs (2)
1326
[MarshalAs(UnmanagedType.I4)]
EvtFormatMessageFlags
flags,
1341
[MarshalAs(UnmanagedType.I4)]
EvtFormatMessageFlags
flags,
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (6)
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);
957
public static string EvtFormatMessageRenderName(EventLogHandle pmHandle, EventLogHandle eventHandle, UnsafeNativeMethods.
EvtFormatMessageFlags
flag) {
1008
public static IEnumerable<string> EvtFormatMessageRenderKeywords(EventLogHandle pmHandle, EventLogHandle eventHandle, UnsafeNativeMethods.
EvtFormatMessageFlags
flag) {
1115
bool status = UnsafeNativeMethods.EvtFormatMessage(handle, eventHandle, 0xffffffff, values.Length, stringVariants, UnsafeNativeMethods.
EvtFormatMessageFlags
.EvtFormatMessageEvent, 0, sb, out bufferNeeded);
1139
status = UnsafeNativeMethods.EvtFormatMessage(handle, eventHandle, 0xffffffff, values.Length, stringVariants, UnsafeNativeMethods.
EvtFormatMessageFlags
.EvtFormatMessageEvent, bufferNeeded, sb, out bufferNeeded);
System\Diagnostics\Eventing\Reader\ProviderMetadataCachedInformation.cs (5)
209
return NativeWrapper.EvtFormatMessageRenderName(pm.Handle, eventHandle, UnsafeNativeMethods.
EvtFormatMessageFlags
.EvtFormatMessageEvent);
237
return NativeWrapper.EvtFormatMessageRenderName(pm.Handle, eventHandle, UnsafeNativeMethods.
EvtFormatMessageFlags
.EvtFormatMessageLevel);
247
return NativeWrapper.EvtFormatMessageRenderName(pm.Handle, eventHandle, UnsafeNativeMethods.
EvtFormatMessageFlags
.EvtFormatMessageOpcode);
257
return NativeWrapper.EvtFormatMessageRenderName(pm.Handle, eventHandle, UnsafeNativeMethods.
EvtFormatMessageFlags
.EvtFormatMessageTask);
267
return NativeWrapper.EvtFormatMessageRenderKeywords(pm.Handle, eventHandle, UnsafeNativeMethods.
EvtFormatMessageFlags
.EvtFormatMessageKeyword);