From df99d91f264a1d4d04e48d75c8808b4715ac56f6 Mon Sep 17 00:00:00 2001 From: NN Date: Mon, 11 May 2020 15:44:11 +0300 Subject: [PATCH] Add NO_ERROR constant. (#119) --- PInvoke/Shared/WinError/Win32Error.Values.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/PInvoke/Shared/WinError/Win32Error.Values.cs b/PInvoke/Shared/WinError/Win32Error.Values.cs index ca22a679..d57ec598 100644 --- a/PInvoke/Shared/WinError/Win32Error.Values.cs +++ b/PInvoke/Shared/WinError/Win32Error.Values.cs @@ -5,6 +5,9 @@ namespace Vanara.PInvoke /// The operation completed successfully. public const uint ERROR_SUCCESS = 0x00000000; + /// The operation completed successfully. + public const uint NO_ERROR = 0x00000000; + /// The operation completed successfully. public const uint NERR_Success = 0x00000000; @@ -6275,7 +6278,7 @@ namespace Vanara.PInvoke /// Another operation that requires exclusive access to the PDC FSMO is already in progress. public const uint ERROR_DS_PDC_OPERATION_IN_PROGRESS = 0x0000212A; - /// A cross-domain move operation failed because two versions of the moved object exist—one each in the source and destination domains. The destination object needs to be removed to restore the system to a consistent state. + /// A cross-domain move operation failed because two versions of the moved object exist - one each in the source and destination domains. The destination object needs to be removed to restore the system to a consistent state. public const uint ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD = 0x0000212B; /// This object cannot be moved across domain boundaries either because cross-domain moves for this class are not allowed, or the object has some special characteristics, for example, a trust account or a restricted relative identifier (RID), that prevent its move. @@ -7184,7 +7187,7 @@ namespace Vanara.PInvoke /// Error due to lack of resources. public const uint WSA_QOS_ADMISSION_FAILURE = 0x00002B02; - /// Rejected for administrative reasons—bad credentials. + /// Rejected for administrative reasons - bad credentials. public const uint WSA_QOS_POLICY_FAILURE = 0x00002B03; /// Unknown or conflicting style.