60 references to ERROR_SUCCESS
System (60)
net\System\Net\_ListenerAsyncResult.cs (5)
39
if (errorCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
48
if (errorCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
)
82
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
119
uint statusCode = UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
;
150
else if (statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
net\System\Net\_ListenerRequestStream.cs (4)
165
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&& statusCode != UnsafeNclNativeMethods.ErrorCodes.ERROR_HANDLE_EOF) {
264
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&& statusCode != UnsafeNclNativeMethods.ErrorCodes.ERROR_IO_PENDING) {
277
else if (statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
399
if (errorCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&& errorCode != UnsafeNclNativeMethods.ErrorCodes.ERROR_HANDLE_EOF) {
net\System\Net\_ListenerResponseStream.cs (7)
207
statusCode = UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
;
220
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&& statusCode != UnsafeNclNativeMethods.ErrorCodes.ERROR_HANDLE_EOF) {
297
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&& statusCode != UnsafeNclNativeMethods.ErrorCodes.ERROR_IO_PENDING) {
311
if (statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&& HttpListener.SkipIOCPCallbackOnSuccess)
433
statusCode = UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
;
443
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&& statusCode != UnsafeNclNativeMethods.ErrorCodes.ERROR_HANDLE_EOF) {
589
if (errorCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&& errorCode != UnsafeNclNativeMethods.ErrorCodes.ERROR_HANDLE_EOF) {
net\System\Net\_RegBlobWebProxyDataBuilder.cs (2)
110
if (errorCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
)
120
if (errorCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
)
net\System\Net\_SafeNetHandles.cs (5)
343
UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
);
386
UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
);
3058
(blob != null || errorCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
))
3066
if (errorCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
)
3081
return UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
;
net\System\Net\HttpListener.cs (19)
502
uint statusCode = UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
;
513
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
677
if (statusCode!=UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
777
uint statusCode = UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
;
800
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
812
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
906
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
952
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
988
uint statusCode = UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
;
995
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
1129
if (statusCode!=UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
1154
uint statusCode = UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
;
1191
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
)
1262
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
2301
if (statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
||
2310
if (statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&& HttpListener.SkipIOCPCallbackOnSuccess)
2415
if (statusCode!=UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
2471
if (statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
)
2506
} while (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
);
net\System\Net\HttpListenerRequest.cs (5)
121
(errorCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&& !HttpListener.SkipIOCPCallbackOnSuccess))
127
if (errorCode!=UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
852
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
860
if (statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
947
else if (statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
) {
net\System\Net\HttpListenerResponse.cs (2)
548
statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
577
statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
net\System\Net\NetworkInformation\SafeCancelMibChangeNotify.cs (1)
20
return (err == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
);
net\System\Net\NetworkInformation\TeredoHelper.cs (2)
73
uint err = UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
;
106
if (err != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
)
net\System\Net\UnsafeNativeMethods.cs (2)
2941
uint statusCode = ErrorCodes.
ERROR_SUCCESS
;
2962
supported = statusCode == ErrorCodes.
ERROR_SUCCESS
;
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (5)
278
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
284
else if (statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
537
if (statusCode != UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
542
else if (statusCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
&&
1265
if (errorCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
||
net\System\Net\WinHttpWebProxyFinder.cs (1)
280
if (errorCode == UnsafeNclNativeMethods.ErrorCodes.
ERROR_SUCCESS
)