home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 25: Programming / pc_actual_25.iso / C_C++ / BorlandCompiler / freecommandLinetools.exe / Include / msdaosp.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-27  |  5.8 KB  |  197 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2.  
  3. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  4.  
  5. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  6.  
  7.  
  8.  /* File created by MIDL compiler version 5.03.0266 */
  9. /* at Mon May 24 10:51:39 1999
  10.  */
  11. /* Compiler settings for msdaosp.idl:
  12.     Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  13.     error checks: allocation ref bounds_check enum stub_data 
  14.     VC __declspec() decoration level: 
  15.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  16.          DECLSPEC_UUID(), MIDL_INTERFACE()
  17. */
  18. //@@MIDL_FILE_HEADING(  )
  19.  
  20.  
  21. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  22. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  23. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  24. #endif
  25.  
  26. #include "rpc.h"
  27. #include "rpcndr.h"
  28.  
  29. #ifndef __msdaosp_h__
  30. #define __msdaosp_h__
  31.  
  32. /* Forward Declarations */ 
  33.  
  34. #ifndef __DataSourceObject_FWD_DEFINED__
  35. #define __DataSourceObject_FWD_DEFINED__
  36. typedef interface DataSourceObject DataSourceObject;
  37. #endif     /* __DataSourceObject_FWD_DEFINED__ */
  38.  
  39.  
  40. /* header files for imported files */
  41. #include "oaidl.h"
  42.  
  43. #ifdef __cplusplus
  44. extern "C"{
  45. #endif 
  46.  
  47. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  48. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  49.  
  50. /* interface __MIDL_itf_msdaosp_0000 */
  51. /* [local] */ 
  52.  
  53. #include "msdatsrc.h"
  54. #include "simpdata.h"
  55. #ifdef DBINITCONSTANTS
  56. extern const GUID CLSID_MSDAOSP        = {0xdfc8bdc0,0xe378,0x11d0,{0x9b,0x30,0x0,0x80,0xc7,0xe9,0xfe,0x95}};
  57. extern const GUID DBPROPSET_PWROWSET = {0xe6e478db,0xf226,0x11d0,{0x94,0xee,0x0,0xc0,0x4f,0xb6,0x6a,0x50}};
  58. #else  // !DBINITCONSTANTS
  59. extern const GUID CLSID_MSDAOSP;
  60. extern const GUID DBPROPSET_PWROWSET;
  61. #endif // DBINITCONSTANTS
  62. #define PWPROP_OSPVALUE            2
  63.  
  64.  
  65. extern RPC_IF_HANDLE __MIDL_itf_msdaosp_0000_v0_0_c_ifspec;
  66. extern RPC_IF_HANDLE __MIDL_itf_msdaosp_0000_v0_0_s_ifspec;
  67.  
  68.  
  69. #ifndef __MSDAOSPT_LIBRARY_DEFINED__
  70. #define __MSDAOSPT_LIBRARY_DEFINED__
  71.  
  72. /* library MSDAOSPT */
  73. /* [helpstring][version][uuid] */ 
  74.  
  75.  
  76. EXTERN_C const IID LIBID_MSDAOSPT;
  77.  
  78. #ifndef __DataSourceObject_DISPINTERFACE_DEFINED__
  79. #define __DataSourceObject_DISPINTERFACE_DEFINED__
  80.  
  81. /* dispinterface DataSourceObject */
  82. /* [uuid] */ 
  83.  
  84.  
  85. EXTERN_C const IID DIID_DataSourceObject;
  86.  
  87. #if defined(__cplusplus) && !defined(CINTERFACE)
  88.  
  89.     MIDL_INTERFACE("0ae9a4e4-18d4-11d1-b3b3-00aa00c1a924")
  90.     DataSourceObject : public IDispatch
  91.     {
  92.     };
  93.     
  94. #else     /* C style interface */
  95.  
  96.     typedef struct DataSourceObjectVtbl
  97.     {
  98.         BEGIN_INTERFACE
  99.         
  100.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  101.             DataSourceObject __RPC_FAR * This,
  102.             /* [in] */ REFIID riid,
  103.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  104.         
  105.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  106.             DataSourceObject __RPC_FAR * This);
  107.         
  108.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  109.             DataSourceObject __RPC_FAR * This);
  110.         
  111.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  112.             DataSourceObject __RPC_FAR * This,
  113.             /* [out] */ UINT __RPC_FAR *pctinfo);
  114.         
  115.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  116.             DataSourceObject __RPC_FAR * This,
  117.             /* [in] */ UINT iTInfo,
  118.             /* [in] */ LCID lcid,
  119.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  120.         
  121.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  122.             DataSourceObject __RPC_FAR * This,
  123.             /* [in] */ REFIID riid,
  124.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  125.             /* [in] */ UINT cNames,
  126.             /* [in] */ LCID lcid,
  127.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  128.         
  129.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  130.             DataSourceObject __RPC_FAR * This,
  131.             /* [in] */ DISPID dispIdMember,
  132.             /* [in] */ REFIID riid,
  133.             /* [in] */ LCID lcid,
  134.             /* [in] */ WORD wFlags,
  135.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  136.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  137.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  138.             /* [out] */ UINT __RPC_FAR *puArgErr);
  139.         
  140.         END_INTERFACE
  141.     } DataSourceObjectVtbl;
  142.  
  143.     interface DataSourceObject
  144.     {
  145.         CONST_VTBL struct DataSourceObjectVtbl __RPC_FAR *lpVtbl;
  146.     };
  147.  
  148.     
  149.  
  150. #ifdef COBJMACROS
  151.  
  152.  
  153. #define DataSourceObject_QueryInterface(This,riid,ppvObject)    \
  154.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  155.  
  156. #define DataSourceObject_AddRef(This)    \
  157.     (This)->lpVtbl -> AddRef(This)
  158.  
  159. #define DataSourceObject_Release(This)    \
  160.     (This)->lpVtbl -> Release(This)
  161.  
  162.  
  163. #define DataSourceObject_GetTypeInfoCount(This,pctinfo)    \
  164.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  165.  
  166. #define DataSourceObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  167.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  168.  
  169. #define DataSourceObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  170.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  171.  
  172. #define DataSourceObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  173.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  174.  
  175. #endif /* COBJMACROS */
  176.  
  177.  
  178. #endif     /* C style interface */
  179.  
  180.  
  181. #endif     /* __DataSourceObject_DISPINTERFACE_DEFINED__ */
  182.  
  183. #endif /* __MSDAOSPT_LIBRARY_DEFINED__ */
  184.  
  185. /* Additional Prototypes for ALL interfaces */
  186.  
  187. /* end of Additional Prototypes */
  188.  
  189. #ifdef __cplusplus
  190. }
  191. #endif
  192.  
  193. #endif
  194.  
  195.  
  196. #pragma option pop /*P_O_Pop*/
  197.