30 references to ERROR_SUCCESS
mscorlib (30)
microsoft\win32\safehandles\saferegistryhandle.cs (1)
36
return (RegCloseKey(handle) == Win32Native.
ERROR_SUCCESS
);
system\io\__consolestream.cs (8)
136
if (Win32Native.
ERROR_SUCCESS
!= errCode)
162
if (Win32Native.
ERROR_SUCCESS
!= errCode)
188
return Win32Native.
ERROR_SUCCESS
;
221
return Win32Native.
ERROR_SUCCESS
;
229
return Win32Native.
ERROR_SUCCESS
;
245
return Win32Native.
ERROR_SUCCESS
;
275
return Win32Native.
ERROR_SUCCESS
;
283
return Win32Native.
ERROR_SUCCESS
;
system\io\directory.cs (1)
434
int lastError = Win32Native.
ERROR_SUCCESS
;
system\io\longpath.cs (1)
937
int lastError = Win32Native.
ERROR_SUCCESS
;
system\security\accesscontrol\nativeobjectsecurity.cs (2)
123
if ( error != Win32Native.
ERROR_SUCCESS
)
268
if ( error != Win32Native.
ERROR_SUCCESS
)
system\security\accesscontrol\securitydescriptor.cs (2)
248
else if ( error != Win32Native.
ERROR_SUCCESS
)
676
else if ( error != Win32Native.
ERROR_SUCCESS
)
system\security\accesscontrol\win32.cs (4)
163
if ( errorCode == Win32Native.
ERROR_SUCCESS
&& IntPtr.Zero.Equals(ByteArray) )
182
if ( errorCode != Win32Native.
ERROR_SUCCESS
)
218
return Win32Native.
ERROR_SUCCESS
;
352
else if ( errorCode != Win32Native.
ERROR_SUCCESS
)
system\security\cryptography\utils.cs (3)
268
if (error == Win32Native.
ERROR_SUCCESS
&& (rawSecurityDescriptor == null || rawSecurityDescriptor.Length == 0))
276
if (error != Win32Native.
ERROR_SUCCESS
)
329
else if (error != Win32Native.
ERROR_SUCCESS
)
system\security\principal\sid.cs (4)
422
else if ( Error != Win32Native.
ERROR_SUCCESS
)
524
else if ( ErrorCode != Win32Native.
ERROR_SUCCESS
)
547
else if ( Error != Win32Native.
ERROR_SUCCESS
)
755
else if ( Error != Win32Native.
ERROR_SUCCESS
)
system\security\principal\win32.cs (3)
237
return Win32Native.
ERROR_SUCCESS
;
274
return Win32Native.
ERROR_SUCCESS
;
391
return Win32Native.
ERROR_SUCCESS
;
system\threading\mutex.cs (1)
485
if( errorCode == Win32Native.
ERROR_SUCCESS
) {