Home | History | Annotate | Download | only in include
      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 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      7 #define __REQUIRED_RPCNDR_H_VERSION__ 440
      8 #endif
      9 
     10 #include "rpc.h"
     11 #include "rpcndr.h"
     12 
     13 #ifndef __msdaosp_h__
     14 #define __msdaosp_h__
     15 
     16 #ifndef __DataSourceObject_FWD_DEFINED__
     17 #define __DataSourceObject_FWD_DEFINED__
     18 typedef struct DataSourceObject DataSourceObject;
     19 #endif
     20 
     21 #include "oaidl.h"
     22 
     23 #ifdef __cplusplus
     24 extern "C" {
     25 #endif
     26 
     27 #ifndef __MIDL_user_allocate_free_DEFINED__
     28 #define __MIDL_user_allocate_free_DEFINED__
     29   void *__RPC_API MIDL_user_allocate(size_t);
     30   void __RPC_API MIDL_user_free(void *);
     31 #endif
     32 
     33 #include "msdatsrc.h"
     34 #include "simpdata.h"
     35 #ifdef DBINITCONSTANTS
     36   extern const GUID CLSID_MSDAOSP = {0xdfc8bdc0,0xe378,0x11d0,{0x9b,0x30,0x0,0x80,0xc7,0xe9,0xfe,0x95}};
     37   extern const GUID DBPROPSET_PWROWSET = {0xe6e478db,0xf226,0x11d0,{0x94,0xee,0x0,0xc0,0x4f,0xb6,0x6a,0x50}};
     38 #else
     39   extern const GUID CLSID_MSDAOSP;
     40   extern const GUID DBPROPSET_PWROWSET;
     41 #endif
     42 #define PWPROP_OSPVALUE 2
     43 
     44   extern RPC_IF_HANDLE __MIDL_itf_msdaosp_0000_v0_0_c_ifspec;
     45   extern RPC_IF_HANDLE __MIDL_itf_msdaosp_0000_v0_0_s_ifspec;
     46 
     47 #ifndef __MSDAOSPT_LIBRARY_DEFINED__
     48 #define __MSDAOSPT_LIBRARY_DEFINED__
     49   EXTERN_C const IID LIBID_MSDAOSPT;
     50 #ifndef __DataSourceObject_DISPINTERFACE_DEFINED__
     51 #define __DataSourceObject_DISPINTERFACE_DEFINED__
     52   EXTERN_C const IID DIID_DataSourceObject;
     53 #if defined(__cplusplus) && !defined(CINTERFACE)
     54   struct DataSourceObject : public IDispatch {
     55   };
     56 #else
     57   typedef struct DataSourceObjectVtbl {
     58     BEGIN_INTERFACE
     59       HRESULT (WINAPI *QueryInterface)(DataSourceObject *This,REFIID riid,void **ppvObject);
     60       ULONG (WINAPI *AddRef)(DataSourceObject *This);
     61       ULONG (WINAPI *Release)(DataSourceObject *This);
     62       HRESULT (WINAPI *GetTypeInfoCount)(DataSourceObject *This,UINT *pctinfo);
     63       HRESULT (WINAPI *GetTypeInfo)(DataSourceObject *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
     64       HRESULT (WINAPI *GetIDsOfNames)(DataSourceObject *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
     65       HRESULT (WINAPI *Invoke)(DataSourceObject *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
     66     END_INTERFACE
     67   } DataSourceObjectVtbl;
     68   struct DataSourceObject {
     69     CONST_VTBL struct DataSourceObjectVtbl *lpVtbl;
     70   };
     71 #ifdef COBJMACROS
     72 #define DataSourceObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
     73 #define DataSourceObject_AddRef(This) (This)->lpVtbl->AddRef(This)
     74 #define DataSourceObject_Release(This) (This)->lpVtbl->Release(This)
     75 #define DataSourceObject_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
     76 #define DataSourceObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
     77 #define DataSourceObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
     78 #define DataSourceObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
     79 #endif
     80 #endif
     81 #endif
     82 #endif
     83 
     84 #ifdef __cplusplus
     85 }
     86 #endif
     87 #endif
     88