Author: hpoussin
Date: Sun Oct 22 21:19:49 2006
New Revision: 24603
URL:
http://svn.reactos.org/svn/reactos?rev=24603&view=rev
Log:
Remove multiple definition warning
Add a few missing error codes (taken from
http://www.derkeiler.com/Newsgroups/microsoft.public.platformsdk.security/2…)
Modified:
trunk/reactos/include/psdk/winerror.h
Modified: trunk/reactos/include/psdk/winerror.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winerror.h?re…
==============================================================================
--- trunk/reactos/include/psdk/winerror.h (original)
+++ trunk/reactos/include/psdk/winerror.h Sun Oct 22 21:19:49 2006
@@ -416,31 +416,6 @@
#define ERROR_PKINIT_FAILURE 1263L
#define ERROR_SMARTCARD_SUBSYSTEM_FAILURE 1264L
#define ERROR_DOWNGRADE_DETECTED 1265L
-
-#define SEC_E_OK 0
-#define SEC_E_CERT_EXPIRED (-2146893016)
-#define SEC_E_INCOMPLETE_MESSAGE (-2146893032)
-#define SEC_E_INSUFFICIENT_MEMORY (-2146893056)
-#define SEC_E_INTERNAL_ERROR (-2146893052)
-#define SEC_E_INVALID_HANDLE (-2146893055)
-#define SEC_E_INVALID_TOKEN (-2146893048)
-#define SEC_E_LOGON_DENIED (-2146893044)
-#define SEC_E_NO_AUTHENTICATING_AUTHORITY (-2146893039)
-#define SEC_E_NO_CREDENTIALS (-2146893042)
-#define SEC_E_TARGET_UNKNOWN (-2146893053)
-#define SEC_E_UNSUPPORTED_FUNCTION (-2146893054)
-#define SEC_E_UNTRUSTED_ROOT (-2146893019)
-#define SEC_E_WRONG_PRINCIPAL (-2146893022)
-#define SEC_E_SECPKG_NOT_FOUND (-2146893051)
-#define SEC_E_QOP_NOT_SUPPORTED (-2146893046)
-#define SEC_E_UNKNOWN_CREDENTIALS (-2146893043)
-#define SEC_E_NOT_OWNER (-2146893050)
-#define SEC_I_RENEGOTIATE 590625
-#define SEC_I_COMPLETE_AND_CONTINUE 590612
-#define SEC_I_COMPLETE_NEEDED 590611
-#define SEC_I_CONTINUE_NEEDED 590610
-#define SEC_I_INCOMPLETE_CREDENTIALS 590624
-
#define ERROR_MACHINE_LOCKED 1271L
#define ERROR_CALLBACK_SUPPLIED_INVALID_DATA 1273L
#define ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED 1274L
@@ -2304,13 +2279,18 @@
#define SEC_E_NO_AUTHENTICATING_AUTHORITY
_HRESULT_TYPEDEF_(0x80090311L)
#define SEC_I_CONTINUE_NEEDED
_HRESULT_TYPEDEF_(0x00090312L)
#define SEC_I_COMPLETE_NEEDED
_HRESULT_TYPEDEF_(0x00090313L)
-#define SEC_I_COMPLETE_AND_CONTINUE _HRESULT_TYPEDEF_(0x00090314L)
+#define SEC_I_COMPLETE_AND_CONTINUE
_HRESULT_TYPEDEF_(0x00090314L)
+#define SEC_I_LOCAL_LOGON
_HRESULT_TYPEDEF_(0x00090315L)
#define SEC_E_BAD_PKGID
_HRESULT_TYPEDEF_(0x80090316L)
#define SEC_E_CONTEXT_EXPIRED
_HRESULT_TYPEDEF_(0x80090317L)
+#define SEC_I_CONTEXT_EXPIRED
_HRESULT_TYPEDEF_(0x00090317L)
#define SEC_E_INCOMPLETE_MESSAGE
_HRESULT_TYPEDEF_(0x80090318L)
#define SEC_E_INCOMPLETE_CREDENTIALS
_HRESULT_TYPEDEF_(0x80090320L)
+#define SEC_I_INCOMPLETE_CREDENTIALS
_HRESULT_TYPEDEF_(0x00090320L)
#define SEC_E_BUFFER_TOO_SMALL
_HRESULT_TYPEDEF_(0x80090321L)
+#define SEC_I_RENEGOTIATE
_HRESULT_TYPEDEF_(0x00090321L)
#define SEC_E_WRONG_PRINCIPAL
_HRESULT_TYPEDEF_(0x80090322L)
+#define SEC_I_NO_LSA_CONTEXT
_HRESULT_TYPEDEF_(0x00090323L)
#define SEC_E_TIME_SKEW
_HRESULT_TYPEDEF_(0x80090324L)
#define SEC_E_UNTRUSTED_ROOT
_HRESULT_TYPEDEF_(0x80090325L)
#define SEC_E_ILLEGAL_MESSAGE
_HRESULT_TYPEDEF_(0x80090326L)