1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #ifdef RC_INVOKED 7 #define _HRESULT_TYPEDEF_(_sc) _sc 8 #else 9 #define _HRESULT_TYPEDEF_(_sc) ((HRESULT)_sc) 10 #endif 11 12 #define FACILITY_WINDOWS 8 13 #define FACILITY_STORAGE 3 14 #define FACILITY_RPC 1 15 #define FACILITY_SSPI 9 16 #define FACILITY_WIN32 7 17 #define FACILITY_CONTROL 10 18 #define FACILITY_NULL 0 19 #define FACILITY_ITF 4 20 #define FACILITY_DISPATCH 2 21 22 #define E_ADS_BAD_PATHNAME _HRESULT_TYPEDEF_(0x80005000) 23 #define E_ADS_INVALID_DOMAIN_OBJECT _HRESULT_TYPEDEF_(0x80005001) 24 #define E_ADS_INVALID_USER_OBJECT _HRESULT_TYPEDEF_(0x80005002) 25 #define E_ADS_INVALID_COMPUTER_OBJECT _HRESULT_TYPEDEF_(0x80005003) 26 #define E_ADS_UNKNOWN_OBJECT _HRESULT_TYPEDEF_(0x80005004) 27 #define E_ADS_PROPERTY_NOT_SET _HRESULT_TYPEDEF_(0x80005005) 28 #define E_ADS_PROPERTY_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x80005006) 29 #define E_ADS_PROPERTY_INVALID _HRESULT_TYPEDEF_(0x80005007) 30 #define E_ADS_BAD_PARAMETER _HRESULT_TYPEDEF_(0x80005008) 31 #define E_ADS_OBJECT_UNBOUND _HRESULT_TYPEDEF_(0x80005009) 32 #define E_ADS_PROPERTY_NOT_MODIFIED _HRESULT_TYPEDEF_(0x8000500A) 33 #define E_ADS_PROPERTY_MODIFIED _HRESULT_TYPEDEF_(0x8000500B) 34 #define E_ADS_CANT_CONVERT_DATATYPE _HRESULT_TYPEDEF_(0x8000500C) 35 #define E_ADS_PROPERTY_NOT_FOUND _HRESULT_TYPEDEF_(0x8000500D) 36 #define E_ADS_OBJECT_EXISTS _HRESULT_TYPEDEF_(0x8000500E) 37 #define E_ADS_SCHEMA_VIOLATION _HRESULT_TYPEDEF_(0x8000500F) 38 #define E_ADS_COLUMN_NOT_SET _HRESULT_TYPEDEF_(0x80005010) 39 #define S_ADS_ERRORSOCCURRED _HRESULT_TYPEDEF_(0x00005011) 40 #define S_ADS_NOMORE_ROWS _HRESULT_TYPEDEF_(0x00005012) 41 #define S_ADS_NOMORE_COLUMNS _HRESULT_TYPEDEF_(0x00005013) 42 #define E_ADS_INVALID_FILTER _HRESULT_TYPEDEF_(0x80005014) 43