Shared\MS\Utility\TraceProvider.cs (7)
560private static ManifestEtw.EtwEnableCallback _etwEnabledCallback;
574_etwEnabledCallback =new ManifestEtw.EtwEnableCallback(EtwEnableCallback);
576ManifestEtw.EventRegister(ref providerGuid, _etwEnabledCallback, null, ref registrationHandle);
584private unsafe void EtwEnableCallback(ref Guid sourceId, int isEnabled, byte level, long matchAnyKeywords, long matchAllKeywords, ManifestEtw.EVENT_FILTER_DESCRIPTOR* filterData, void* callbackContext)
611ManifestEtw.EventUnregister(_registrationHandle.Value);
626ManifestEtw.EventDescriptor eventDescriptor;
639return ManifestEtw.EventWrite(_registrationHandle.Value, ref eventDescriptor, (uint)argc, argv);