5 #include "wine/obj_base.h"
7 /* the following depend only on obj_base.h */
8 #include "wine/obj_oleaut.h"
11 /*****************************************************************
12 * SafeArray defines and structs
15 #define FADF_AUTO ( 0x1 )
16 #define FADF_STATIC ( 0x2 )
17 #define FADF_EMBEDDED ( 0x4 )
18 #define FADF_FIXEDSIZE ( 0x10 )
19 #define FADF_BSTR ( 0x100 )
20 #define FADF_UNKNOWN ( 0x200 )
21 #define FADF_DISPATCH ( 0x400 )
22 #define FADF_VARIANT ( 0x800 )
23 #define FADF_RESERVED ( 0xf0e8 )
25 typedef struct tagSAFEARRAYBOUND
27 ULONG cElements; /* Number of elements in dimension */
28 LONG lLbound; /* Lower bound of dimension */
31 typedef struct tagSAFEARRAY
33 USHORT cDims; /* Count of array dimension */
34 USHORT fFeatures; /* Flags describing the array */
35 ULONG cbElements; /* Size of each element */
36 ULONG cLocks; /* Number of lock on array */
37 PVOID pvData; /* Pointer to data valid when cLocks > 0 */
38 SAFEARRAYBOUND rgsabound[ 1 ]; /* One bound for each dimension */
39 } SAFEARRAY, *LPSAFEARRAY;
42 typedef enum tagCALLCONV {
44 CC_MSCPASCAL = CC_CDECL + 1,
45 CC_PASCAL = CC_MSCPASCAL,
46 CC_MACPASCAL = CC_PASCAL + 1,
47 CC_STDCALL = CC_MACPASCAL + 1,
48 CC_RESERVED = CC_STDCALL + 1,
49 CC_SYSCALL = CC_RESERVED + 1,
50 CC_MPWCDECL = CC_SYSCALL + 1,
51 CC_MPWPASCAL = CC_MPWCDECL + 1,
52 CC_MAX = CC_MPWPASCAL + 1
55 #endif /* _WINE_OAIDL_H */