source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/adserr.h@ 1175

Last change on this file since 1175 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.8 KB
Line 
1/**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6#include <winapifamily.h>
7
8#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
9
10#ifdef RC_INVOKED
11#define _HRESULT_TYPEDEF_(_sc) _sc
12#else
13#define _HRESULT_TYPEDEF_(_sc) ((HRESULT)_sc)
14#endif
15
16#define FACILITY_NULL 0
17#define FACILITY_RPC 1
18#define FACILITY_DISPATCH 2
19#define FACILITY_STORAGE 3
20#define FACILITY_ITF 4
21#define FACILITY_WIN32 7
22#define FACILITY_WINDOWS 8
23#define FACILITY_SSPI 9
24#define FACILITY_CONTROL 10
25
26#define E_ADS_BAD_PATHNAME _HRESULT_TYPEDEF_(0x80005000)
27#define E_ADS_INVALID_DOMAIN_OBJECT _HRESULT_TYPEDEF_(0x80005001)
28#define E_ADS_INVALID_USER_OBJECT _HRESULT_TYPEDEF_(0x80005002)
29#define E_ADS_INVALID_COMPUTER_OBJECT _HRESULT_TYPEDEF_(0x80005003)
30#define E_ADS_UNKNOWN_OBJECT _HRESULT_TYPEDEF_(0x80005004)
31#define E_ADS_PROPERTY_NOT_SET _HRESULT_TYPEDEF_(0x80005005)
32#define E_ADS_PROPERTY_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x80005006)
33#define E_ADS_PROPERTY_INVALID _HRESULT_TYPEDEF_(0x80005007)
34#define E_ADS_BAD_PARAMETER _HRESULT_TYPEDEF_(0x80005008)
35#define E_ADS_OBJECT_UNBOUND _HRESULT_TYPEDEF_(0x80005009)
36#define E_ADS_PROPERTY_NOT_MODIFIED _HRESULT_TYPEDEF_(0x8000500a)
37#define E_ADS_PROPERTY_MODIFIED _HRESULT_TYPEDEF_(0x8000500b)
38#define E_ADS_CANT_CONVERT_DATATYPE _HRESULT_TYPEDEF_(0x8000500c)
39#define E_ADS_PROPERTY_NOT_FOUND _HRESULT_TYPEDEF_(0x8000500d)
40#define E_ADS_OBJECT_EXISTS _HRESULT_TYPEDEF_(0x8000500e)
41#define E_ADS_SCHEMA_VIOLATION _HRESULT_TYPEDEF_(0x8000500f)
42#define E_ADS_COLUMN_NOT_SET _HRESULT_TYPEDEF_(0x80005010)
43#define S_ADS_ERRORSOCCURRED _HRESULT_TYPEDEF_(0x00005011)
44#define S_ADS_NOMORE_ROWS _HRESULT_TYPEDEF_(0x00005012)
45#define S_ADS_NOMORE_COLUMNS _HRESULT_TYPEDEF_(0x00005013)
46#define E_ADS_INVALID_FILTER _HRESULT_TYPEDEF_(0x80005014)
47
48#endif
Note: See TracBrowser for help on using the repository browser.