9 references to ERROR_SUCCESS
System.Core (9)
Microsoft\Win32\SafeHandles\SafePerfProviderHandle.cs (1)
25
Debug.Assert(Status == (uint)UnsafeNativeMethods.
ERROR_SUCCESS
, "PerfStopProvider() fails");
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (1)
416
if (error == UnsafeNativeMethods.
ERROR_SUCCESS
) { }
System\Diagnostics\PerformanceData\CounterSet.cs (2)
194
uint Status = (uint) UnsafeNativeMethods.
ERROR_SUCCESS
;
237
if (Status != (uint) UnsafeNativeMethods.
ERROR_SUCCESS
) {
System\Diagnostics\PerformanceData\CounterSetInstance.cs (1)
47
int Status = (int) ((m_nativeInst != null) ? UnsafeNativeMethods.
ERROR_SUCCESS
: Marshal.GetLastWin32Error());
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (1)
144
if (Status != (uint) UnsafeNativeMethods.
ERROR_SUCCESS
) {
System\Diagnostics\PerformanceData\PerfProviderCollection.cs (1)
29
if (Status != (uint) UnsafeNativeMethods.
ERROR_SUCCESS
) {
System\IO\Pipes\Pipe.cs (2)
1198
if (errorCode == UnsafeNativeMethods.
ERROR_SUCCESS
) {
1315
if (errorCode == UnsafeNativeMethods.
ERROR_SUCCESS
) {