SimpData.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:26k
源码类别:

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for simpdata.idl:
  5.     Oicf, W1, Zp8, env=Win32 (32b run)
  6.     protocol : dce , ms_ext, c_ext
  7.     error checks: allocation ref bounds_check enum stub_data 
  8.     VC __declspec() decoration level: 
  9.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10.          DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __simpdata_h__
  20. #define __simpdata_h__
  21. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  22. #pragma once
  23. #endif
  24. /* Forward Declarations */ 
  25. #ifndef __OLEDBSimpleProviderListener_FWD_DEFINED__
  26. #define __OLEDBSimpleProviderListener_FWD_DEFINED__
  27. typedef interface OLEDBSimpleProviderListener OLEDBSimpleProviderListener;
  28. #endif  /* __OLEDBSimpleProviderListener_FWD_DEFINED__ */
  29. #ifndef __OLEDBSimpleProvider_FWD_DEFINED__
  30. #define __OLEDBSimpleProvider_FWD_DEFINED__
  31. typedef interface OLEDBSimpleProvider OLEDBSimpleProvider;
  32. #endif  /* __OLEDBSimpleProvider_FWD_DEFINED__ */
  33. /* header files for imported files */
  34. #include "oaidl.h"
  35. #ifdef __cplusplus
  36. extern "C"{
  37. #endif 
  38. void * __RPC_USER MIDL_user_allocate(size_t);
  39. void __RPC_USER MIDL_user_free( void * ); 
  40. /* interface __MIDL_itf_simpdata_0000 */
  41. /* [local] */ 
  42. //=--------------------------------------------------------------------------=
  43. // simpdata.h
  44. //=--------------------------------------------------------------------------=
  45. // (C) Copyright 1995-1996 Microsoft Corporation.  All Rights Reserved.
  46. //
  47. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  48. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  49. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  50. // PARTICULAR PURPOSE.
  51. //=--------------------------------------------------------------------------=
  52. #pragma comment(lib,"uuid.lib")
  53. //--------------------------------------------------------------------------
  54. // OLE DB Simple Provider Toolkit
  55. #ifndef SIMPDATA_H
  56. #define SIMPDATA_H
  57. #ifdef _WIN64
  58. typedef LONGLONG DBROWCOUNT;
  59. typedef LONGLONG DB_LORDINAL;
  60. #else
  61. typedef LONG DBROWCOUNT;
  62. typedef LONG DB_LORDINAL;
  63. #endif // _WIN64
  64. #define OSP_IndexLabel      (0)
  65. #define OSP_IndexAll        (~0)
  66. #define OSP_IndexUnknown    (~0)
  67. extern RPC_IF_HANDLE __MIDL_itf_simpdata_0000_v0_0_c_ifspec;
  68. extern RPC_IF_HANDLE __MIDL_itf_simpdata_0000_v0_0_s_ifspec;
  69. #ifndef __MSDAOSP_LIBRARY_DEFINED__
  70. #define __MSDAOSP_LIBRARY_DEFINED__
  71. /* library MSDAOSP */
  72. /* [version][lcid][helpstring][uuid] */ 
  73. typedef 
  74. enum OSPFORMAT
  75.     { OSPFORMAT_RAW = 0,
  76. OSPFORMAT_DEFAULT = 0,
  77. OSPFORMAT_FORMATTED = 1,
  78. OSPFORMAT_HTML = 2
  79.     }  OSPFORMAT;
  80. typedef 
  81. enum OSPRW
  82.     { OSPRW_DEFAULT = 1,
  83. OSPRW_READONLY = 0,
  84. OSPRW_READWRITE = 1,
  85. OSPRW_MIXED = 2
  86.     }  OSPRW;
  87. typedef 
  88. enum OSPFIND
  89.     { OSPFIND_DEFAULT = 0,
  90. OSPFIND_UP = 1,
  91. OSPFIND_CASESENSITIVE = 2,
  92. OSPFIND_UPCASESENSITIVE = 3
  93.     }  OSPFIND;
  94. typedef 
  95. enum OSPCOMP
  96.     { OSPCOMP_EQ = 1,
  97. OSPCOMP_DEFAULT = 1,
  98. OSPCOMP_LT = 2,
  99. OSPCOMP_LE = 3,
  100. OSPCOMP_GE = 4,
  101. OSPCOMP_GT = 5,
  102. OSPCOMP_NE = 6
  103.     }  OSPCOMP;
  104. typedef 
  105. enum OSPXFER
  106.     { OSPXFER_COMPLETE = 0,
  107. OSPXFER_ABORT = 1,
  108. OSPXFER_ERROR = 2
  109.     }  OSPXFER;
  110. typedef OLEDBSimpleProvider *LPOLEDBSimpleProvider;
  111. EXTERN_C const IID LIBID_MSDAOSP;
  112. #ifndef __OLEDBSimpleProviderListener_INTERFACE_DEFINED__
  113. #define __OLEDBSimpleProviderListener_INTERFACE_DEFINED__
  114. /* interface OLEDBSimpleProviderListener */
  115. /* [version][oleautomation][unique][uuid][object] */ 
  116. EXTERN_C const IID IID_OLEDBSimpleProviderListener;
  117. #if defined(__cplusplus) && !defined(CINTERFACE)
  118.     
  119.     MIDL_INTERFACE("E0E270C1-C0BE-11d0-8FE4-00A0C90A6341")
  120.     OLEDBSimpleProviderListener : public IUnknown
  121.     {
  122.     public:
  123.         virtual HRESULT STDMETHODCALLTYPE aboutToChangeCell( 
  124.             /* [in] */ DBROWCOUNT iRow,
  125.             /* [in] */ DB_LORDINAL iColumn) = 0;
  126.         
  127.         virtual HRESULT STDMETHODCALLTYPE cellChanged( 
  128.             /* [in] */ DBROWCOUNT iRow,
  129.             /* [in] */ DB_LORDINAL iColumn) = 0;
  130.         
  131.         virtual HRESULT STDMETHODCALLTYPE aboutToDeleteRows( 
  132.             /* [in] */ DBROWCOUNT iRow,
  133.             /* [in] */ DBROWCOUNT cRows) = 0;
  134.         
  135.         virtual HRESULT STDMETHODCALLTYPE deletedRows( 
  136.             /* [in] */ DBROWCOUNT iRow,
  137.             /* [in] */ DBROWCOUNT cRows) = 0;
  138.         
  139.         virtual HRESULT STDMETHODCALLTYPE aboutToInsertRows( 
  140.             /* [in] */ DBROWCOUNT iRow,
  141.             /* [in] */ DBROWCOUNT cRows) = 0;
  142.         
  143.         virtual HRESULT STDMETHODCALLTYPE insertedRows( 
  144.             /* [in] */ DBROWCOUNT iRow,
  145.             /* [in] */ DBROWCOUNT cRows) = 0;
  146.         
  147.         virtual HRESULT STDMETHODCALLTYPE rowsAvailable( 
  148.             /* [in] */ DBROWCOUNT iRow,
  149.             /* [in] */ DBROWCOUNT cRows) = 0;
  150.         
  151.         virtual HRESULT STDMETHODCALLTYPE transferComplete( 
  152.             /* [in] */ OSPXFER xfer) = 0;
  153.         
  154.     };
  155.     
  156. #else  /* C style interface */
  157.     typedef struct OLEDBSimpleProviderListenerVtbl
  158.     {
  159.         BEGIN_INTERFACE
  160.         
  161.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  162.             OLEDBSimpleProviderListener * This,
  163.             /* [in] */ REFIID riid,
  164.             /* [iid_is][out] */ void **ppvObject);
  165.         
  166.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  167.             OLEDBSimpleProviderListener * This);
  168.         
  169.         ULONG ( STDMETHODCALLTYPE *Release )( 
  170.             OLEDBSimpleProviderListener * This);
  171.         
  172.         HRESULT ( STDMETHODCALLTYPE *aboutToChangeCell )( 
  173.             OLEDBSimpleProviderListener * This,
  174.             /* [in] */ DBROWCOUNT iRow,
  175.             /* [in] */ DB_LORDINAL iColumn);
  176.         
  177.         HRESULT ( STDMETHODCALLTYPE *cellChanged )( 
  178.             OLEDBSimpleProviderListener * This,
  179.             /* [in] */ DBROWCOUNT iRow,
  180.             /* [in] */ DB_LORDINAL iColumn);
  181.         
  182.         HRESULT ( STDMETHODCALLTYPE *aboutToDeleteRows )( 
  183.             OLEDBSimpleProviderListener * This,
  184.             /* [in] */ DBROWCOUNT iRow,
  185.             /* [in] */ DBROWCOUNT cRows);
  186.         
  187.         HRESULT ( STDMETHODCALLTYPE *deletedRows )( 
  188.             OLEDBSimpleProviderListener * This,
  189.             /* [in] */ DBROWCOUNT iRow,
  190.             /* [in] */ DBROWCOUNT cRows);
  191.         
  192.         HRESULT ( STDMETHODCALLTYPE *aboutToInsertRows )( 
  193.             OLEDBSimpleProviderListener * This,
  194.             /* [in] */ DBROWCOUNT iRow,
  195.             /* [in] */ DBROWCOUNT cRows);
  196.         
  197.         HRESULT ( STDMETHODCALLTYPE *insertedRows )( 
  198.             OLEDBSimpleProviderListener * This,
  199.             /* [in] */ DBROWCOUNT iRow,
  200.             /* [in] */ DBROWCOUNT cRows);
  201.         
  202.         HRESULT ( STDMETHODCALLTYPE *rowsAvailable )( 
  203.             OLEDBSimpleProviderListener * This,
  204.             /* [in] */ DBROWCOUNT iRow,
  205.             /* [in] */ DBROWCOUNT cRows);
  206.         
  207.         HRESULT ( STDMETHODCALLTYPE *transferComplete )( 
  208.             OLEDBSimpleProviderListener * This,
  209.             /* [in] */ OSPXFER xfer);
  210.         
  211.         END_INTERFACE
  212.     } OLEDBSimpleProviderListenerVtbl;
  213.     interface OLEDBSimpleProviderListener
  214.     {
  215.         CONST_VTBL struct OLEDBSimpleProviderListenerVtbl *lpVtbl;
  216.     };
  217.     
  218. #ifdef COBJMACROS
  219. #define OLEDBSimpleProviderListener_QueryInterface(This,riid,ppvObject)
  220.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  221. #define OLEDBSimpleProviderListener_AddRef(This)
  222.     (This)->lpVtbl -> AddRef(This)
  223. #define OLEDBSimpleProviderListener_Release(This)
  224.     (This)->lpVtbl -> Release(This)
  225. #define OLEDBSimpleProviderListener_aboutToChangeCell(This,iRow,iColumn)
  226.     (This)->lpVtbl -> aboutToChangeCell(This,iRow,iColumn)
  227. #define OLEDBSimpleProviderListener_cellChanged(This,iRow,iColumn)
  228.     (This)->lpVtbl -> cellChanged(This,iRow,iColumn)
  229. #define OLEDBSimpleProviderListener_aboutToDeleteRows(This,iRow,cRows)
  230.     (This)->lpVtbl -> aboutToDeleteRows(This,iRow,cRows)
  231. #define OLEDBSimpleProviderListener_deletedRows(This,iRow,cRows)
  232.     (This)->lpVtbl -> deletedRows(This,iRow,cRows)
  233. #define OLEDBSimpleProviderListener_aboutToInsertRows(This,iRow,cRows)
  234.     (This)->lpVtbl -> aboutToInsertRows(This,iRow,cRows)
  235. #define OLEDBSimpleProviderListener_insertedRows(This,iRow,cRows)
  236.     (This)->lpVtbl -> insertedRows(This,iRow,cRows)
  237. #define OLEDBSimpleProviderListener_rowsAvailable(This,iRow,cRows)
  238.     (This)->lpVtbl -> rowsAvailable(This,iRow,cRows)
  239. #define OLEDBSimpleProviderListener_transferComplete(This,xfer)
  240.     (This)->lpVtbl -> transferComplete(This,xfer)
  241. #endif /* COBJMACROS */
  242. #endif  /* C style interface */
  243. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_aboutToChangeCell_Proxy( 
  244.     OLEDBSimpleProviderListener * This,
  245.     /* [in] */ DBROWCOUNT iRow,
  246.     /* [in] */ DB_LORDINAL iColumn);
  247. void __RPC_STUB OLEDBSimpleProviderListener_aboutToChangeCell_Stub(
  248.     IRpcStubBuffer *This,
  249.     IRpcChannelBuffer *_pRpcChannelBuffer,
  250.     PRPC_MESSAGE _pRpcMessage,
  251.     DWORD *_pdwStubPhase);
  252. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_cellChanged_Proxy( 
  253.     OLEDBSimpleProviderListener * This,
  254.     /* [in] */ DBROWCOUNT iRow,
  255.     /* [in] */ DB_LORDINAL iColumn);
  256. void __RPC_STUB OLEDBSimpleProviderListener_cellChanged_Stub(
  257.     IRpcStubBuffer *This,
  258.     IRpcChannelBuffer *_pRpcChannelBuffer,
  259.     PRPC_MESSAGE _pRpcMessage,
  260.     DWORD *_pdwStubPhase);
  261. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_aboutToDeleteRows_Proxy( 
  262.     OLEDBSimpleProviderListener * This,
  263.     /* [in] */ DBROWCOUNT iRow,
  264.     /* [in] */ DBROWCOUNT cRows);
  265. void __RPC_STUB OLEDBSimpleProviderListener_aboutToDeleteRows_Stub(
  266.     IRpcStubBuffer *This,
  267.     IRpcChannelBuffer *_pRpcChannelBuffer,
  268.     PRPC_MESSAGE _pRpcMessage,
  269.     DWORD *_pdwStubPhase);
  270. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_deletedRows_Proxy( 
  271.     OLEDBSimpleProviderListener * This,
  272.     /* [in] */ DBROWCOUNT iRow,
  273.     /* [in] */ DBROWCOUNT cRows);
  274. void __RPC_STUB OLEDBSimpleProviderListener_deletedRows_Stub(
  275.     IRpcStubBuffer *This,
  276.     IRpcChannelBuffer *_pRpcChannelBuffer,
  277.     PRPC_MESSAGE _pRpcMessage,
  278.     DWORD *_pdwStubPhase);
  279. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_aboutToInsertRows_Proxy( 
  280.     OLEDBSimpleProviderListener * This,
  281.     /* [in] */ DBROWCOUNT iRow,
  282.     /* [in] */ DBROWCOUNT cRows);
  283. void __RPC_STUB OLEDBSimpleProviderListener_aboutToInsertRows_Stub(
  284.     IRpcStubBuffer *This,
  285.     IRpcChannelBuffer *_pRpcChannelBuffer,
  286.     PRPC_MESSAGE _pRpcMessage,
  287.     DWORD *_pdwStubPhase);
  288. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_insertedRows_Proxy( 
  289.     OLEDBSimpleProviderListener * This,
  290.     /* [in] */ DBROWCOUNT iRow,
  291.     /* [in] */ DBROWCOUNT cRows);
  292. void __RPC_STUB OLEDBSimpleProviderListener_insertedRows_Stub(
  293.     IRpcStubBuffer *This,
  294.     IRpcChannelBuffer *_pRpcChannelBuffer,
  295.     PRPC_MESSAGE _pRpcMessage,
  296.     DWORD *_pdwStubPhase);
  297. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_rowsAvailable_Proxy( 
  298.     OLEDBSimpleProviderListener * This,
  299.     /* [in] */ DBROWCOUNT iRow,
  300.     /* [in] */ DBROWCOUNT cRows);
  301. void __RPC_STUB OLEDBSimpleProviderListener_rowsAvailable_Stub(
  302.     IRpcStubBuffer *This,
  303.     IRpcChannelBuffer *_pRpcChannelBuffer,
  304.     PRPC_MESSAGE _pRpcMessage,
  305.     DWORD *_pdwStubPhase);
  306. HRESULT STDMETHODCALLTYPE OLEDBSimpleProviderListener_transferComplete_Proxy( 
  307.     OLEDBSimpleProviderListener * This,
  308.     /* [in] */ OSPXFER xfer);
  309. void __RPC_STUB OLEDBSimpleProviderListener_transferComplete_Stub(
  310.     IRpcStubBuffer *This,
  311.     IRpcChannelBuffer *_pRpcChannelBuffer,
  312.     PRPC_MESSAGE _pRpcMessage,
  313.     DWORD *_pdwStubPhase);
  314. #endif  /* __OLEDBSimpleProviderListener_INTERFACE_DEFINED__ */
  315. #ifndef __OLEDBSimpleProvider_INTERFACE_DEFINED__
  316. #define __OLEDBSimpleProvider_INTERFACE_DEFINED__
  317. /* interface OLEDBSimpleProvider */
  318. /* [version][oleautomation][unique][uuid][object] */ 
  319. EXTERN_C const IID IID_OLEDBSimpleProvider;
  320. #if defined(__cplusplus) && !defined(CINTERFACE)
  321.     
  322.     MIDL_INTERFACE("E0E270C0-C0BE-11d0-8FE4-00A0C90A6341")
  323.     OLEDBSimpleProvider : public IUnknown
  324.     {
  325.     public:
  326.         virtual HRESULT STDMETHODCALLTYPE getRowCount( 
  327.             /* [retval][out] */ DBROWCOUNT *pcRows) = 0;
  328.         
  329.         virtual HRESULT STDMETHODCALLTYPE getColumnCount( 
  330.             /* [retval][out] */ DB_LORDINAL *pcColumns) = 0;
  331.         
  332.         virtual HRESULT STDMETHODCALLTYPE getRWStatus( 
  333.             /* [in] */ DBROWCOUNT iRow,
  334.             /* [in] */ DB_LORDINAL iColumn,
  335.             /* [retval][out] */ OSPRW *prwStatus) = 0;
  336.         
  337.         virtual HRESULT STDMETHODCALLTYPE getVariant( 
  338.             /* [in] */ DBROWCOUNT iRow,
  339.             /* [in] */ DB_LORDINAL iColumn,
  340.             /* [in] */ OSPFORMAT format,
  341.             /* [retval][out] */ VARIANT *pVar) = 0;
  342.         
  343.         virtual HRESULT STDMETHODCALLTYPE setVariant( 
  344.             /* [in] */ DBROWCOUNT iRow,
  345.             /* [in] */ DB_LORDINAL iColumn,
  346.             /* [in] */ OSPFORMAT format,
  347.             /* [in] */ VARIANT Var) = 0;
  348.         
  349.         virtual HRESULT STDMETHODCALLTYPE getLocale( 
  350.             /* [retval][out] */ BSTR *pbstrLocale) = 0;
  351.         
  352.         virtual HRESULT STDMETHODCALLTYPE deleteRows( 
  353.             /* [in] */ DBROWCOUNT iRow,
  354.             /* [in] */ DBROWCOUNT cRows,
  355.             /* [retval][out] */ DBROWCOUNT *pcRowsDeleted) = 0;
  356.         
  357.         virtual HRESULT STDMETHODCALLTYPE insertRows( 
  358.             /* [in] */ DBROWCOUNT iRow,
  359.             /* [in] */ DBROWCOUNT cRows,
  360.             /* [retval][out] */ DBROWCOUNT *pcRowsInserted) = 0;
  361.         
  362.         virtual HRESULT STDMETHODCALLTYPE find( 
  363.             /* [in] */ DBROWCOUNT iRowStart,
  364.             /* [in] */ DB_LORDINAL iColumn,
  365.             /* [in] */ VARIANT val,
  366.             /* [in] */ OSPFIND findFlags,
  367.             /* [in] */ OSPCOMP compType,
  368.             /* [retval][out] */ DBROWCOUNT *piRowFound) = 0;
  369.         
  370.         virtual HRESULT STDMETHODCALLTYPE addOLEDBSimpleProviderListener( 
  371.             /* [in] */ OLEDBSimpleProviderListener *pospIListener) = 0;
  372.         
  373.         virtual HRESULT STDMETHODCALLTYPE removeOLEDBSimpleProviderListener( 
  374.             /* [in] */ OLEDBSimpleProviderListener *pospIListener) = 0;
  375.         
  376.         virtual HRESULT STDMETHODCALLTYPE isAsync( 
  377.             /* [retval][out] */ BOOL *pbAsynch) = 0;
  378.         
  379.         virtual HRESULT STDMETHODCALLTYPE getEstimatedRows( 
  380.             /* [retval][out] */ DBROWCOUNT *piRows) = 0;
  381.         
  382.         virtual HRESULT STDMETHODCALLTYPE stopTransfer( void) = 0;
  383.         
  384.     };
  385.     
  386. #else  /* C style interface */
  387.     typedef struct OLEDBSimpleProviderVtbl
  388.     {
  389.         BEGIN_INTERFACE
  390.         
  391.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  392.             OLEDBSimpleProvider * This,
  393.             /* [in] */ REFIID riid,
  394.             /* [iid_is][out] */ void **ppvObject);
  395.         
  396.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  397.             OLEDBSimpleProvider * This);
  398.         
  399.         ULONG ( STDMETHODCALLTYPE *Release )( 
  400.             OLEDBSimpleProvider * This);
  401.         
  402.         HRESULT ( STDMETHODCALLTYPE *getRowCount )( 
  403.             OLEDBSimpleProvider * This,
  404.             /* [retval][out] */ DBROWCOUNT *pcRows);
  405.         
  406.         HRESULT ( STDMETHODCALLTYPE *getColumnCount )( 
  407.             OLEDBSimpleProvider * This,
  408.             /* [retval][out] */ DB_LORDINAL *pcColumns);
  409.         
  410.         HRESULT ( STDMETHODCALLTYPE *getRWStatus )( 
  411.             OLEDBSimpleProvider * This,
  412.             /* [in] */ DBROWCOUNT iRow,
  413.             /* [in] */ DB_LORDINAL iColumn,
  414.             /* [retval][out] */ OSPRW *prwStatus);
  415.         
  416.         HRESULT ( STDMETHODCALLTYPE *getVariant )( 
  417.             OLEDBSimpleProvider * This,
  418.             /* [in] */ DBROWCOUNT iRow,
  419.             /* [in] */ DB_LORDINAL iColumn,
  420.             /* [in] */ OSPFORMAT format,
  421.             /* [retval][out] */ VARIANT *pVar);
  422.         
  423.         HRESULT ( STDMETHODCALLTYPE *setVariant )( 
  424.             OLEDBSimpleProvider * This,
  425.             /* [in] */ DBROWCOUNT iRow,
  426.             /* [in] */ DB_LORDINAL iColumn,
  427.             /* [in] */ OSPFORMAT format,
  428.             /* [in] */ VARIANT Var);
  429.         
  430.         HRESULT ( STDMETHODCALLTYPE *getLocale )( 
  431.             OLEDBSimpleProvider * This,
  432.             /* [retval][out] */ BSTR *pbstrLocale);
  433.         
  434.         HRESULT ( STDMETHODCALLTYPE *deleteRows )( 
  435.             OLEDBSimpleProvider * This,
  436.             /* [in] */ DBROWCOUNT iRow,
  437.             /* [in] */ DBROWCOUNT cRows,
  438.             /* [retval][out] */ DBROWCOUNT *pcRowsDeleted);
  439.         
  440.         HRESULT ( STDMETHODCALLTYPE *insertRows )( 
  441.             OLEDBSimpleProvider * This,
  442.             /* [in] */ DBROWCOUNT iRow,
  443.             /* [in] */ DBROWCOUNT cRows,
  444.             /* [retval][out] */ DBROWCOUNT *pcRowsInserted);
  445.         
  446.         HRESULT ( STDMETHODCALLTYPE *find )( 
  447.             OLEDBSimpleProvider * This,
  448.             /* [in] */ DBROWCOUNT iRowStart,
  449.             /* [in] */ DB_LORDINAL iColumn,
  450.             /* [in] */ VARIANT val,
  451.             /* [in] */ OSPFIND findFlags,
  452.             /* [in] */ OSPCOMP compType,
  453.             /* [retval][out] */ DBROWCOUNT *piRowFound);
  454.         
  455.         HRESULT ( STDMETHODCALLTYPE *addOLEDBSimpleProviderListener )( 
  456.             OLEDBSimpleProvider * This,
  457.             /* [in] */ OLEDBSimpleProviderListener *pospIListener);
  458.         
  459.         HRESULT ( STDMETHODCALLTYPE *removeOLEDBSimpleProviderListener )( 
  460.             OLEDBSimpleProvider * This,
  461.             /* [in] */ OLEDBSimpleProviderListener *pospIListener);
  462.         
  463.         HRESULT ( STDMETHODCALLTYPE *isAsync )( 
  464.             OLEDBSimpleProvider * This,
  465.             /* [retval][out] */ BOOL *pbAsynch);
  466.         
  467.         HRESULT ( STDMETHODCALLTYPE *getEstimatedRows )( 
  468.             OLEDBSimpleProvider * This,
  469.             /* [retval][out] */ DBROWCOUNT *piRows);
  470.         
  471.         HRESULT ( STDMETHODCALLTYPE *stopTransfer )( 
  472.             OLEDBSimpleProvider * This);
  473.         
  474.         END_INTERFACE
  475.     } OLEDBSimpleProviderVtbl;
  476.     interface OLEDBSimpleProvider
  477.     {
  478.         CONST_VTBL struct OLEDBSimpleProviderVtbl *lpVtbl;
  479.     };
  480.     
  481. #ifdef COBJMACROS
  482. #define OLEDBSimpleProvider_QueryInterface(This,riid,ppvObject)
  483.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  484. #define OLEDBSimpleProvider_AddRef(This)
  485.     (This)->lpVtbl -> AddRef(This)
  486. #define OLEDBSimpleProvider_Release(This)
  487.     (This)->lpVtbl -> Release(This)
  488. #define OLEDBSimpleProvider_getRowCount(This,pcRows)
  489.     (This)->lpVtbl -> getRowCount(This,pcRows)
  490. #define OLEDBSimpleProvider_getColumnCount(This,pcColumns)
  491.     (This)->lpVtbl -> getColumnCount(This,pcColumns)
  492. #define OLEDBSimpleProvider_getRWStatus(This,iRow,iColumn,prwStatus)
  493.     (This)->lpVtbl -> getRWStatus(This,iRow,iColumn,prwStatus)
  494. #define OLEDBSimpleProvider_getVariant(This,iRow,iColumn,format,pVar)
  495.     (This)->lpVtbl -> getVariant(This,iRow,iColumn,format,pVar)
  496. #define OLEDBSimpleProvider_setVariant(This,iRow,iColumn,format,Var)
  497.     (This)->lpVtbl -> setVariant(This,iRow,iColumn,format,Var)
  498. #define OLEDBSimpleProvider_getLocale(This,pbstrLocale)
  499.     (This)->lpVtbl -> getLocale(This,pbstrLocale)
  500. #define OLEDBSimpleProvider_deleteRows(This,iRow,cRows,pcRowsDeleted)
  501.     (This)->lpVtbl -> deleteRows(This,iRow,cRows,pcRowsDeleted)
  502. #define OLEDBSimpleProvider_insertRows(This,iRow,cRows,pcRowsInserted)
  503.     (This)->lpVtbl -> insertRows(This,iRow,cRows,pcRowsInserted)
  504. #define OLEDBSimpleProvider_find(This,iRowStart,iColumn,val,findFlags,compType,piRowFound)
  505.     (This)->lpVtbl -> find(This,iRowStart,iColumn,val,findFlags,compType,piRowFound)
  506. #define OLEDBSimpleProvider_addOLEDBSimpleProviderListener(This,pospIListener)
  507.     (This)->lpVtbl -> addOLEDBSimpleProviderListener(This,pospIListener)
  508. #define OLEDBSimpleProvider_removeOLEDBSimpleProviderListener(This,pospIListener)
  509.     (This)->lpVtbl -> removeOLEDBSimpleProviderListener(This,pospIListener)
  510. #define OLEDBSimpleProvider_isAsync(This,pbAsynch)
  511.     (This)->lpVtbl -> isAsync(This,pbAsynch)
  512. #define OLEDBSimpleProvider_getEstimatedRows(This,piRows)
  513.     (This)->lpVtbl -> getEstimatedRows(This,piRows)
  514. #define OLEDBSimpleProvider_stopTransfer(This)
  515.     (This)->lpVtbl -> stopTransfer(This)
  516. #endif /* COBJMACROS */
  517. #endif  /* C style interface */
  518. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getRowCount_Proxy( 
  519.     OLEDBSimpleProvider * This,
  520.     /* [retval][out] */ DBROWCOUNT *pcRows);
  521. void __RPC_STUB OLEDBSimpleProvider_getRowCount_Stub(
  522.     IRpcStubBuffer *This,
  523.     IRpcChannelBuffer *_pRpcChannelBuffer,
  524.     PRPC_MESSAGE _pRpcMessage,
  525.     DWORD *_pdwStubPhase);
  526. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getColumnCount_Proxy( 
  527.     OLEDBSimpleProvider * This,
  528.     /* [retval][out] */ DB_LORDINAL *pcColumns);
  529. void __RPC_STUB OLEDBSimpleProvider_getColumnCount_Stub(
  530.     IRpcStubBuffer *This,
  531.     IRpcChannelBuffer *_pRpcChannelBuffer,
  532.     PRPC_MESSAGE _pRpcMessage,
  533.     DWORD *_pdwStubPhase);
  534. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getRWStatus_Proxy( 
  535.     OLEDBSimpleProvider * This,
  536.     /* [in] */ DBROWCOUNT iRow,
  537.     /* [in] */ DB_LORDINAL iColumn,
  538.     /* [retval][out] */ OSPRW *prwStatus);
  539. void __RPC_STUB OLEDBSimpleProvider_getRWStatus_Stub(
  540.     IRpcStubBuffer *This,
  541.     IRpcChannelBuffer *_pRpcChannelBuffer,
  542.     PRPC_MESSAGE _pRpcMessage,
  543.     DWORD *_pdwStubPhase);
  544. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getVariant_Proxy( 
  545.     OLEDBSimpleProvider * This,
  546.     /* [in] */ DBROWCOUNT iRow,
  547.     /* [in] */ DB_LORDINAL iColumn,
  548.     /* [in] */ OSPFORMAT format,
  549.     /* [retval][out] */ VARIANT *pVar);
  550. void __RPC_STUB OLEDBSimpleProvider_getVariant_Stub(
  551.     IRpcStubBuffer *This,
  552.     IRpcChannelBuffer *_pRpcChannelBuffer,
  553.     PRPC_MESSAGE _pRpcMessage,
  554.     DWORD *_pdwStubPhase);
  555. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_setVariant_Proxy( 
  556.     OLEDBSimpleProvider * This,
  557.     /* [in] */ DBROWCOUNT iRow,
  558.     /* [in] */ DB_LORDINAL iColumn,
  559.     /* [in] */ OSPFORMAT format,
  560.     /* [in] */ VARIANT Var);
  561. void __RPC_STUB OLEDBSimpleProvider_setVariant_Stub(
  562.     IRpcStubBuffer *This,
  563.     IRpcChannelBuffer *_pRpcChannelBuffer,
  564.     PRPC_MESSAGE _pRpcMessage,
  565.     DWORD *_pdwStubPhase);
  566. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getLocale_Proxy( 
  567.     OLEDBSimpleProvider * This,
  568.     /* [retval][out] */ BSTR *pbstrLocale);
  569. void __RPC_STUB OLEDBSimpleProvider_getLocale_Stub(
  570.     IRpcStubBuffer *This,
  571.     IRpcChannelBuffer *_pRpcChannelBuffer,
  572.     PRPC_MESSAGE _pRpcMessage,
  573.     DWORD *_pdwStubPhase);
  574. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_deleteRows_Proxy( 
  575.     OLEDBSimpleProvider * This,
  576.     /* [in] */ DBROWCOUNT iRow,
  577.     /* [in] */ DBROWCOUNT cRows,
  578.     /* [retval][out] */ DBROWCOUNT *pcRowsDeleted);
  579. void __RPC_STUB OLEDBSimpleProvider_deleteRows_Stub(
  580.     IRpcStubBuffer *This,
  581.     IRpcChannelBuffer *_pRpcChannelBuffer,
  582.     PRPC_MESSAGE _pRpcMessage,
  583.     DWORD *_pdwStubPhase);
  584. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_insertRows_Proxy( 
  585.     OLEDBSimpleProvider * This,
  586.     /* [in] */ DBROWCOUNT iRow,
  587.     /* [in] */ DBROWCOUNT cRows,
  588.     /* [retval][out] */ DBROWCOUNT *pcRowsInserted);
  589. void __RPC_STUB OLEDBSimpleProvider_insertRows_Stub(
  590.     IRpcStubBuffer *This,
  591.     IRpcChannelBuffer *_pRpcChannelBuffer,
  592.     PRPC_MESSAGE _pRpcMessage,
  593.     DWORD *_pdwStubPhase);
  594. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_find_Proxy( 
  595.     OLEDBSimpleProvider * This,
  596.     /* [in] */ DBROWCOUNT iRowStart,
  597.     /* [in] */ DB_LORDINAL iColumn,
  598.     /* [in] */ VARIANT val,
  599.     /* [in] */ OSPFIND findFlags,
  600.     /* [in] */ OSPCOMP compType,
  601.     /* [retval][out] */ DBROWCOUNT *piRowFound);
  602. void __RPC_STUB OLEDBSimpleProvider_find_Stub(
  603.     IRpcStubBuffer *This,
  604.     IRpcChannelBuffer *_pRpcChannelBuffer,
  605.     PRPC_MESSAGE _pRpcMessage,
  606.     DWORD *_pdwStubPhase);
  607. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_addOLEDBSimpleProviderListener_Proxy( 
  608.     OLEDBSimpleProvider * This,
  609.     /* [in] */ OLEDBSimpleProviderListener *pospIListener);
  610. void __RPC_STUB OLEDBSimpleProvider_addOLEDBSimpleProviderListener_Stub(
  611.     IRpcStubBuffer *This,
  612.     IRpcChannelBuffer *_pRpcChannelBuffer,
  613.     PRPC_MESSAGE _pRpcMessage,
  614.     DWORD *_pdwStubPhase);
  615. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_removeOLEDBSimpleProviderListener_Proxy( 
  616.     OLEDBSimpleProvider * This,
  617.     /* [in] */ OLEDBSimpleProviderListener *pospIListener);
  618. void __RPC_STUB OLEDBSimpleProvider_removeOLEDBSimpleProviderListener_Stub(
  619.     IRpcStubBuffer *This,
  620.     IRpcChannelBuffer *_pRpcChannelBuffer,
  621.     PRPC_MESSAGE _pRpcMessage,
  622.     DWORD *_pdwStubPhase);
  623. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_isAsync_Proxy( 
  624.     OLEDBSimpleProvider * This,
  625.     /* [retval][out] */ BOOL *pbAsynch);
  626. void __RPC_STUB OLEDBSimpleProvider_isAsync_Stub(
  627.     IRpcStubBuffer *This,
  628.     IRpcChannelBuffer *_pRpcChannelBuffer,
  629.     PRPC_MESSAGE _pRpcMessage,
  630.     DWORD *_pdwStubPhase);
  631. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_getEstimatedRows_Proxy( 
  632.     OLEDBSimpleProvider * This,
  633.     /* [retval][out] */ DBROWCOUNT *piRows);
  634. void __RPC_STUB OLEDBSimpleProvider_getEstimatedRows_Stub(
  635.     IRpcStubBuffer *This,
  636.     IRpcChannelBuffer *_pRpcChannelBuffer,
  637.     PRPC_MESSAGE _pRpcMessage,
  638.     DWORD *_pdwStubPhase);
  639. HRESULT STDMETHODCALLTYPE OLEDBSimpleProvider_stopTransfer_Proxy( 
  640.     OLEDBSimpleProvider * This);
  641. void __RPC_STUB OLEDBSimpleProvider_stopTransfer_Stub(
  642.     IRpcStubBuffer *This,
  643.     IRpcChannelBuffer *_pRpcChannelBuffer,
  644.     PRPC_MESSAGE _pRpcMessage,
  645.     DWORD *_pdwStubPhase);
  646. #endif  /* __OLEDBSimpleProvider_INTERFACE_DEFINED__ */
  647. #endif /* __MSDAOSP_LIBRARY_DEFINED__ */
  648. /* interface __MIDL_itf_simpdata_0112 */
  649. /* [local] */ 
  650. #endif
  651. extern RPC_IF_HANDLE __MIDL_itf_simpdata_0112_v0_0_c_ifspec;
  652. extern RPC_IF_HANDLE __MIDL_itf_simpdata_0112_v0_0_s_ifspec;
  653. /* Additional Prototypes for ALL interfaces */
  654. /* end of Additional Prototypes */
  655. #ifdef __cplusplus
  656. }
  657. #endif
  658. #endif