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.

588 lines
16 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for mparser.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  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__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __mparser_h__
  27. #define __mparser_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IParserVerify_FWD_DEFINED__
  33. #define __IParserVerify_FWD_DEFINED__
  34. typedef interface IParserVerify IParserVerify;
  35. #endif /* __IParserVerify_FWD_DEFINED__ */
  36. #ifndef __IParserTreeProperties_FWD_DEFINED__
  37. #define __IParserTreeProperties_FWD_DEFINED__
  38. typedef interface IParserTreeProperties IParserTreeProperties;
  39. #endif /* __IParserTreeProperties_FWD_DEFINED__ */
  40. #ifndef __IParserSession_FWD_DEFINED__
  41. #define __IParserSession_FWD_DEFINED__
  42. typedef interface IParserSession IParserSession;
  43. #endif /* __IParserSession_FWD_DEFINED__ */
  44. #ifndef __IParser_FWD_DEFINED__
  45. #define __IParser_FWD_DEFINED__
  46. typedef interface IParser IParser;
  47. #endif /* __IParser_FWD_DEFINED__ */
  48. /* header files for imported files */
  49. #include "oaidl.h"
  50. #ifdef __cplusplus
  51. extern "C"{
  52. #endif
  53. void * __RPC_USER MIDL_user_allocate(size_t);
  54. void __RPC_USER MIDL_user_free( void * );
  55. /* interface __MIDL_itf_mparser_0000 */
  56. /* [local] */
  57. //+---------------------------------------------------------------------------
  58. //
  59. // Microsoft Content Index SQL Parser
  60. // Copyright (C) Microsoft Corporation, 1997 - 1998.
  61. //
  62. //----------------------------------------------------------------------------
  63. //----------------------------------------------------------------------------
  64. //
  65. // Function Prototypes
  66. //
  67. //----------------------------------------------------------------------------
  68. HRESULT __stdcall MakeIParser(IParser** ppIParser);
  69. enum PTPROPS
  70. { PTPROPS_SCOPE = 1,
  71. PTPROPS_DEPTH = PTPROPS_SCOPE + 1,
  72. PTPROPS_CATALOG = PTPROPS_DEPTH + 1,
  73. PTPROPS_MACHINE = PTPROPS_CATALOG + 1,
  74. PTPROPS_CIRESTRICTION = PTPROPS_MACHINE + 1,
  75. PTPROPS_ERR_IDS = PTPROPS_CIRESTRICTION + 1,
  76. PTPROPS_ERR_HR = PTPROPS_ERR_IDS + 1,
  77. PTPROPS_ERR_DISPPARAM = PTPROPS_ERR_HR + 1
  78. } ;
  79. #ifdef DBINITCONSTANTS
  80. extern const GUID DBGUID_MSSQLTEXT = {0x03fb9b70,0x7fba,0x11d0,{0xa2,0x59,0x00,0x80,0xc7,0x8c,0x88,0x95}};
  81. extern const GUID DBGUID_MSSQLJAWS = {0xe4ab8511,0x4a52,0x11d1,{0xb6,0xd5,0x00,0xc0,0x4f,0xd6,0x11,0xd0}};
  82. #else // !DBINITCONSTANTS
  83. extern const GUID DBGUID_MSSQLTEXT;
  84. extern const GUID DBGUID_MSSQLJAWS;
  85. #endif // DBINITCONSTANTS
  86. typedef struct tagDBCOMMANDTREE DBCOMMANDTREE;
  87. extern RPC_IF_HANDLE __MIDL_itf_mparser_0000_v0_0_c_ifspec;
  88. extern RPC_IF_HANDLE __MIDL_itf_mparser_0000_v0_0_s_ifspec;
  89. #ifndef __IParserVerify_INTERFACE_DEFINED__
  90. #define __IParserVerify_INTERFACE_DEFINED__
  91. /* interface IParserVerify */
  92. /* [unique][uuid][object][local] */
  93. EXTERN_C const IID IID_IParserVerify;
  94. #if defined(__cplusplus) && !defined(CINTERFACE)
  95. MIDL_INTERFACE("186442B3-472E-11d1-8952-00C04FD611D7")
  96. IParserVerify : public IUnknown
  97. {
  98. public:
  99. virtual HRESULT STDMETHODCALLTYPE VerifyMachine(
  100. /* [in] */ LPCWSTR pcwszMachine) = 0;
  101. virtual HRESULT STDMETHODCALLTYPE VerifyCatalog(
  102. /* [in] */ LPCWSTR pcwszMachine,
  103. /* [in] */ LPCWSTR pcwszCatalog) = 0;
  104. };
  105. #else /* C style interface */
  106. typedef struct IParserVerifyVtbl
  107. {
  108. BEGIN_INTERFACE
  109. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  110. IParserVerify * This,
  111. /* [in] */ REFIID riid,
  112. /* [iid_is][out] */ void **ppvObject);
  113. ULONG ( STDMETHODCALLTYPE *AddRef )(
  114. IParserVerify * This);
  115. ULONG ( STDMETHODCALLTYPE *Release )(
  116. IParserVerify * This);
  117. HRESULT ( STDMETHODCALLTYPE *VerifyMachine )(
  118. IParserVerify * This,
  119. /* [in] */ LPCWSTR pcwszMachine);
  120. HRESULT ( STDMETHODCALLTYPE *VerifyCatalog )(
  121. IParserVerify * This,
  122. /* [in] */ LPCWSTR pcwszMachine,
  123. /* [in] */ LPCWSTR pcwszCatalog);
  124. END_INTERFACE
  125. } IParserVerifyVtbl;
  126. interface IParserVerify
  127. {
  128. CONST_VTBL struct IParserVerifyVtbl *lpVtbl;
  129. };
  130. #ifdef COBJMACROS
  131. #define IParserVerify_QueryInterface(This,riid,ppvObject) \
  132. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  133. #define IParserVerify_AddRef(This) \
  134. (This)->lpVtbl -> AddRef(This)
  135. #define IParserVerify_Release(This) \
  136. (This)->lpVtbl -> Release(This)
  137. #define IParserVerify_VerifyMachine(This,pcwszMachine) \
  138. (This)->lpVtbl -> VerifyMachine(This,pcwszMachine)
  139. #define IParserVerify_VerifyCatalog(This,pcwszMachine,pcwszCatalog) \
  140. (This)->lpVtbl -> VerifyCatalog(This,pcwszMachine,pcwszCatalog)
  141. #endif /* COBJMACROS */
  142. #endif /* C style interface */
  143. HRESULT STDMETHODCALLTYPE IParserVerify_VerifyMachine_Proxy(
  144. IParserVerify * This,
  145. /* [in] */ LPCWSTR pcwszMachine);
  146. void __RPC_STUB IParserVerify_VerifyMachine_Stub(
  147. IRpcStubBuffer *This,
  148. IRpcChannelBuffer *_pRpcChannelBuffer,
  149. PRPC_MESSAGE _pRpcMessage,
  150. DWORD *_pdwStubPhase);
  151. HRESULT STDMETHODCALLTYPE IParserVerify_VerifyCatalog_Proxy(
  152. IParserVerify * This,
  153. /* [in] */ LPCWSTR pcwszMachine,
  154. /* [in] */ LPCWSTR pcwszCatalog);
  155. void __RPC_STUB IParserVerify_VerifyCatalog_Stub(
  156. IRpcStubBuffer *This,
  157. IRpcChannelBuffer *_pRpcChannelBuffer,
  158. PRPC_MESSAGE _pRpcMessage,
  159. DWORD *_pdwStubPhase);
  160. #endif /* __IParserVerify_INTERFACE_DEFINED__ */
  161. #ifndef __IParserTreeProperties_INTERFACE_DEFINED__
  162. #define __IParserTreeProperties_INTERFACE_DEFINED__
  163. /* interface IParserTreeProperties */
  164. /* [unique][uuid][object][local] */
  165. EXTERN_C const IID IID_IParserTreeProperties;
  166. #if defined(__cplusplus) && !defined(CINTERFACE)
  167. MIDL_INTERFACE("186442B2-472E-11d1-8952-00C04FD611D7")
  168. IParserTreeProperties : public IUnknown
  169. {
  170. public:
  171. virtual HRESULT STDMETHODCALLTYPE GetProperties(
  172. /* [in] */ ULONG eParseProp,
  173. /* [out][in] */ VARIANT *vParseProp) = 0;
  174. };
  175. #else /* C style interface */
  176. typedef struct IParserTreePropertiesVtbl
  177. {
  178. BEGIN_INTERFACE
  179. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  180. IParserTreeProperties * This,
  181. /* [in] */ REFIID riid,
  182. /* [iid_is][out] */ void **ppvObject);
  183. ULONG ( STDMETHODCALLTYPE *AddRef )(
  184. IParserTreeProperties * This);
  185. ULONG ( STDMETHODCALLTYPE *Release )(
  186. IParserTreeProperties * This);
  187. HRESULT ( STDMETHODCALLTYPE *GetProperties )(
  188. IParserTreeProperties * This,
  189. /* [in] */ ULONG eParseProp,
  190. /* [out][in] */ VARIANT *vParseProp);
  191. END_INTERFACE
  192. } IParserTreePropertiesVtbl;
  193. interface IParserTreeProperties
  194. {
  195. CONST_VTBL struct IParserTreePropertiesVtbl *lpVtbl;
  196. };
  197. #ifdef COBJMACROS
  198. #define IParserTreeProperties_QueryInterface(This,riid,ppvObject) \
  199. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  200. #define IParserTreeProperties_AddRef(This) \
  201. (This)->lpVtbl -> AddRef(This)
  202. #define IParserTreeProperties_Release(This) \
  203. (This)->lpVtbl -> Release(This)
  204. #define IParserTreeProperties_GetProperties(This,eParseProp,vParseProp) \
  205. (This)->lpVtbl -> GetProperties(This,eParseProp,vParseProp)
  206. #endif /* COBJMACROS */
  207. #endif /* C style interface */
  208. HRESULT STDMETHODCALLTYPE IParserTreeProperties_GetProperties_Proxy(
  209. IParserTreeProperties * This,
  210. /* [in] */ ULONG eParseProp,
  211. /* [out][in] */ VARIANT *vParseProp);
  212. void __RPC_STUB IParserTreeProperties_GetProperties_Stub(
  213. IRpcStubBuffer *This,
  214. IRpcChannelBuffer *_pRpcChannelBuffer,
  215. PRPC_MESSAGE _pRpcMessage,
  216. DWORD *_pdwStubPhase);
  217. #endif /* __IParserTreeProperties_INTERFACE_DEFINED__ */
  218. #ifndef __IParserSession_INTERFACE_DEFINED__
  219. #define __IParserSession_INTERFACE_DEFINED__
  220. /* interface IParserSession */
  221. /* [unique][uuid][object][local] */
  222. EXTERN_C const IID IID_IParserSession;
  223. #if defined(__cplusplus) && !defined(CINTERFACE)
  224. MIDL_INTERFACE("186442B1-472E-11d1-8952-00C04FD611D7")
  225. IParserSession : public IUnknown
  226. {
  227. public:
  228. virtual HRESULT STDMETHODCALLTYPE ToTree(
  229. /* [in] */ LCID lcidVal,
  230. /* [in] */ LPCWSTR pcwszText,
  231. /* [out] */ DBCOMMANDTREE **ppTree,
  232. /* [out] */ IParserTreeProperties **ppPTProperties) = 0;
  233. virtual HRESULT STDMETHODCALLTYPE FreeTree(
  234. /* [out][in] */ DBCOMMANDTREE **ppTree) = 0;
  235. virtual HRESULT STDMETHODCALLTYPE SetCatalog(
  236. /* [in] */ LPCWSTR pcwszCatalog) = 0;
  237. };
  238. #else /* C style interface */
  239. typedef struct IParserSessionVtbl
  240. {
  241. BEGIN_INTERFACE
  242. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  243. IParserSession * This,
  244. /* [in] */ REFIID riid,
  245. /* [iid_is][out] */ void **ppvObject);
  246. ULONG ( STDMETHODCALLTYPE *AddRef )(
  247. IParserSession * This);
  248. ULONG ( STDMETHODCALLTYPE *Release )(
  249. IParserSession * This);
  250. HRESULT ( STDMETHODCALLTYPE *ToTree )(
  251. IParserSession * This,
  252. /* [in] */ LCID lcidVal,
  253. /* [in] */ LPCWSTR pcwszText,
  254. /* [out] */ DBCOMMANDTREE **ppTree,
  255. /* [out] */ IParserTreeProperties **ppPTProperties);
  256. HRESULT ( STDMETHODCALLTYPE *FreeTree )(
  257. IParserSession * This,
  258. /* [out][in] */ DBCOMMANDTREE **ppTree);
  259. HRESULT ( STDMETHODCALLTYPE *SetCatalog )(
  260. IParserSession * This,
  261. /* [in] */ LPCWSTR pcwszCatalog);
  262. END_INTERFACE
  263. } IParserSessionVtbl;
  264. interface IParserSession
  265. {
  266. CONST_VTBL struct IParserSessionVtbl *lpVtbl;
  267. };
  268. #ifdef COBJMACROS
  269. #define IParserSession_QueryInterface(This,riid,ppvObject) \
  270. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  271. #define IParserSession_AddRef(This) \
  272. (This)->lpVtbl -> AddRef(This)
  273. #define IParserSession_Release(This) \
  274. (This)->lpVtbl -> Release(This)
  275. #define IParserSession_ToTree(This,lcidVal,pcwszText,ppTree,ppPTProperties) \
  276. (This)->lpVtbl -> ToTree(This,lcidVal,pcwszText,ppTree,ppPTProperties)
  277. #define IParserSession_FreeTree(This,ppTree) \
  278. (This)->lpVtbl -> FreeTree(This,ppTree)
  279. #define IParserSession_SetCatalog(This,pcwszCatalog) \
  280. (This)->lpVtbl -> SetCatalog(This,pcwszCatalog)
  281. #endif /* COBJMACROS */
  282. #endif /* C style interface */
  283. HRESULT STDMETHODCALLTYPE IParserSession_ToTree_Proxy(
  284. IParserSession * This,
  285. /* [in] */ LCID lcidVal,
  286. /* [in] */ LPCWSTR pcwszText,
  287. /* [out] */ DBCOMMANDTREE **ppTree,
  288. /* [out] */ IParserTreeProperties **ppPTProperties);
  289. void __RPC_STUB IParserSession_ToTree_Stub(
  290. IRpcStubBuffer *This,
  291. IRpcChannelBuffer *_pRpcChannelBuffer,
  292. PRPC_MESSAGE _pRpcMessage,
  293. DWORD *_pdwStubPhase);
  294. HRESULT STDMETHODCALLTYPE IParserSession_FreeTree_Proxy(
  295. IParserSession * This,
  296. /* [out][in] */ DBCOMMANDTREE **ppTree);
  297. void __RPC_STUB IParserSession_FreeTree_Stub(
  298. IRpcStubBuffer *This,
  299. IRpcChannelBuffer *_pRpcChannelBuffer,
  300. PRPC_MESSAGE _pRpcMessage,
  301. DWORD *_pdwStubPhase);
  302. HRESULT STDMETHODCALLTYPE IParserSession_SetCatalog_Proxy(
  303. IParserSession * This,
  304. /* [in] */ LPCWSTR pcwszCatalog);
  305. void __RPC_STUB IParserSession_SetCatalog_Stub(
  306. IRpcStubBuffer *This,
  307. IRpcChannelBuffer *_pRpcChannelBuffer,
  308. PRPC_MESSAGE _pRpcMessage,
  309. DWORD *_pdwStubPhase);
  310. #endif /* __IParserSession_INTERFACE_DEFINED__ */
  311. #ifndef __IParser_INTERFACE_DEFINED__
  312. #define __IParser_INTERFACE_DEFINED__
  313. /* interface IParser */
  314. /* [unique][uuid][object][local] */
  315. EXTERN_C const IID IID_IParser;
  316. #if defined(__cplusplus) && !defined(CINTERFACE)
  317. MIDL_INTERFACE("186442B0-472E-11d1-8952-00C04FD611D7")
  318. IParser : public IUnknown
  319. {
  320. public:
  321. virtual HRESULT STDMETHODCALLTYPE CreateSession(
  322. /* [in] */ const GUID *pguidDialect,
  323. /* [in] */ LPCWSTR pwszMachine,
  324. /* [in] */ IParserVerify *ppIParserVerfiy,
  325. /* [in] */ IColumnMapperCreator *pIColMapCreator,
  326. /* [out] */ IParserSession **ppIParserSession) = 0;
  327. };
  328. #else /* C style interface */
  329. typedef struct IParserVtbl
  330. {
  331. BEGIN_INTERFACE
  332. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  333. IParser * This,
  334. /* [in] */ REFIID riid,
  335. /* [iid_is][out] */ void **ppvObject);
  336. ULONG ( STDMETHODCALLTYPE *AddRef )(
  337. IParser * This);
  338. ULONG ( STDMETHODCALLTYPE *Release )(
  339. IParser * This);
  340. HRESULT ( STDMETHODCALLTYPE *CreateSession )(
  341. IParser * This,
  342. /* [in] */ const GUID *pguidDialect,
  343. /* [in] */ LPCWSTR pwszMachine,
  344. /* [in] */ IParserVerify *ppIParserVerfiy,
  345. /* [in] */ IColumnMapperCreator *pIColMapCreator,
  346. /* [out] */ IParserSession **ppIParserSession);
  347. END_INTERFACE
  348. } IParserVtbl;
  349. interface IParser
  350. {
  351. CONST_VTBL struct IParserVtbl *lpVtbl;
  352. };
  353. #ifdef COBJMACROS
  354. #define IParser_QueryInterface(This,riid,ppvObject) \
  355. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  356. #define IParser_AddRef(This) \
  357. (This)->lpVtbl -> AddRef(This)
  358. #define IParser_Release(This) \
  359. (This)->lpVtbl -> Release(This)
  360. #define IParser_CreateSession(This,pguidDialect,pwszMachine,ppIParserVerfiy,pIColMapCreator,ppIParserSession) \
  361. (This)->lpVtbl -> CreateSession(This,pguidDialect,pwszMachine,ppIParserVerfiy,pIColMapCreator,ppIParserSession)
  362. #endif /* COBJMACROS */
  363. #endif /* C style interface */
  364. HRESULT STDMETHODCALLTYPE IParser_CreateSession_Proxy(
  365. IParser * This,
  366. /* [in] */ const GUID *pguidDialect,
  367. /* [in] */ LPCWSTR pwszMachine,
  368. /* [in] */ IParserVerify *ppIParserVerfiy,
  369. /* [in] */ IColumnMapperCreator *pIColMapCreator,
  370. /* [out] */ IParserSession **ppIParserSession);
  371. void __RPC_STUB IParser_CreateSession_Stub(
  372. IRpcStubBuffer *This,
  373. IRpcChannelBuffer *_pRpcChannelBuffer,
  374. PRPC_MESSAGE _pRpcMessage,
  375. DWORD *_pdwStubPhase);
  376. #endif /* __IParser_INTERFACE_DEFINED__ */
  377. /* Additional Prototypes for ALL interfaces */
  378. /* end of Additional Prototypes */
  379. #ifdef __cplusplus
  380. }
  381. #endif
  382. #endif