msado15: Implement Dispatch functions in Field.
[wine.git] / include / adserr.h
blob83da568763e8cb3e9b8fe54adbdf26cdfa6feb0a
1 /*
2 * Copyright (C) 2019 Dmitry Timoshkov
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __ADSERR_H
20 #define __ADSERR_H
22 #ifdef RC_INVOKED
23 #define _HRESULT_TYPEDEF_(x) (x)
24 #else
25 #define _HRESULT_TYPEDEF_(x) ((HRESULT)x)
26 #endif
28 #define E_ADS_BAD_PATHNAME _HRESULT_TYPEDEF_(0x80005000)
29 #define E_ADS_INVALID_DOMAIN_OBJECT _HRESULT_TYPEDEF_(0x80005001)
30 #define E_ADS_INVALID_USER_OBJECT _HRESULT_TYPEDEF_(0x80005002)
31 #define E_ADS_INVALID_COMPUTER_OBJECT _HRESULT_TYPEDEF_(0x80005003)
32 #define E_ADS_UNKNOWN_OBJECT _HRESULT_TYPEDEF_(0x80005004)
33 #define E_ADS_PROPERTY_NOT_SET _HRESULT_TYPEDEF_(0x80005005)
34 #define E_ADS_PROPERTY_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x80005006)
35 #define E_ADS_PROPERTY_INVALID _HRESULT_TYPEDEF_(0x80005007)
36 #define E_ADS_BAD_PARAMETER _HRESULT_TYPEDEF_(0x80005008)
37 #define E_ADS_OBJECT_UNBOUND _HRESULT_TYPEDEF_(0x80005009)
38 #define E_ADS_PROPERTY_NOT_MODIFIED _HRESULT_TYPEDEF_(0x8000500A)
39 #define E_ADS_PROPERTY_MODIFIED _HRESULT_TYPEDEF_(0x8000500B)
40 #define E_ADS_CANT_CONVERT_DATATYPE _HRESULT_TYPEDEF_(0x8000500C)
41 #define E_ADS_PROPERTY_NOT_FOUND _HRESULT_TYPEDEF_(0x8000500D)
42 #define E_ADS_OBJECT_EXISTS _HRESULT_TYPEDEF_(0x8000500E)
43 #define E_ADS_SCHEMA_VIOLATION _HRESULT_TYPEDEF_(0x8000500F)
44 #define E_ADS_COLUMN_NOT_SET _HRESULT_TYPEDEF_(0x80005010)
45 #define S_ADS_ERRORSOCCURRED _HRESULT_TYPEDEF_(0x00005011)
46 #define S_ADS_NOMORE_ROWS _HRESULT_TYPEDEF_(0x00005012)
47 #define S_ADS_NOMORE_COLUMNS _HRESULT_TYPEDEF_(0x00005013)
48 #define E_ADS_INVALID_FILTER _HRESULT_TYPEDEF_(0x80005014)
50 #endif /* __ADSERR_H */