Author: pschweitzer
Date: Tue Oct 18 20:32:50 2016
New Revision: 72991
URL:
http://svn.reactos.org/svn/reactos?rev=72991&view=rev
Log:
[PSDK]
Replace error codes that don't even exist in MS headers (but they are referenced on
MSDN?!)
Replace their usage in code
Modified:
trunk/reactos/dll/win32/advapi32/reg/reg.c
trunk/reactos/sdk/include/psdk/winerror.h
Modified: trunk/reactos/dll/win32/advapi32/reg/reg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/reg/reg…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/reg/reg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/reg/reg.c [iso-8859-1] Tue Oct 18 20:32:50 2016
@@ -3855,7 +3855,7 @@
LONG ErrorCode;
if (maxBytes >= (1024*1024))
- return ERROR_TRANSFER_TOO_LONG;
+ return ERROR_MORE_DATA;
*ldwTotsize = 0;
@@ -3919,7 +3919,7 @@
LONG ErrorCode;
if (maxBytes >= (1024*1024))
- return ERROR_TRANSFER_TOO_LONG;
+ return ERROR_MORE_DATA;
*ldwTotsize = 0;
Modified: trunk/reactos/sdk/include/psdk/winerror.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/winerror.…
==============================================================================
--- trunk/reactos/sdk/include/psdk/winerror.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/winerror.h [iso-8859-1] Tue Oct 18 20:32:50 2016
@@ -272,13 +272,13 @@
#define ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY 217
#define ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY 218
#define ERROR_INVALID_EXITROUTINE_RING 219
-#define ERROR_GETBUF_FAILED 220
-#define ERROR_FLUSHBUF_FAILED 221
-#define ERROR_TRANSFER_TOO_LONG 222
-#define ERROR_FORCENOSWAP_FAILED 223
-#define ERROR_SMG_NO_TARGET_WINDOW 224
+#define ERROR_FILE_CHECKED_OUT 220
+#define ERROR_CHECKOUT_REQUIRED 221
+#define ERROR_BAD_FILE_TYPE 222
+#define ERROR_FILE_TOO_LARGE 223
+#define ERROR_FORMS_AUTH_REQUIRED 224
#define ERROR_NO_CHILDREN 228
-#define ERROR_INVALID_SCREEN_GROUP 229
+#define ERROR_PIPE_LOCAL 229
#define ERROR_BAD_PIPE 230
#define ERROR_PIPE_BUSY 231
#define ERROR_NO_DATA 232