Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

405 lines
12 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.01.75 */
  3. /* at Thu May 22 17:20:43 1997
  4. */
  5. /* Compiler settings for msdadc.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __rowpos_h__
  17. #define __rowpos_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __IRowPosition_FWD_DEFINED__
  23. #define __IRowPosition_FWD_DEFINED__
  24. typedef interface IRowPosition IRowPosition;
  25. #endif /* __IRowPosition_FWD_DEFINED__ */
  26. #ifndef __IRowPositionChange_FWD_DEFINED__
  27. #define __IRowPositionChange_FWD_DEFINED__
  28. typedef interface IRowPositionChange IRowPositionChange;
  29. #endif /* __IRowPositionChange_FWD_DEFINED__ */
  30. #ifndef __RowPosition_FWD_DEFINED__
  31. #define __RowPosition_FWD_DEFINED__
  32. #ifdef __cplusplus
  33. typedef class RowPosition RowPosition;
  34. #else
  35. typedef struct RowPosition RowPosition;
  36. #endif /* __cplusplus */
  37. #endif /* __RowPosition_FWD_DEFINED__ */
  38. /* header files for imported files */
  39. #include "oaidl.h"
  40. #include "ocidl.h"
  41. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  42. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  43. #ifndef __IRowPosition_INTERFACE_DEFINED__
  44. #define __IRowPosition_INTERFACE_DEFINED__
  45. /****************************************
  46. * Generated header for interface: IRowPosition
  47. * at Thu May 22 17:20:43 1997
  48. * using MIDL 3.01.75
  49. ****************************************/
  50. /* [unique][helpstring][uuid][object] */
  51. typedef DWORD DBPOSITIONFLAGS;
  52. enum DBPOSITIONFLAGSENUM
  53. { DBPOSITION_OK = 0,
  54. DBPOSITION_NOROW = DBPOSITION_OK + 1,
  55. DBPOSITION_BOF = DBPOSITION_NOROW + 1,
  56. DBPOSITION_EOF = DBPOSITION_BOF + 1
  57. };
  58. EXTERN_C const IID IID_IRowPosition;
  59. #if defined(__cplusplus) && !defined(CINTERFACE)
  60. interface DECLSPEC_UUID("0c733a94-2a1c-11ce-ade5-00aa0044773d")
  61. IRowPosition : public IUnknown
  62. {
  63. public:
  64. virtual HRESULT STDMETHODCALLTYPE ClearRowPosition( void) = 0;
  65. virtual HRESULT STDMETHODCALLTYPE GetRowPosition(
  66. /* [out] */ HCHAPTER __RPC_FAR *phChapter,
  67. /* [out] */ HROW __RPC_FAR *phRow,
  68. /* [out] */ DBPOSITIONFLAGS __RPC_FAR *pdwPositionFlags) = 0;
  69. virtual HRESULT STDMETHODCALLTYPE GetRowset(
  70. /* [in] */ REFIID riid,
  71. /* [iid_is][out] */ LPUNKNOWN __RPC_FAR *ppRowset) = 0;
  72. virtual HRESULT STDMETHODCALLTYPE Initialize(
  73. /* [in] */ IUnknown __RPC_FAR *pRowset) = 0;
  74. virtual HRESULT STDMETHODCALLTYPE SetRowPosition(
  75. /* [in] */ HCHAPTER hChapter,
  76. /* [in] */ HROW hRow,
  77. /* [in] */ DBPOSITIONFLAGS dwPositionFlags) = 0;
  78. };
  79. #else /* C style interface */
  80. typedef struct IRowPositionVtbl
  81. {
  82. BEGIN_INTERFACE
  83. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  84. IRowPosition __RPC_FAR * This,
  85. /* [in] */ REFIID riid,
  86. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  87. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  88. IRowPosition __RPC_FAR * This);
  89. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  90. IRowPosition __RPC_FAR * This);
  91. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ClearRowPosition )(
  92. IRowPosition __RPC_FAR * This);
  93. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRowPosition )(
  94. IRowPosition __RPC_FAR * This,
  95. /* [out] */ HCHAPTER __RPC_FAR *phChapter,
  96. /* [out] */ HROW __RPC_FAR *phRow,
  97. /* [out] */ DBPOSITIONFLAGS __RPC_FAR *pdwPositionFlags);
  98. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRowset )(
  99. IRowPosition __RPC_FAR * This,
  100. /* [in] */ REFIID riid,
  101. /* [iid_is][out] */ LPUNKNOWN __RPC_FAR *ppRowset);
  102. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Initialize )(
  103. IRowPosition __RPC_FAR * This,
  104. /* [in] */ IUnknown __RPC_FAR *pRowset);
  105. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRowPosition )(
  106. IRowPosition __RPC_FAR * This,
  107. /* [in] */ HCHAPTER hChapter,
  108. /* [in] */ HROW hRow,
  109. /* [in] */ DBPOSITIONFLAGS dwPositionFlags);
  110. END_INTERFACE
  111. } IRowPositionVtbl;
  112. interface IRowPosition
  113. {
  114. CONST_VTBL struct IRowPositionVtbl __RPC_FAR *lpVtbl;
  115. };
  116. #ifdef COBJMACROS
  117. #define IRowPosition_QueryInterface(This,riid,ppvObject) \
  118. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  119. #define IRowPosition_AddRef(This) \
  120. (This)->lpVtbl -> AddRef(This)
  121. #define IRowPosition_Release(This) \
  122. (This)->lpVtbl -> Release(This)
  123. #define IRowPosition_ClearRowPosition(This) \
  124. (This)->lpVtbl -> ClearRowPosition(This)
  125. #define IRowPosition_GetRowPosition(This,phChapter,phRow,pdwPositionFlags) \
  126. (This)->lpVtbl -> GetRowPosition(This,phChapter,phRow,pdwPositionFlags)
  127. #define IRowPosition_GetRowset(This,riid,ppRowset) \
  128. (This)->lpVtbl -> GetRowset(This,riid,ppRowset)
  129. #define IRowPosition_Initialize(This,pRowset) \
  130. (This)->lpVtbl -> Initialize(This,pRowset)
  131. #define IRowPosition_SetRowPosition(This,hChapter,hRow,dwPositionFlags) \
  132. (This)->lpVtbl -> SetRowPosition(This,hChapter,hRow,dwPositionFlags)
  133. #endif /* COBJMACROS */
  134. #endif /* C style interface */
  135. HRESULT STDMETHODCALLTYPE IRowPosition_ClearRowPosition_Proxy(
  136. IRowPosition __RPC_FAR * This);
  137. void __RPC_STUB IRowPosition_ClearRowPosition_Stub(
  138. IRpcStubBuffer *This,
  139. IRpcChannelBuffer *_pRpcChannelBuffer,
  140. PRPC_MESSAGE _pRpcMessage,
  141. DWORD *_pdwStubPhase);
  142. HRESULT STDMETHODCALLTYPE IRowPosition_GetRowPosition_Proxy(
  143. IRowPosition __RPC_FAR * This,
  144. /* [out] */ HCHAPTER __RPC_FAR *phChapter,
  145. /* [out] */ HROW __RPC_FAR *phRow,
  146. /* [out] */ DBPOSITIONFLAGS __RPC_FAR *pdwPositionFlags);
  147. void __RPC_STUB IRowPosition_GetRowPosition_Stub(
  148. IRpcStubBuffer *This,
  149. IRpcChannelBuffer *_pRpcChannelBuffer,
  150. PRPC_MESSAGE _pRpcMessage,
  151. DWORD *_pdwStubPhase);
  152. HRESULT STDMETHODCALLTYPE IRowPosition_GetRowset_Proxy(
  153. IRowPosition __RPC_FAR * This,
  154. /* [in] */ REFIID riid,
  155. /* [iid_is][out] */ LPUNKNOWN __RPC_FAR *ppRowset);
  156. void __RPC_STUB IRowPosition_GetRowset_Stub(
  157. IRpcStubBuffer *This,
  158. IRpcChannelBuffer *_pRpcChannelBuffer,
  159. PRPC_MESSAGE _pRpcMessage,
  160. DWORD *_pdwStubPhase);
  161. HRESULT STDMETHODCALLTYPE IRowPosition_Initialize_Proxy(
  162. IRowPosition __RPC_FAR * This,
  163. /* [in] */ IUnknown __RPC_FAR *pRowset);
  164. void __RPC_STUB IRowPosition_Initialize_Stub(
  165. IRpcStubBuffer *This,
  166. IRpcChannelBuffer *_pRpcChannelBuffer,
  167. PRPC_MESSAGE _pRpcMessage,
  168. DWORD *_pdwStubPhase);
  169. HRESULT STDMETHODCALLTYPE IRowPosition_SetRowPosition_Proxy(
  170. IRowPosition __RPC_FAR * This,
  171. /* [in] */ HCHAPTER hChapter,
  172. /* [in] */ HROW hRow,
  173. /* [in] */ DBPOSITIONFLAGS dwPositionFlags);
  174. void __RPC_STUB IRowPosition_SetRowPosition_Stub(
  175. IRpcStubBuffer *This,
  176. IRpcChannelBuffer *_pRpcChannelBuffer,
  177. PRPC_MESSAGE _pRpcMessage,
  178. DWORD *_pdwStubPhase);
  179. #endif /* __IRowPosition_INTERFACE_DEFINED__ */
  180. #ifndef __IRowPositionChange_INTERFACE_DEFINED__
  181. #define __IRowPositionChange_INTERFACE_DEFINED__
  182. /****************************************
  183. * Generated header for interface: IRowPositionChange
  184. * at Thu May 22 17:20:43 1997
  185. * using MIDL 3.01.75
  186. ****************************************/
  187. /* [unique][helpstring][uuid][object] */
  188. enum DBREASONPOSITIONENUM
  189. { DBREASON_ROWPOSITION_CHANGED = DBREASON_ROWSET_CHANGED + 1,
  190. DBREASON_ROWPOSITION_CHAPTERCHANGED = DBREASON_ROWPOSITION_CHANGED + 1,
  191. DBREASON_ROWPOSITION_CLEARED = DBREASON_ROWPOSITION_CHAPTERCHANGED + 1
  192. };
  193. EXTERN_C const IID IID_IRowPositionChange;
  194. #if defined(__cplusplus) && !defined(CINTERFACE)
  195. interface DECLSPEC_UUID("0997a571-126e-11d0-9f8a-00a0c9a0631e")
  196. IRowPositionChange : public IUnknown
  197. {
  198. public:
  199. virtual HRESULT STDMETHODCALLTYPE OnRowPositionChange(
  200. /* [in] */ DBREASON eReason,
  201. /* [in] */ DBEVENTPHASE ePhase,
  202. /* [in] */ BOOL fCantDeny) = 0;
  203. };
  204. #else /* C style interface */
  205. typedef struct IRowPositionChangeVtbl
  206. {
  207. BEGIN_INTERFACE
  208. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  209. IRowPositionChange __RPC_FAR * This,
  210. /* [in] */ REFIID riid,
  211. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  212. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  213. IRowPositionChange __RPC_FAR * This);
  214. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  215. IRowPositionChange __RPC_FAR * This);
  216. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnRowPositionChange )(
  217. IRowPositionChange __RPC_FAR * This,
  218. /* [in] */ DBREASON eReason,
  219. /* [in] */ DBEVENTPHASE ePhase,
  220. /* [in] */ BOOL fCantDeny);
  221. END_INTERFACE
  222. } IRowPositionChangeVtbl;
  223. interface IRowPositionChange
  224. {
  225. CONST_VTBL struct IRowPositionChangeVtbl __RPC_FAR *lpVtbl;
  226. };
  227. #ifdef COBJMACROS
  228. #define IRowPositionChange_QueryInterface(This,riid,ppvObject) \
  229. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  230. #define IRowPositionChange_AddRef(This) \
  231. (This)->lpVtbl -> AddRef(This)
  232. #define IRowPositionChange_Release(This) \
  233. (This)->lpVtbl -> Release(This)
  234. #define IRowPositionChange_OnRowPositionChange(This,eReason,ePhase,fCantDeny) \
  235. (This)->lpVtbl -> OnRowPositionChange(This,eReason,ePhase,fCantDeny)
  236. #endif /* COBJMACROS */
  237. #endif /* C style interface */
  238. HRESULT STDMETHODCALLTYPE IRowPositionChange_OnRowPositionChange_Proxy(
  239. IRowPositionChange __RPC_FAR * This,
  240. /* [in] */ DBREASON eReason,
  241. /* [in] */ DBEVENTPHASE ePhase,
  242. /* [in] */ BOOL fCantDeny);
  243. void __RPC_STUB IRowPositionChange_OnRowPositionChange_Stub(
  244. IRpcStubBuffer *This,
  245. IRpcChannelBuffer *_pRpcChannelBuffer,
  246. PRPC_MESSAGE _pRpcMessage,
  247. DWORD *_pdwStubPhase);
  248. #endif /* __IRowPositionChange_INTERFACE_DEFINED__ */
  249. #ifndef __MSDAUTILLib_LIBRARY_DEFINED__
  250. #define __MSDAUTILLib_LIBRARY_DEFINED__
  251. /****************************************
  252. * Generated header for library: MSDAUTILLib
  253. * at Thu May 22 17:20:43 1997
  254. * using MIDL 3.01.75
  255. ****************************************/
  256. /* [helpstring][version][uuid] */
  257. #ifdef __cplusplus
  258. EXTERN_C const CLSID CLSID_RowPosition;
  259. class DECLSPEC_UUID("2048EEE6-7FA2-11D0-9E6A-00A0C9138C29")
  260. RowPosition;
  261. DEFINE_GUID(CLSID_RowPosition, 0x2048eee6, 0x7fa2, 0x11d0, 0x9e, 0x6a, 0x0, 0xa0, 0xc9, 0x13, 0x8c, 0x29);
  262. DEFINE_GUID(IID_IRowPosition, 0x0c733a94, 0x2a1c, 0x11ce, 0xad, 0xe5, 0x0, 0xaa, 0x0, 0x44, 0x77, 0x3d);
  263. DEFINE_GUID(IID_IRowPositionChange, 0x0997a571, 0x126e, 0x11d0, 0x9f, 0x8a, 0x0, 0xa0, 0xc9, 0xa0, 0x63, 0x1e);
  264. #endif
  265. #endif /* __MSDAUTILLib_LIBRARY_DEFINED__ */
  266. /* Additional Prototypes for ALL interfaces */
  267. /* end of Additional Prototypes */
  268. #ifdef __cplusplus
  269. }
  270. #endif
  271. #endif