Author: hpoussin
Date: Sat Sep 2 02:10:56 2006
New Revision: 23874
URL:
http://svn.reactos.org/svn/reactos?rev=23874&view=rev
Log:
Add some error codes (taken from Wine)
Modified:
trunk/reactos/include/psdk/advpub.h
trunk/reactos/include/psdk/winerror.h
Modified: trunk/reactos/include/psdk/advpub.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/advpub.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/advpub.h (original)
+++ trunk/reactos/include/psdk/advpub.h Sat Sep 2 02:10:56 2006
@@ -13,7 +13,7 @@
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_ADVPUB_H
#define __WINE_ADVPUB_H
@@ -23,6 +23,10 @@
#ifdef __cplusplus
extern "C" {
+#endif
+
+#ifndef S_ASYNCHRONOUS
+#define S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x401E8L)
#endif
typedef struct _CabInfoA
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 Sat Sep 2 02:10:56 2006
@@ -2284,6 +2284,9 @@
#define SEC_E_MESSAGE_ALTERED
_HRESULT_TYPEDEF_(0x8009030FL)
#define SEC_E_OUT_OF_SEQUENCE
_HRESULT_TYPEDEF_(0x80090310L)
#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_E_BAD_PKGID
_HRESULT_TYPEDEF_(0x80090316L)
#define SEC_E_CONTEXT_EXPIRED
_HRESULT_TYPEDEF_(0x80090317L)
#define SEC_E_INCOMPLETE_MESSAGE
_HRESULT_TYPEDEF_(0x80090318L)
@@ -2453,11 +2456,86 @@
#define CRYPT_E_ASN1_EXTENDED
_HRESULT_TYPEDEF_(0x80093201L)
#define CRYPT_E_ASN1_NOEOD
_HRESULT_TYPEDEF_(0x80093202L)
+#define TRUST_E_SYSTEM_ERROR
_HRESULT_TYPEDEF_(0x80096001L)
+#define TRUST_E_NO_SIGNER_CERT
_HRESULT_TYPEDEF_(0x80096002L)
+#define TRUST_E_COUNTER_SIGNER
_HRESULT_TYPEDEF_(0x80096003L)
#define TRUST_E_CERT_SIGNATURE
_HRESULT_TYPEDEF_(0x80096004L)
+#define TRUST_E_TIME_STAMP
_HRESULT_TYPEDEF_(0x80096005L)
+#define TRUST_E_BAD_DIGEST
_HRESULT_TYPEDEF_(0x80096010L)
+#define TRUST_E_BASIC_CONSTRAINTS
_HRESULT_TYPEDEF_(0x80096019L)
+#define TRUST_E_FINANCIAL_CRITERIA
_HRESULT_TYPEDEF_(0x8009601EL)
#define TRUST_E_PROVIDER_UNKNOWN
_HRESULT_TYPEDEF_(0x800B0001L)
#define TRUST_E_ACTION_UNKNOWN
_HRESULT_TYPEDEF_(0x800B0002L)
#define TRUST_E_SUBJECT_FORM_UNKNOWN
_HRESULT_TYPEDEF_(0x800B0003L)
#define TRUST_E_SUBJECT_NOT_TRUSTED
_HRESULT_TYPEDEF_(0x800B0004L)
+#define TRUST_E_NOSIGNATURE
_HRESULT_TYPEDEF_(0x800B0100L)
+
+#define SPAPI_E_EXPECTED_SECTION_NAME
_HRESULT_TYPEDEF_(0x800F0000L)
+#define SPAPI_E_BAD_SECTION_NAME_LINE
_HRESULT_TYPEDEF_(0x800F0001L)
+#define SPAPI_E_SECTION_NAME_TOO_LONG
_HRESULT_TYPEDEF_(0x800F0002L)
+#define SPAPI_E_GENERAL_SYNTAX
_HRESULT_TYPEDEF_(0x800F0003L)
+#define SPAPI_E_WRONG_INF_STYLE
_HRESULT_TYPEDEF_(0x800F0100L)
+#define SPAPI_E_SECTION_NOT_FOUND
_HRESULT_TYPEDEF_(0x800F0101L)
+#define SPAPI_E_LINE_NOT_FOUND
_HRESULT_TYPEDEF_(0x800F0102L)
+#define SPAPI_E_NO_BACKUP
_HRESULT_TYPEDEF_(0x800F0103L)
+#define SPAPI_E_NO_ASSOCIATED_CLASS
_HRESULT_TYPEDEF_(0x800F0200L)
+#define SPAPI_E_CLASS_MISMATCH
_HRESULT_TYPEDEF_(0x800F0201L)
+#define SPAPI_E_DUPLICATE_FOUND
_HRESULT_TYPEDEF_(0x800F0202L)
+#define SPAPI_E_NO_DRIVER_SELECTED
_HRESULT_TYPEDEF_(0x800F0203L)
+#define SPAPI_E_KEY_DOES_NOT_EXIST
_HRESULT_TYPEDEF_(0x800F0204L)
+#define SPAPI_E_INVALID_DEVINST_NAME
_HRESULT_TYPEDEF_(0x800F0205L)
+#define SPAPI_E_INVALID_CLASS
_HRESULT_TYPEDEF_(0x800F0206L)
+#define SPAPI_E_DEVINST_ALREADY_EXISTS
_HRESULT_TYPEDEF_(0x800F0207L)
+#define SPAPI_E_DEVINFO_NOT_REGISTERED
_HRESULT_TYPEDEF_(0x800F0208L)
+#define SPAPI_E_INVALID_REG_PROPERTY
_HRESULT_TYPEDEF_(0x800F0209L)
+#define SPAPI_E_NO_INF
_HRESULT_TYPEDEF_(0x800F020AL)
+#define SPAPI_E_NO_SUCH_DEVINST
_HRESULT_TYPEDEF_(0x800F020BL)
+#define SPAPI_E_CANT_LOAD_CLASS_ICON
_HRESULT_TYPEDEF_(0x800F020CL)
+#define SPAPI_E_INVALID_CLASS_INSTALLER
_HRESULT_TYPEDEF_(0x800F020DL)
+#define SPAPI_E_DI_DO_DEFAULT
_HRESULT_TYPEDEF_(0x800F020EL)
+#define SPAPI_E_DI_NOFILECOPY
_HRESULT_TYPEDEF_(0x800F020FL)
+#define SPAPI_E_INVALID_HWPROFILE
_HRESULT_TYPEDEF_(0x800F0210L)
+#define SPAPI_E_NO_DEVICE_SELECTED
_HRESULT_TYPEDEF_(0x800F0211L)
+#define SPAPI_E_DEVINFO_LIST_LOCKED
_HRESULT_TYPEDEF_(0x800F0212L)
+#define SPAPI_E_DEVINFO_DATA_LOCKED
_HRESULT_TYPEDEF_(0x800F0213L)
+#define SPAPI_E_DI_BAD_PATH
_HRESULT_TYPEDEF_(0x800F0214L)
+#define SPAPI_E_NO_CLASSINSTALL_PARAMS
_HRESULT_TYPEDEF_(0x800F0215L)
+#define SPAPI_E_FILEQUEUE_LOCKED
_HRESULT_TYPEDEF_(0x800F0216L)
+#define SPAPI_E_BAD_SERVICE_INSTALLSECT
_HRESULT_TYPEDEF_(0x800F0217L)
+#define SPAPI_E_NO_CLASS_DRIVER_LIST
_HRESULT_TYPEDEF_(0x800F0218L)
+#define SPAPI_E_NO_ASSOCIATED_SERVICE
_HRESULT_TYPEDEF_(0x800F0219L)
+#define SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE
_HRESULT_TYPEDEF_(0x800F021AL)
+#define SPAPI_E_DEVICE_INTERFACE_ACTIVE
_HRESULT_TYPEDEF_(0x800F021BL)
+#define SPAPI_E_DEVICE_INTERFACE_REMOVED
_HRESULT_TYPEDEF_(0x800F021CL)
+#define SPAPI_E_BAD_INTERFACE_INSTALLSECT
_HRESULT_TYPEDEF_(0x800F021DL)
+#define SPAPI_E_NO_SUCH_INTERFACE_CLASS
_HRESULT_TYPEDEF_(0x800F021EL)
+#define SPAPI_E_INVALID_REFERENCE_STRING
_HRESULT_TYPEDEF_(0x800F021FL)
+#define SPAPI_E_INVALID_MACHINENAME
_HRESULT_TYPEDEF_(0x800F0220L)
+#define SPAPI_E_REMOTE_COMM_FAILURE
_HRESULT_TYPEDEF_(0x800F0221L)
+#define SPAPI_E_MACHINE_UNAVAILABLE
_HRESULT_TYPEDEF_(0x800F0222L)
+#define SPAPI_E_NO_CONFIGMGR_SERVICES
_HRESULT_TYPEDEF_(0x800F0223L)
+#define SPAPI_E_INVALID_PROPPAGE_PROVIDER
_HRESULT_TYPEDEF_(0x800F0224L)
+#define SPAPI_E_NO_SUCH_DEVICE_INTERFACE
_HRESULT_TYPEDEF_(0x800F0225L)
+#define SPAPI_E_DI_POSTPROCESSING_REQUIRED
_HRESULT_TYPEDEF_(0x800F0226L)
+#define SPAPI_E_INVALID_COINSTALLER
_HRESULT_TYPEDEF_(0x800F0227L)
+#define SPAPI_E_NO_COMPAT_DRIVERS
_HRESULT_TYPEDEF_(0x800F0228L)
+#define SPAPI_E_NO_DEVICE_ICON
_HRESULT_TYPEDEF_(0x800F0229L)
+#define SPAPI_E_INVALID_INF_LOGCONFIG
_HRESULT_TYPEDEF_(0x800F022AL)
+#define SPAPI_E_DI_DONT_INSTALL
_HRESULT_TYPEDEF_(0x800F022BL)
+#define SPAPI_E_INVALID_FILTER_DRIVER
_HRESULT_TYPEDEF_(0x800F022CL)
+#define SPAPI_E_NON_WINDOWS_NT_DRIVER
_HRESULT_TYPEDEF_(0x800F022DL)
+#define SPAPI_E_NON_WINDOWS_DRIVER
_HRESULT_TYPEDEF_(0x800F022EL)
+#define SPAPI_E_NO_CATALOG_FOR_OEM_INF
_HRESULT_TYPEDEF_(0x800F022FL)
+#define SPAPI_E_DEVINSTALL_QUEUE_NONNATIVE
_HRESULT_TYPEDEF_(0x800F0230L)
+#define SPAPI_E_NOT_DISABLEABLE
_HRESULT_TYPEDEF_(0x800F0231L)
+#define SPAPI_E_CANT_REMOVE_DEVINST
_HRESULT_TYPEDEF_(0x800F0232L)
+#define SPAPI_E_INVALID_TARGET
_HRESULT_TYPEDEF_(0x800F0233L)
+#define SPAPI_E_DRIVER_NONNATIVE
_HRESULT_TYPEDEF_(0x800F0234L)
+#define SPAPI_E_IN_WOW64
_HRESULT_TYPEDEF_(0x800F0235L)
+#define SPAPI_E_SET_SYSTEM_RESTORE_POINT
_HRESULT_TYPEDEF_(0x800F0236L)
+#define SPAPI_E_INCORRECTLY_COPIED_INF
_HRESULT_TYPEDEF_(0x800F0237L)
+#define SPAPI_E_SCE_DISABLED
_HRESULT_TYPEDEF_(0x800F0238L)
+#define SPAPI_E_ERROR_NOT_INSTALLED
_HRESULT_TYPEDEF_(0x800F1000L)
/* Smart card management error codes */
#define SCARD_E_NO_SMARTCARD
_HRESULT_TYPEDEF_(0x8010000CL)