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