8 references to ERROR_SUCCESS
System.Diagnostics.PerformanceCounter (8)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafePerfProviderHandle.cs (1)
17Debug.Assert(Status == (uint)Interop.Errors.ERROR_SUCCESS, "PerfStopProvider() fails");
src\runtime\src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeRegistryHandle.cs (1)
37Interop.Advapi32.RegCloseKey(handle) == Interop.Errors.ERROR_SUCCESS;
System\Diagnostics\CounterSampleCalculator.cs (1)
95if (result != Interop.Errors.ERROR_SUCCESS)
System\Diagnostics\PerformanceData\CounterSet.cs (2)
204uint Status = (uint)Interop.Errors.ERROR_SUCCESS; 251if (Status != (uint)Interop.Errors.ERROR_SUCCESS)
System\Diagnostics\PerformanceData\CounterSetInstance.cs (1)
37int Status = (int)((_nativeInst != null) ? Interop.Errors.ERROR_SUCCESS : Marshal.GetLastWin32Error());
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (1)
146if (Status != (uint)Interop.Errors.ERROR_SUCCESS)
System\Diagnostics\PerformanceData\PerfProviderCollection.cs (1)
22if (Status != (uint)Interop.Errors.ERROR_SUCCESS)