Large-scale renaming of all Win32 functions and types to use the
[wine] / include / oaidl.h
1 #ifndef __WINE_OAIDL_H
2 #define __WINE_OAIDL_H
3
4
5 #include "wine/obj_base.h"
6
7 /* the following depend only on obj_base.h */
8 #include "wine/obj_oleaut.h"
9
10
11 /*****************************************************************
12  *  SafeArray defines and structs 
13  */
14
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 )
24
25 typedef struct  tagSAFEARRAYBOUND 
26 {
27   ULONG cElements;                  /* Number of elements in dimension */
28   LONG  lLbound;                    /* Lower bound of dimension */
29 } SAFEARRAYBOUND;
30
31 typedef struct  tagSAFEARRAY
32
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;
40
41
42 typedef enum tagCALLCONV {
43     CC_CDECL    = 1,
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
53 } CALLCONV;
54
55 #endif /* _WINE_OAIDL_H */