Source code of Windows XP (NT5)
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.

7373 lines
207 KiB

  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 ciintf.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  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__ 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 __ciintf_h__
  27. #define __ciintf_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICiCDocName_FWD_DEFINED__
  33. #define __ICiCDocName_FWD_DEFINED__
  34. typedef interface ICiCDocName ICiCDocName;
  35. #endif /* __ICiCDocName_FWD_DEFINED__ */
  36. #ifndef __ICiCOpenedDoc_FWD_DEFINED__
  37. #define __ICiCOpenedDoc_FWD_DEFINED__
  38. typedef interface ICiCOpenedDoc ICiCOpenedDoc;
  39. #endif /* __ICiCOpenedDoc_FWD_DEFINED__ */
  40. #ifndef __ICiAdminParams_FWD_DEFINED__
  41. #define __ICiAdminParams_FWD_DEFINED__
  42. typedef interface ICiAdminParams ICiAdminParams;
  43. #endif /* __ICiAdminParams_FWD_DEFINED__ */
  44. #ifndef __ICiCLangRes_FWD_DEFINED__
  45. #define __ICiCLangRes_FWD_DEFINED__
  46. typedef interface ICiCLangRes ICiCLangRes;
  47. #endif /* __ICiCLangRes_FWD_DEFINED__ */
  48. #ifndef __ICiAdmin_FWD_DEFINED__
  49. #define __ICiAdmin_FWD_DEFINED__
  50. typedef interface ICiAdmin ICiAdmin;
  51. #endif /* __ICiAdmin_FWD_DEFINED__ */
  52. #ifndef __ICiFrameworkQuery_FWD_DEFINED__
  53. #define __ICiFrameworkQuery_FWD_DEFINED__
  54. typedef interface ICiFrameworkQuery ICiFrameworkQuery;
  55. #endif /* __ICiFrameworkQuery_FWD_DEFINED__ */
  56. #ifndef __ICiCAdviseStatus_FWD_DEFINED__
  57. #define __ICiCAdviseStatus_FWD_DEFINED__
  58. typedef interface ICiCAdviseStatus ICiCAdviseStatus;
  59. #endif /* __ICiCAdviseStatus_FWD_DEFINED__ */
  60. #ifndef __ICiCFilterClient_FWD_DEFINED__
  61. #define __ICiCFilterClient_FWD_DEFINED__
  62. typedef interface ICiCFilterClient ICiCFilterClient;
  63. #endif /* __ICiCFilterClient_FWD_DEFINED__ */
  64. #ifndef __ICiCDocStore_FWD_DEFINED__
  65. #define __ICiCDocStore_FWD_DEFINED__
  66. typedef interface ICiCDocStore ICiCDocStore;
  67. #endif /* __ICiCDocStore_FWD_DEFINED__ */
  68. #ifndef __ICiCDocStoreEx_FWD_DEFINED__
  69. #define __ICiCDocStoreEx_FWD_DEFINED__
  70. typedef interface ICiCDocStoreEx ICiCDocStoreEx;
  71. #endif /* __ICiCDocStoreEx_FWD_DEFINED__ */
  72. #ifndef __ICiCDocNameToWorkidTranslator_FWD_DEFINED__
  73. #define __ICiCDocNameToWorkidTranslator_FWD_DEFINED__
  74. typedef interface ICiCDocNameToWorkidTranslator ICiCDocNameToWorkidTranslator;
  75. #endif /* __ICiCDocNameToWorkidTranslator_FWD_DEFINED__ */
  76. #ifndef __ICiCDocNameToWorkidTranslatorEx_FWD_DEFINED__
  77. #define __ICiCDocNameToWorkidTranslatorEx_FWD_DEFINED__
  78. typedef interface ICiCDocNameToWorkidTranslatorEx ICiCDocNameToWorkidTranslatorEx;
  79. #endif /* __ICiCDocNameToWorkidTranslatorEx_FWD_DEFINED__ */
  80. #ifndef __ICiCPropertyStorage_FWD_DEFINED__
  81. #define __ICiCPropertyStorage_FWD_DEFINED__
  82. typedef interface ICiCPropertyStorage ICiCPropertyStorage;
  83. #endif /* __ICiCPropertyStorage_FWD_DEFINED__ */
  84. #ifndef __ICiCPropRetriever_FWD_DEFINED__
  85. #define __ICiCPropRetriever_FWD_DEFINED__
  86. typedef interface ICiCPropRetriever ICiCPropRetriever;
  87. #endif /* __ICiCPropRetriever_FWD_DEFINED__ */
  88. #ifndef __ICiCDeferredPropRetriever_FWD_DEFINED__
  89. #define __ICiCDeferredPropRetriever_FWD_DEFINED__
  90. typedef interface ICiCDeferredPropRetriever ICiCDeferredPropRetriever;
  91. #endif /* __ICiCDeferredPropRetriever_FWD_DEFINED__ */
  92. #ifndef __ICiCScopeEnumerator_FWD_DEFINED__
  93. #define __ICiCScopeEnumerator_FWD_DEFINED__
  94. typedef interface ICiCScopeEnumerator ICiCScopeEnumerator;
  95. #endif /* __ICiCScopeEnumerator_FWD_DEFINED__ */
  96. #ifndef __ICiQueryPropertyMapper_FWD_DEFINED__
  97. #define __ICiQueryPropertyMapper_FWD_DEFINED__
  98. typedef interface ICiQueryPropertyMapper ICiQueryPropertyMapper;
  99. #endif /* __ICiQueryPropertyMapper_FWD_DEFINED__ */
  100. #ifndef __ICiCQuerySession_FWD_DEFINED__
  101. #define __ICiCQuerySession_FWD_DEFINED__
  102. typedef interface ICiCQuerySession ICiCQuerySession;
  103. #endif /* __ICiCQuerySession_FWD_DEFINED__ */
  104. #ifndef __ICiControl_FWD_DEFINED__
  105. #define __ICiControl_FWD_DEFINED__
  106. typedef interface ICiControl ICiControl;
  107. #endif /* __ICiControl_FWD_DEFINED__ */
  108. #ifndef __ICiStartup_FWD_DEFINED__
  109. #define __ICiStartup_FWD_DEFINED__
  110. typedef interface ICiStartup ICiStartup;
  111. #endif /* __ICiStartup_FWD_DEFINED__ */
  112. #ifndef __ICiEnumWorkids_FWD_DEFINED__
  113. #define __ICiEnumWorkids_FWD_DEFINED__
  114. typedef interface ICiEnumWorkids ICiEnumWorkids;
  115. #endif /* __ICiEnumWorkids_FWD_DEFINED__ */
  116. #ifndef __ICiPersistIncrFile_FWD_DEFINED__
  117. #define __ICiPersistIncrFile_FWD_DEFINED__
  118. typedef interface ICiPersistIncrFile ICiPersistIncrFile;
  119. #endif /* __ICiPersistIncrFile_FWD_DEFINED__ */
  120. #ifndef __ICiManager_FWD_DEFINED__
  121. #define __ICiManager_FWD_DEFINED__
  122. typedef interface ICiManager ICiManager;
  123. #endif /* __ICiManager_FWD_DEFINED__ */
  124. #ifndef __IPropertyMapper_FWD_DEFINED__
  125. #define __IPropertyMapper_FWD_DEFINED__
  126. typedef interface IPropertyMapper IPropertyMapper;
  127. #endif /* __IPropertyMapper_FWD_DEFINED__ */
  128. #ifndef __ICiCDocStoreLocator_FWD_DEFINED__
  129. #define __ICiCDocStoreLocator_FWD_DEFINED__
  130. typedef interface ICiCDocStoreLocator ICiCDocStoreLocator;
  131. #endif /* __ICiCDocStoreLocator_FWD_DEFINED__ */
  132. #ifndef __ICiISearchCreator_FWD_DEFINED__
  133. #define __ICiISearchCreator_FWD_DEFINED__
  134. typedef interface ICiISearchCreator ICiISearchCreator;
  135. #endif /* __ICiISearchCreator_FWD_DEFINED__ */
  136. #ifndef __ICiIndexNotification_FWD_DEFINED__
  137. #define __ICiIndexNotification_FWD_DEFINED__
  138. typedef interface ICiIndexNotification ICiIndexNotification;
  139. #endif /* __ICiIndexNotification_FWD_DEFINED__ */
  140. #ifndef __ICiIndexNotificationEntry_FWD_DEFINED__
  141. #define __ICiIndexNotificationEntry_FWD_DEFINED__
  142. typedef interface ICiIndexNotificationEntry ICiIndexNotificationEntry;
  143. #endif /* __ICiIndexNotificationEntry_FWD_DEFINED__ */
  144. #ifndef __ICiCIndexNotificationStatus_FWD_DEFINED__
  145. #define __ICiCIndexNotificationStatus_FWD_DEFINED__
  146. typedef interface ICiCIndexNotificationStatus ICiCIndexNotificationStatus;
  147. #endif /* __ICiCIndexNotificationStatus_FWD_DEFINED__ */
  148. #ifndef __ISimpleCommandCreator_FWD_DEFINED__
  149. #define __ISimpleCommandCreator_FWD_DEFINED__
  150. typedef interface ISimpleCommandCreator ISimpleCommandCreator;
  151. #endif /* __ISimpleCommandCreator_FWD_DEFINED__ */
  152. #ifndef __ICiCScope_FWD_DEFINED__
  153. #define __ICiCScope_FWD_DEFINED__
  154. typedef interface ICiCScope ICiCScope;
  155. #endif /* __ICiCScope_FWD_DEFINED__ */
  156. #ifndef __ICiCScopeChecker_FWD_DEFINED__
  157. #define __ICiCScopeChecker_FWD_DEFINED__
  158. typedef interface ICiCScopeChecker ICiCScopeChecker;
  159. #endif /* __ICiCScopeChecker_FWD_DEFINED__ */
  160. #ifndef __ICiCUserSecurity_FWD_DEFINED__
  161. #define __ICiCUserSecurity_FWD_DEFINED__
  162. typedef interface ICiCUserSecurity ICiCUserSecurity;
  163. #endif /* __ICiCUserSecurity_FWD_DEFINED__ */
  164. #ifndef __ICiCSecurityChecker_FWD_DEFINED__
  165. #define __ICiCSecurityChecker_FWD_DEFINED__
  166. typedef interface ICiCSecurityChecker ICiCSecurityChecker;
  167. #endif /* __ICiCSecurityChecker_FWD_DEFINED__ */
  168. #ifndef __ICiDocChangeNotifySink_FWD_DEFINED__
  169. #define __ICiDocChangeNotifySink_FWD_DEFINED__
  170. typedef interface ICiDocChangeNotifySink ICiDocChangeNotifySink;
  171. #endif /* __ICiDocChangeNotifySink_FWD_DEFINED__ */
  172. #ifndef __ICiCQueryNotification_FWD_DEFINED__
  173. #define __ICiCQueryNotification_FWD_DEFINED__
  174. typedef interface ICiCQueryNotification ICiCQueryNotification;
  175. #endif /* __ICiCQueryNotification_FWD_DEFINED__ */
  176. #ifndef __ICiCEventLogItem_FWD_DEFINED__
  177. #define __ICiCEventLogItem_FWD_DEFINED__
  178. typedef interface ICiCEventLogItem ICiCEventLogItem;
  179. #endif /* __ICiCEventLogItem_FWD_DEFINED__ */
  180. #ifndef __ICiCFilterStatus_FWD_DEFINED__
  181. #define __ICiCFilterStatus_FWD_DEFINED__
  182. typedef interface ICiCFilterStatus ICiCFilterStatus;
  183. #endif /* __ICiCFilterStatus_FWD_DEFINED__ */
  184. #ifndef __ICiCResourceMonitor_FWD_DEFINED__
  185. #define __ICiCResourceMonitor_FWD_DEFINED__
  186. typedef interface ICiCResourceMonitor ICiCResourceMonitor;
  187. #endif /* __ICiCResourceMonitor_FWD_DEFINED__ */
  188. /* header files for imported files */
  189. #include "oaidl.h"
  190. #include "filter.h"
  191. #ifdef __cplusplus
  192. extern "C"{
  193. #endif
  194. void * __RPC_USER MIDL_user_allocate(size_t);
  195. void __RPC_USER MIDL_user_free( void * );
  196. /* interface __MIDL_itf_ciintf_0000 */
  197. /* [local] */
  198. #define CI_DEFAULT_PID ( 0 )
  199. #define CI_INVALID_PID ( 0xffffffff )
  200. #define CI_VOLID_USN_NOT_ENABLED ( 0 )
  201. typedef
  202. enum tagCI_GLOBAL_CONSTANTS
  203. { CI_LOW_RESOURCE = 1,
  204. CI_RESET_UPDATES = 2
  205. } CI_GLOBAL_CONSTANTS;
  206. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0000_v0_0_c_ifspec;
  207. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0000_v0_0_s_ifspec;
  208. #ifndef __ICiCDocName_INTERFACE_DEFINED__
  209. #define __ICiCDocName_INTERFACE_DEFINED__
  210. /* interface ICiCDocName */
  211. /* [unique][uuid][object][local] */
  212. EXTERN_C const IID IID_ICiCDocName;
  213. #if defined(__cplusplus) && !defined(CINTERFACE)
  214. MIDL_INTERFACE("76615076-3C2B-11D0-8C90-0020AF1D740E")
  215. ICiCDocName : public IUnknown
  216. {
  217. public:
  218. virtual SCODE STDMETHODCALLTYPE Init(
  219. /* [size_is][in] */ const BYTE *pbName,
  220. /* [in] */ ULONG cbName) = 0;
  221. virtual SCODE STDMETHODCALLTYPE Set(
  222. /* [in] */ const ICiCDocName *pICiCDocName) = 0;
  223. virtual SCODE STDMETHODCALLTYPE Clear( void) = 0;
  224. virtual SCODE STDMETHODCALLTYPE IsValid( void) = 0;
  225. virtual SCODE STDMETHODCALLTYPE Duplicate(
  226. /* [out] */ ICiCDocName **ppICiCDocName) = 0;
  227. virtual SCODE STDMETHODCALLTYPE Get(
  228. /* [size_is][out] */ BYTE *pbName,
  229. /* [out][in] */ ULONG *pcbName) = 0;
  230. virtual SCODE STDMETHODCALLTYPE GetNameBuffer(
  231. /* [out] */ const BYTE **ppName,
  232. /* [out] */ ULONG *pcbName) = 0;
  233. virtual SCODE STDMETHODCALLTYPE GetBufSizeNeeded(
  234. /* [out] */ ULONG *pcbName) = 0;
  235. };
  236. #else /* C style interface */
  237. typedef struct ICiCDocNameVtbl
  238. {
  239. BEGIN_INTERFACE
  240. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  241. ICiCDocName * This,
  242. /* [in] */ REFIID riid,
  243. /* [iid_is][out] */ void **ppvObject);
  244. ULONG ( STDMETHODCALLTYPE *AddRef )(
  245. ICiCDocName * This);
  246. ULONG ( STDMETHODCALLTYPE *Release )(
  247. ICiCDocName * This);
  248. SCODE ( STDMETHODCALLTYPE *Init )(
  249. ICiCDocName * This,
  250. /* [size_is][in] */ const BYTE *pbName,
  251. /* [in] */ ULONG cbName);
  252. SCODE ( STDMETHODCALLTYPE *Set )(
  253. ICiCDocName * This,
  254. /* [in] */ const ICiCDocName *pICiCDocName);
  255. SCODE ( STDMETHODCALLTYPE *Clear )(
  256. ICiCDocName * This);
  257. SCODE ( STDMETHODCALLTYPE *IsValid )(
  258. ICiCDocName * This);
  259. SCODE ( STDMETHODCALLTYPE *Duplicate )(
  260. ICiCDocName * This,
  261. /* [out] */ ICiCDocName **ppICiCDocName);
  262. SCODE ( STDMETHODCALLTYPE *Get )(
  263. ICiCDocName * This,
  264. /* [size_is][out] */ BYTE *pbName,
  265. /* [out][in] */ ULONG *pcbName);
  266. SCODE ( STDMETHODCALLTYPE *GetNameBuffer )(
  267. ICiCDocName * This,
  268. /* [out] */ const BYTE **ppName,
  269. /* [out] */ ULONG *pcbName);
  270. SCODE ( STDMETHODCALLTYPE *GetBufSizeNeeded )(
  271. ICiCDocName * This,
  272. /* [out] */ ULONG *pcbName);
  273. END_INTERFACE
  274. } ICiCDocNameVtbl;
  275. interface ICiCDocName
  276. {
  277. CONST_VTBL struct ICiCDocNameVtbl *lpVtbl;
  278. };
  279. #ifdef COBJMACROS
  280. #define ICiCDocName_QueryInterface(This,riid,ppvObject) \
  281. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  282. #define ICiCDocName_AddRef(This) \
  283. (This)->lpVtbl -> AddRef(This)
  284. #define ICiCDocName_Release(This) \
  285. (This)->lpVtbl -> Release(This)
  286. #define ICiCDocName_Init(This,pbName,cbName) \
  287. (This)->lpVtbl -> Init(This,pbName,cbName)
  288. #define ICiCDocName_Set(This,pICiCDocName) \
  289. (This)->lpVtbl -> Set(This,pICiCDocName)
  290. #define ICiCDocName_Clear(This) \
  291. (This)->lpVtbl -> Clear(This)
  292. #define ICiCDocName_IsValid(This) \
  293. (This)->lpVtbl -> IsValid(This)
  294. #define ICiCDocName_Duplicate(This,ppICiCDocName) \
  295. (This)->lpVtbl -> Duplicate(This,ppICiCDocName)
  296. #define ICiCDocName_Get(This,pbName,pcbName) \
  297. (This)->lpVtbl -> Get(This,pbName,pcbName)
  298. #define ICiCDocName_GetNameBuffer(This,ppName,pcbName) \
  299. (This)->lpVtbl -> GetNameBuffer(This,ppName,pcbName)
  300. #define ICiCDocName_GetBufSizeNeeded(This,pcbName) \
  301. (This)->lpVtbl -> GetBufSizeNeeded(This,pcbName)
  302. #endif /* COBJMACROS */
  303. #endif /* C style interface */
  304. SCODE STDMETHODCALLTYPE ICiCDocName_Init_Proxy(
  305. ICiCDocName * This,
  306. /* [size_is][in] */ const BYTE *pbName,
  307. /* [in] */ ULONG cbName);
  308. void __RPC_STUB ICiCDocName_Init_Stub(
  309. IRpcStubBuffer *This,
  310. IRpcChannelBuffer *_pRpcChannelBuffer,
  311. PRPC_MESSAGE _pRpcMessage,
  312. DWORD *_pdwStubPhase);
  313. SCODE STDMETHODCALLTYPE ICiCDocName_Set_Proxy(
  314. ICiCDocName * This,
  315. /* [in] */ const ICiCDocName *pICiCDocName);
  316. void __RPC_STUB ICiCDocName_Set_Stub(
  317. IRpcStubBuffer *This,
  318. IRpcChannelBuffer *_pRpcChannelBuffer,
  319. PRPC_MESSAGE _pRpcMessage,
  320. DWORD *_pdwStubPhase);
  321. SCODE STDMETHODCALLTYPE ICiCDocName_Clear_Proxy(
  322. ICiCDocName * This);
  323. void __RPC_STUB ICiCDocName_Clear_Stub(
  324. IRpcStubBuffer *This,
  325. IRpcChannelBuffer *_pRpcChannelBuffer,
  326. PRPC_MESSAGE _pRpcMessage,
  327. DWORD *_pdwStubPhase);
  328. SCODE STDMETHODCALLTYPE ICiCDocName_IsValid_Proxy(
  329. ICiCDocName * This);
  330. void __RPC_STUB ICiCDocName_IsValid_Stub(
  331. IRpcStubBuffer *This,
  332. IRpcChannelBuffer *_pRpcChannelBuffer,
  333. PRPC_MESSAGE _pRpcMessage,
  334. DWORD *_pdwStubPhase);
  335. SCODE STDMETHODCALLTYPE ICiCDocName_Duplicate_Proxy(
  336. ICiCDocName * This,
  337. /* [out] */ ICiCDocName **ppICiCDocName);
  338. void __RPC_STUB ICiCDocName_Duplicate_Stub(
  339. IRpcStubBuffer *This,
  340. IRpcChannelBuffer *_pRpcChannelBuffer,
  341. PRPC_MESSAGE _pRpcMessage,
  342. DWORD *_pdwStubPhase);
  343. SCODE STDMETHODCALLTYPE ICiCDocName_Get_Proxy(
  344. ICiCDocName * This,
  345. /* [size_is][out] */ BYTE *pbName,
  346. /* [out][in] */ ULONG *pcbName);
  347. void __RPC_STUB ICiCDocName_Get_Stub(
  348. IRpcStubBuffer *This,
  349. IRpcChannelBuffer *_pRpcChannelBuffer,
  350. PRPC_MESSAGE _pRpcMessage,
  351. DWORD *_pdwStubPhase);
  352. SCODE STDMETHODCALLTYPE ICiCDocName_GetNameBuffer_Proxy(
  353. ICiCDocName * This,
  354. /* [out] */ const BYTE **ppName,
  355. /* [out] */ ULONG *pcbName);
  356. void __RPC_STUB ICiCDocName_GetNameBuffer_Stub(
  357. IRpcStubBuffer *This,
  358. IRpcChannelBuffer *_pRpcChannelBuffer,
  359. PRPC_MESSAGE _pRpcMessage,
  360. DWORD *_pdwStubPhase);
  361. SCODE STDMETHODCALLTYPE ICiCDocName_GetBufSizeNeeded_Proxy(
  362. ICiCDocName * This,
  363. /* [out] */ ULONG *pcbName);
  364. void __RPC_STUB ICiCDocName_GetBufSizeNeeded_Stub(
  365. IRpcStubBuffer *This,
  366. IRpcChannelBuffer *_pRpcChannelBuffer,
  367. PRPC_MESSAGE _pRpcMessage,
  368. DWORD *_pdwStubPhase);
  369. #endif /* __ICiCDocName_INTERFACE_DEFINED__ */
  370. #ifndef __ICiCOpenedDoc_INTERFACE_DEFINED__
  371. #define __ICiCOpenedDoc_INTERFACE_DEFINED__
  372. /* interface ICiCOpenedDoc */
  373. /* [unique][uuid][object][local] */
  374. EXTERN_C const IID IID_ICiCOpenedDoc;
  375. #if defined(__cplusplus) && !defined(CINTERFACE)
  376. MIDL_INTERFACE("151EDFBE-3C2F-11D0-8C90-0020AF1D740E")
  377. ICiCOpenedDoc : public IUnknown
  378. {
  379. public:
  380. virtual SCODE STDMETHODCALLTYPE Open(
  381. /* [size_is][in] */ const BYTE *pbDocName,
  382. /* [in] */ ULONG cbDocName) = 0;
  383. virtual SCODE STDMETHODCALLTYPE Close( void) = 0;
  384. virtual SCODE STDMETHODCALLTYPE GetDocumentName(
  385. /* [out] */ ICiCDocName **ppICiDocName) = 0;
  386. virtual SCODE STDMETHODCALLTYPE GetStatPropertyEnum(
  387. /* [out] */ IPropertyStorage **ppIPropStorage) = 0;
  388. virtual SCODE STDMETHODCALLTYPE GetPropertySetEnum(
  389. /* [out] */ IPropertySetStorage **ppIPropSetStorage) = 0;
  390. virtual SCODE STDMETHODCALLTYPE GetPropertyEnum(
  391. /* [in] */ REFFMTID GuidPropSet,
  392. /* [out] */ IPropertyStorage **ppIPropStorage) = 0;
  393. virtual SCODE STDMETHODCALLTYPE GetIFilter(
  394. /* [out] */ IFilter **ppIFilter) = 0;
  395. virtual SCODE STDMETHODCALLTYPE GetSecurity(
  396. /* [size_is][out] */ BYTE *pbData,
  397. /* [out][in] */ ULONG *pcbData) = 0;
  398. virtual SCODE STDMETHODCALLTYPE IsInUseByAnotherProcess(
  399. /* [out] */ BOOL *pfInUse) = 0;
  400. };
  401. #else /* C style interface */
  402. typedef struct ICiCOpenedDocVtbl
  403. {
  404. BEGIN_INTERFACE
  405. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  406. ICiCOpenedDoc * This,
  407. /* [in] */ REFIID riid,
  408. /* [iid_is][out] */ void **ppvObject);
  409. ULONG ( STDMETHODCALLTYPE *AddRef )(
  410. ICiCOpenedDoc * This);
  411. ULONG ( STDMETHODCALLTYPE *Release )(
  412. ICiCOpenedDoc * This);
  413. SCODE ( STDMETHODCALLTYPE *Open )(
  414. ICiCOpenedDoc * This,
  415. /* [size_is][in] */ const BYTE *pbDocName,
  416. /* [in] */ ULONG cbDocName);
  417. SCODE ( STDMETHODCALLTYPE *Close )(
  418. ICiCOpenedDoc * This);
  419. SCODE ( STDMETHODCALLTYPE *GetDocumentName )(
  420. ICiCOpenedDoc * This,
  421. /* [out] */ ICiCDocName **ppICiDocName);
  422. SCODE ( STDMETHODCALLTYPE *GetStatPropertyEnum )(
  423. ICiCOpenedDoc * This,
  424. /* [out] */ IPropertyStorage **ppIPropStorage);
  425. SCODE ( STDMETHODCALLTYPE *GetPropertySetEnum )(
  426. ICiCOpenedDoc * This,
  427. /* [out] */ IPropertySetStorage **ppIPropSetStorage);
  428. SCODE ( STDMETHODCALLTYPE *GetPropertyEnum )(
  429. ICiCOpenedDoc * This,
  430. /* [in] */ REFFMTID GuidPropSet,
  431. /* [out] */ IPropertyStorage **ppIPropStorage);
  432. SCODE ( STDMETHODCALLTYPE *GetIFilter )(
  433. ICiCOpenedDoc * This,
  434. /* [out] */ IFilter **ppIFilter);
  435. SCODE ( STDMETHODCALLTYPE *GetSecurity )(
  436. ICiCOpenedDoc * This,
  437. /* [size_is][out] */ BYTE *pbData,
  438. /* [out][in] */ ULONG *pcbData);
  439. SCODE ( STDMETHODCALLTYPE *IsInUseByAnotherProcess )(
  440. ICiCOpenedDoc * This,
  441. /* [out] */ BOOL *pfInUse);
  442. END_INTERFACE
  443. } ICiCOpenedDocVtbl;
  444. interface ICiCOpenedDoc
  445. {
  446. CONST_VTBL struct ICiCOpenedDocVtbl *lpVtbl;
  447. };
  448. #ifdef COBJMACROS
  449. #define ICiCOpenedDoc_QueryInterface(This,riid,ppvObject) \
  450. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  451. #define ICiCOpenedDoc_AddRef(This) \
  452. (This)->lpVtbl -> AddRef(This)
  453. #define ICiCOpenedDoc_Release(This) \
  454. (This)->lpVtbl -> Release(This)
  455. #define ICiCOpenedDoc_Open(This,pbDocName,cbDocName) \
  456. (This)->lpVtbl -> Open(This,pbDocName,cbDocName)
  457. #define ICiCOpenedDoc_Close(This) \
  458. (This)->lpVtbl -> Close(This)
  459. #define ICiCOpenedDoc_GetDocumentName(This,ppICiDocName) \
  460. (This)->lpVtbl -> GetDocumentName(This,ppICiDocName)
  461. #define ICiCOpenedDoc_GetStatPropertyEnum(This,ppIPropStorage) \
  462. (This)->lpVtbl -> GetStatPropertyEnum(This,ppIPropStorage)
  463. #define ICiCOpenedDoc_GetPropertySetEnum(This,ppIPropSetStorage) \
  464. (This)->lpVtbl -> GetPropertySetEnum(This,ppIPropSetStorage)
  465. #define ICiCOpenedDoc_GetPropertyEnum(This,GuidPropSet,ppIPropStorage) \
  466. (This)->lpVtbl -> GetPropertyEnum(This,GuidPropSet,ppIPropStorage)
  467. #define ICiCOpenedDoc_GetIFilter(This,ppIFilter) \
  468. (This)->lpVtbl -> GetIFilter(This,ppIFilter)
  469. #define ICiCOpenedDoc_GetSecurity(This,pbData,pcbData) \
  470. (This)->lpVtbl -> GetSecurity(This,pbData,pcbData)
  471. #define ICiCOpenedDoc_IsInUseByAnotherProcess(This,pfInUse) \
  472. (This)->lpVtbl -> IsInUseByAnotherProcess(This,pfInUse)
  473. #endif /* COBJMACROS */
  474. #endif /* C style interface */
  475. SCODE STDMETHODCALLTYPE ICiCOpenedDoc_Open_Proxy(
  476. ICiCOpenedDoc * This,
  477. /* [size_is][in] */ const BYTE *pbDocName,
  478. /* [in] */ ULONG cbDocName);
  479. void __RPC_STUB ICiCOpenedDoc_Open_Stub(
  480. IRpcStubBuffer *This,
  481. IRpcChannelBuffer *_pRpcChannelBuffer,
  482. PRPC_MESSAGE _pRpcMessage,
  483. DWORD *_pdwStubPhase);
  484. SCODE STDMETHODCALLTYPE ICiCOpenedDoc_Close_Proxy(
  485. ICiCOpenedDoc * This);
  486. void __RPC_STUB ICiCOpenedDoc_Close_Stub(
  487. IRpcStubBuffer *This,
  488. IRpcChannelBuffer *_pRpcChannelBuffer,
  489. PRPC_MESSAGE _pRpcMessage,
  490. DWORD *_pdwStubPhase);
  491. SCODE STDMETHODCALLTYPE ICiCOpenedDoc_GetDocumentName_Proxy(
  492. ICiCOpenedDoc * This,
  493. /* [out] */ ICiCDocName **ppICiDocName);
  494. void __RPC_STUB ICiCOpenedDoc_GetDocumentName_Stub(
  495. IRpcStubBuffer *This,
  496. IRpcChannelBuffer *_pRpcChannelBuffer,
  497. PRPC_MESSAGE _pRpcMessage,
  498. DWORD *_pdwStubPhase);
  499. SCODE STDMETHODCALLTYPE ICiCOpenedDoc_GetStatPropertyEnum_Proxy(
  500. ICiCOpenedDoc * This,
  501. /* [out] */ IPropertyStorage **ppIPropStorage);
  502. void __RPC_STUB ICiCOpenedDoc_GetStatPropertyEnum_Stub(
  503. IRpcStubBuffer *This,
  504. IRpcChannelBuffer *_pRpcChannelBuffer,
  505. PRPC_MESSAGE _pRpcMessage,
  506. DWORD *_pdwStubPhase);
  507. SCODE STDMETHODCALLTYPE ICiCOpenedDoc_GetPropertySetEnum_Proxy(
  508. ICiCOpenedDoc * This,
  509. /* [out] */ IPropertySetStorage **ppIPropSetStorage);
  510. void __RPC_STUB ICiCOpenedDoc_GetPropertySetEnum_Stub(
  511. IRpcStubBuffer *This,
  512. IRpcChannelBuffer *_pRpcChannelBuffer,
  513. PRPC_MESSAGE _pRpcMessage,
  514. DWORD *_pdwStubPhase);
  515. SCODE STDMETHODCALLTYPE ICiCOpenedDoc_GetPropertyEnum_Proxy(
  516. ICiCOpenedDoc * This,
  517. /* [in] */ REFFMTID GuidPropSet,
  518. /* [out] */ IPropertyStorage **ppIPropStorage);
  519. void __RPC_STUB ICiCOpenedDoc_GetPropertyEnum_Stub(
  520. IRpcStubBuffer *This,
  521. IRpcChannelBuffer *_pRpcChannelBuffer,
  522. PRPC_MESSAGE _pRpcMessage,
  523. DWORD *_pdwStubPhase);
  524. SCODE STDMETHODCALLTYPE ICiCOpenedDoc_GetIFilter_Proxy(
  525. ICiCOpenedDoc * This,
  526. /* [out] */ IFilter **ppIFilter);
  527. void __RPC_STUB ICiCOpenedDoc_GetIFilter_Stub(
  528. IRpcStubBuffer *This,
  529. IRpcChannelBuffer *_pRpcChannelBuffer,
  530. PRPC_MESSAGE _pRpcMessage,
  531. DWORD *_pdwStubPhase);
  532. SCODE STDMETHODCALLTYPE ICiCOpenedDoc_GetSecurity_Proxy(
  533. ICiCOpenedDoc * This,
  534. /* [size_is][out] */ BYTE *pbData,
  535. /* [out][in] */ ULONG *pcbData);
  536. void __RPC_STUB ICiCOpenedDoc_GetSecurity_Stub(
  537. IRpcStubBuffer *This,
  538. IRpcChannelBuffer *_pRpcChannelBuffer,
  539. PRPC_MESSAGE _pRpcMessage,
  540. DWORD *_pdwStubPhase);
  541. SCODE STDMETHODCALLTYPE ICiCOpenedDoc_IsInUseByAnotherProcess_Proxy(
  542. ICiCOpenedDoc * This,
  543. /* [out] */ BOOL *pfInUse);
  544. void __RPC_STUB ICiCOpenedDoc_IsInUseByAnotherProcess_Stub(
  545. IRpcStubBuffer *This,
  546. IRpcChannelBuffer *_pRpcChannelBuffer,
  547. PRPC_MESSAGE _pRpcMessage,
  548. DWORD *_pdwStubPhase);
  549. #endif /* __ICiCOpenedDoc_INTERFACE_DEFINED__ */
  550. #ifndef __ICiAdminParams_INTERFACE_DEFINED__
  551. #define __ICiAdminParams_INTERFACE_DEFINED__
  552. /* interface ICiAdminParams */
  553. /* [unique][uuid][object][local] */
  554. typedef
  555. enum tagCI_ADMIN_PARAMS
  556. { CI_AP_MERGE_INTERVAL = 0,
  557. CI_AP_MAX_UPDATES = CI_AP_MERGE_INTERVAL + 1,
  558. CI_AP_MAX_WORDLISTS = CI_AP_MAX_UPDATES + 1,
  559. CI_AP_MIN_SIZE_MERGE_WORDLISTS = CI_AP_MAX_WORDLISTS + 1,
  560. CI_AP_MAX_WORDLIST_SIZE = CI_AP_MIN_SIZE_MERGE_WORDLISTS + 1,
  561. CI_AP_MIN_WORDLIST_MEMORY = CI_AP_MAX_WORDLIST_SIZE + 1,
  562. CI_AP_LOW_RESOURCE_SLEEP = CI_AP_MIN_WORDLIST_MEMORY + 1,
  563. CI_AP_MAX_WORDLIST_MEMORY_LOAD = CI_AP_LOW_RESOURCE_SLEEP + 1,
  564. CI_AP_MAX_FRESH_COUNT = CI_AP_MAX_WORDLIST_MEMORY_LOAD + 1,
  565. CI_AP_MAX_SHADOW_INDEX_SIZE = CI_AP_MAX_FRESH_COUNT + 1,
  566. CI_AP_MIN_DISK_FREE_FORCE_MERGE = CI_AP_MAX_SHADOW_INDEX_SIZE + 1,
  567. CI_AP_MAX_SHADOW_FREE_FORCE_MERGE = CI_AP_MIN_DISK_FREE_FORCE_MERGE + 1,
  568. CI_AP_MAX_INDEXES = CI_AP_MAX_SHADOW_FREE_FORCE_MERGE + 1,
  569. CI_AP_MAX_IDEAL_INDEXES = CI_AP_MAX_INDEXES + 1,
  570. CI_AP_MIN_MERGE_IDLE_TIME = CI_AP_MAX_IDEAL_INDEXES + 1,
  571. CI_AP_MAX_PENDING_DOCUMENTS = CI_AP_MIN_MERGE_IDLE_TIME + 1,
  572. CI_AP_MASTER_MERGE_TIME = CI_AP_MAX_PENDING_DOCUMENTS + 1,
  573. CI_AP_MAX_QUEUE_CHUNKS = CI_AP_MASTER_MERGE_TIME + 1,
  574. CI_AP_MASTER_MERGE_CHECKPOINT_INTERVAL = CI_AP_MAX_QUEUE_CHUNKS + 1,
  575. CI_AP_FILTER_BUFFER_SIZE = CI_AP_MASTER_MERGE_CHECKPOINT_INTERVAL + 1,
  576. CI_AP_FILTER_RETRIES = CI_AP_FILTER_BUFFER_SIZE + 1,
  577. CI_AP_FILTER_RETRY_INTERVAL = CI_AP_FILTER_RETRIES + 1,
  578. CI_AP_MIN_IDLE_QUERY_THREADS = CI_AP_FILTER_RETRY_INTERVAL + 1,
  579. CI_AP_MAX_ACTIVE_QUERY_THREADS = CI_AP_MIN_IDLE_QUERY_THREADS + 1,
  580. CI_AP_MAX_QUERY_TIMESLICE = CI_AP_MAX_ACTIVE_QUERY_THREADS + 1,
  581. CI_AP_MAX_QUERY_EXECUTION_TIME = CI_AP_MAX_QUERY_TIMESLICE + 1,
  582. CI_AP_MAX_RESTRICTION_NODES = CI_AP_MAX_QUERY_EXECUTION_TIME + 1,
  583. CI_AP_CLUSTERINGTIME = CI_AP_MAX_RESTRICTION_NODES + 1,
  584. CI_AP_MAX_FILESIZE_MULTIPLIER = CI_AP_CLUSTERINGTIME + 1,
  585. CI_AP_DAEMON_RESPONSE_TIMEOUT = CI_AP_MAX_FILESIZE_MULTIPLIER + 1,
  586. CI_AP_FILTER_DELAY_INTERVAL = CI_AP_DAEMON_RESPONSE_TIMEOUT + 1,
  587. CI_AP_FILTER_REMAINING_THRESHOLD = CI_AP_FILTER_DELAY_INTERVAL + 1,
  588. CI_AP_MAX_CHARACTERIZATION = CI_AP_FILTER_REMAINING_THRESHOLD + 1,
  589. CI_AP_MAX_FRESH_DELETES = CI_AP_MAX_CHARACTERIZATION + 1,
  590. CI_AP_MAX_WORDLIST_IO = CI_AP_MAX_FRESH_DELETES + 1,
  591. CI_AP_WORDLIST_RESOURCE_CHECK_INTERVAL = CI_AP_MAX_WORDLIST_IO + 1,
  592. CI_AP_STARTUP_DELAY = CI_AP_WORDLIST_RESOURCE_CHECK_INTERVAL + 1,
  593. CI_AP_GENERATE_CHARACTERIZATION = CI_AP_STARTUP_DELAY + 1,
  594. CI_AP_MIN_WORDLIST_BATTERY = CI_AP_GENERATE_CHARACTERIZATION + 1,
  595. CI_AP_THREAD_PRIORITY_MERGE = CI_AP_MIN_WORDLIST_BATTERY + 1,
  596. CI_AP_THREAD_PRIORITY_FILTER = CI_AP_THREAD_PRIORITY_MERGE + 1,
  597. CI_AP_THREAD_CLASS_FILTER = CI_AP_THREAD_PRIORITY_FILTER + 1,
  598. CI_AP_EVTLOG_FLAGS = CI_AP_THREAD_CLASS_FILTER + 1,
  599. CI_AP_MISC_FLAGS = CI_AP_EVTLOG_FLAGS + 1,
  600. CI_AP_GENERATE_RELEVANT_WORDS = CI_AP_MISC_FLAGS + 1,
  601. CI_AP_FFILTER_FILES_WITH_UNKNOWN_EXTENSIONS = CI_AP_GENERATE_RELEVANT_WORDS + 1,
  602. CI_AP_FILTER_DIRECTORIES = CI_AP_FFILTER_FILES_WITH_UNKNOWN_EXTENSIONS + 1,
  603. CI_AP_FILTER_CONTENTS = CI_AP_FILTER_DIRECTORIES + 1,
  604. CI_AP_MAX_FILESIZE_FILTERED = CI_AP_FILTER_CONTENTS + 1,
  605. CI_AP_MIN_CLIENT_IDLE_TIME = CI_AP_MAX_FILESIZE_FILTERED + 1,
  606. CI_AP_MAX_DAEMON_VM_USE = CI_AP_MIN_CLIENT_IDLE_TIME + 1,
  607. CI_AP_SECQ_FILTER_RETRIES = CI_AP_MAX_DAEMON_VM_USE + 1,
  608. CI_AP_WORDLIST_USER_IDLE = CI_AP_SECQ_FILTER_RETRIES + 1,
  609. CI_AP_IS_ENUM_ALLOWED = CI_AP_WORDLIST_USER_IDLE + 1,
  610. CI_AP_MIN_DISK_SPACE_TO_LEAVE = CI_AP_IS_ENUM_ALLOWED + 1,
  611. CI_AP_MAX_DWORD_VAL = CI_AP_MIN_DISK_SPACE_TO_LEAVE + 1,
  612. CI_AP_MAX_VAL = CI_AP_MAX_DWORD_VAL + 1
  613. } CI_ADMIN_PARAMS;
  614. typedef
  615. enum tagCI_CONFIG_TYPE
  616. { CI_CONFIG_DEFAULT = 0,
  617. CI_CONFIG_OPTIMIZE_FOR_SPEED = 0x1,
  618. CI_CONFIG_OPTIMIZE_FOR_SIZE = 0x2,
  619. CI_CONFIG_OPTIMIZE_FOR_DEDICATED_INDEXING = 0x4,
  620. CI_CONFIG_OPTIMIZE_FOR_DEDICATED_QUERYING = 0x8,
  621. CI_CONFIG_OPTIMIZE_FOR_DEDICATED_INDEX_QUERY = 0x10,
  622. CI_CONFIG_OPTIMIZE_FOR_MULTIPURPOSE_SERVER = 0x20
  623. } CI_CONFIG_TYPE;
  624. EXTERN_C const IID IID_ICiAdminParams;
  625. #if defined(__cplusplus) && !defined(CINTERFACE)
  626. MIDL_INTERFACE("a82d48c6-3f0f-11d0-8c91-0020af1d740e")
  627. ICiAdminParams : public IUnknown
  628. {
  629. public:
  630. virtual SCODE STDMETHODCALLTYPE SetValue(
  631. /* [in] */ CI_ADMIN_PARAMS param,
  632. /* [in] */ DWORD dwValue) = 0;
  633. virtual SCODE STDMETHODCALLTYPE SetParamValue(
  634. /* [in] */ CI_ADMIN_PARAMS param,
  635. /* [in] */ const PROPVARIANT *pVarValue) = 0;
  636. virtual SCODE STDMETHODCALLTYPE SetValues(
  637. ULONG nParams,
  638. /* [size_is][in] */ const PROPVARIANT *aParamVals,
  639. /* [size_is][in] */ const CI_ADMIN_PARAMS *aParamNames) = 0;
  640. virtual SCODE STDMETHODCALLTYPE GetValue(
  641. /* [in] */ CI_ADMIN_PARAMS param,
  642. /* [out] */ DWORD *pdwValue) = 0;
  643. virtual SCODE STDMETHODCALLTYPE GetInt64Value(
  644. /* [in] */ CI_ADMIN_PARAMS param,
  645. /* [out] */ __int64 *pValue) = 0;
  646. virtual SCODE STDMETHODCALLTYPE GetParamValue(
  647. /* [in] */ CI_ADMIN_PARAMS param,
  648. /* [out] */ PROPVARIANT **ppVarValue) = 0;
  649. virtual SCODE STDMETHODCALLTYPE IsSame(
  650. /* [in] */ CI_ADMIN_PARAMS param,
  651. /* [in] */ const PROPVARIANT *pVarValue,
  652. /* [out] */ BOOL *pfSame) = 0;
  653. virtual SCODE STDMETHODCALLTYPE SetConfigType(
  654. /* [in] */ CI_CONFIG_TYPE configType) = 0;
  655. virtual SCODE STDMETHODCALLTYPE GetConfigType(
  656. /* [out] */ CI_CONFIG_TYPE *pConfigType) = 0;
  657. };
  658. #else /* C style interface */
  659. typedef struct ICiAdminParamsVtbl
  660. {
  661. BEGIN_INTERFACE
  662. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  663. ICiAdminParams * This,
  664. /* [in] */ REFIID riid,
  665. /* [iid_is][out] */ void **ppvObject);
  666. ULONG ( STDMETHODCALLTYPE *AddRef )(
  667. ICiAdminParams * This);
  668. ULONG ( STDMETHODCALLTYPE *Release )(
  669. ICiAdminParams * This);
  670. SCODE ( STDMETHODCALLTYPE *SetValue )(
  671. ICiAdminParams * This,
  672. /* [in] */ CI_ADMIN_PARAMS param,
  673. /* [in] */ DWORD dwValue);
  674. SCODE ( STDMETHODCALLTYPE *SetParamValue )(
  675. ICiAdminParams * This,
  676. /* [in] */ CI_ADMIN_PARAMS param,
  677. /* [in] */ const PROPVARIANT *pVarValue);
  678. SCODE ( STDMETHODCALLTYPE *SetValues )(
  679. ICiAdminParams * This,
  680. ULONG nParams,
  681. /* [size_is][in] */ const PROPVARIANT *aParamVals,
  682. /* [size_is][in] */ const CI_ADMIN_PARAMS *aParamNames);
  683. SCODE ( STDMETHODCALLTYPE *GetValue )(
  684. ICiAdminParams * This,
  685. /* [in] */ CI_ADMIN_PARAMS param,
  686. /* [out] */ DWORD *pdwValue);
  687. SCODE ( STDMETHODCALLTYPE *GetInt64Value )(
  688. ICiAdminParams * This,
  689. /* [in] */ CI_ADMIN_PARAMS param,
  690. /* [out] */ __int64 *pValue);
  691. SCODE ( STDMETHODCALLTYPE *GetParamValue )(
  692. ICiAdminParams * This,
  693. /* [in] */ CI_ADMIN_PARAMS param,
  694. /* [out] */ PROPVARIANT **ppVarValue);
  695. SCODE ( STDMETHODCALLTYPE *IsSame )(
  696. ICiAdminParams * This,
  697. /* [in] */ CI_ADMIN_PARAMS param,
  698. /* [in] */ const PROPVARIANT *pVarValue,
  699. /* [out] */ BOOL *pfSame);
  700. SCODE ( STDMETHODCALLTYPE *SetConfigType )(
  701. ICiAdminParams * This,
  702. /* [in] */ CI_CONFIG_TYPE configType);
  703. SCODE ( STDMETHODCALLTYPE *GetConfigType )(
  704. ICiAdminParams * This,
  705. /* [out] */ CI_CONFIG_TYPE *pConfigType);
  706. END_INTERFACE
  707. } ICiAdminParamsVtbl;
  708. interface ICiAdminParams
  709. {
  710. CONST_VTBL struct ICiAdminParamsVtbl *lpVtbl;
  711. };
  712. #ifdef COBJMACROS
  713. #define ICiAdminParams_QueryInterface(This,riid,ppvObject) \
  714. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  715. #define ICiAdminParams_AddRef(This) \
  716. (This)->lpVtbl -> AddRef(This)
  717. #define ICiAdminParams_Release(This) \
  718. (This)->lpVtbl -> Release(This)
  719. #define ICiAdminParams_SetValue(This,param,dwValue) \
  720. (This)->lpVtbl -> SetValue(This,param,dwValue)
  721. #define ICiAdminParams_SetParamValue(This,param,pVarValue) \
  722. (This)->lpVtbl -> SetParamValue(This,param,pVarValue)
  723. #define ICiAdminParams_SetValues(This,nParams,aParamVals,aParamNames) \
  724. (This)->lpVtbl -> SetValues(This,nParams,aParamVals,aParamNames)
  725. #define ICiAdminParams_GetValue(This,param,pdwValue) \
  726. (This)->lpVtbl -> GetValue(This,param,pdwValue)
  727. #define ICiAdminParams_GetInt64Value(This,param,pValue) \
  728. (This)->lpVtbl -> GetInt64Value(This,param,pValue)
  729. #define ICiAdminParams_GetParamValue(This,param,ppVarValue) \
  730. (This)->lpVtbl -> GetParamValue(This,param,ppVarValue)
  731. #define ICiAdminParams_IsSame(This,param,pVarValue,pfSame) \
  732. (This)->lpVtbl -> IsSame(This,param,pVarValue,pfSame)
  733. #define ICiAdminParams_SetConfigType(This,configType) \
  734. (This)->lpVtbl -> SetConfigType(This,configType)
  735. #define ICiAdminParams_GetConfigType(This,pConfigType) \
  736. (This)->lpVtbl -> GetConfigType(This,pConfigType)
  737. #endif /* COBJMACROS */
  738. #endif /* C style interface */
  739. SCODE STDMETHODCALLTYPE ICiAdminParams_SetValue_Proxy(
  740. ICiAdminParams * This,
  741. /* [in] */ CI_ADMIN_PARAMS param,
  742. /* [in] */ DWORD dwValue);
  743. void __RPC_STUB ICiAdminParams_SetValue_Stub(
  744. IRpcStubBuffer *This,
  745. IRpcChannelBuffer *_pRpcChannelBuffer,
  746. PRPC_MESSAGE _pRpcMessage,
  747. DWORD *_pdwStubPhase);
  748. SCODE STDMETHODCALLTYPE ICiAdminParams_SetParamValue_Proxy(
  749. ICiAdminParams * This,
  750. /* [in] */ CI_ADMIN_PARAMS param,
  751. /* [in] */ const PROPVARIANT *pVarValue);
  752. void __RPC_STUB ICiAdminParams_SetParamValue_Stub(
  753. IRpcStubBuffer *This,
  754. IRpcChannelBuffer *_pRpcChannelBuffer,
  755. PRPC_MESSAGE _pRpcMessage,
  756. DWORD *_pdwStubPhase);
  757. SCODE STDMETHODCALLTYPE ICiAdminParams_SetValues_Proxy(
  758. ICiAdminParams * This,
  759. ULONG nParams,
  760. /* [size_is][in] */ const PROPVARIANT *aParamVals,
  761. /* [size_is][in] */ const CI_ADMIN_PARAMS *aParamNames);
  762. void __RPC_STUB ICiAdminParams_SetValues_Stub(
  763. IRpcStubBuffer *This,
  764. IRpcChannelBuffer *_pRpcChannelBuffer,
  765. PRPC_MESSAGE _pRpcMessage,
  766. DWORD *_pdwStubPhase);
  767. SCODE STDMETHODCALLTYPE ICiAdminParams_GetValue_Proxy(
  768. ICiAdminParams * This,
  769. /* [in] */ CI_ADMIN_PARAMS param,
  770. /* [out] */ DWORD *pdwValue);
  771. void __RPC_STUB ICiAdminParams_GetValue_Stub(
  772. IRpcStubBuffer *This,
  773. IRpcChannelBuffer *_pRpcChannelBuffer,
  774. PRPC_MESSAGE _pRpcMessage,
  775. DWORD *_pdwStubPhase);
  776. SCODE STDMETHODCALLTYPE ICiAdminParams_GetInt64Value_Proxy(
  777. ICiAdminParams * This,
  778. /* [in] */ CI_ADMIN_PARAMS param,
  779. /* [out] */ __int64 *pValue);
  780. void __RPC_STUB ICiAdminParams_GetInt64Value_Stub(
  781. IRpcStubBuffer *This,
  782. IRpcChannelBuffer *_pRpcChannelBuffer,
  783. PRPC_MESSAGE _pRpcMessage,
  784. DWORD *_pdwStubPhase);
  785. SCODE STDMETHODCALLTYPE ICiAdminParams_GetParamValue_Proxy(
  786. ICiAdminParams * This,
  787. /* [in] */ CI_ADMIN_PARAMS param,
  788. /* [out] */ PROPVARIANT **ppVarValue);
  789. void __RPC_STUB ICiAdminParams_GetParamValue_Stub(
  790. IRpcStubBuffer *This,
  791. IRpcChannelBuffer *_pRpcChannelBuffer,
  792. PRPC_MESSAGE _pRpcMessage,
  793. DWORD *_pdwStubPhase);
  794. SCODE STDMETHODCALLTYPE ICiAdminParams_IsSame_Proxy(
  795. ICiAdminParams * This,
  796. /* [in] */ CI_ADMIN_PARAMS param,
  797. /* [in] */ const PROPVARIANT *pVarValue,
  798. /* [out] */ BOOL *pfSame);
  799. void __RPC_STUB ICiAdminParams_IsSame_Stub(
  800. IRpcStubBuffer *This,
  801. IRpcChannelBuffer *_pRpcChannelBuffer,
  802. PRPC_MESSAGE _pRpcMessage,
  803. DWORD *_pdwStubPhase);
  804. SCODE STDMETHODCALLTYPE ICiAdminParams_SetConfigType_Proxy(
  805. ICiAdminParams * This,
  806. /* [in] */ CI_CONFIG_TYPE configType);
  807. void __RPC_STUB ICiAdminParams_SetConfigType_Stub(
  808. IRpcStubBuffer *This,
  809. IRpcChannelBuffer *_pRpcChannelBuffer,
  810. PRPC_MESSAGE _pRpcMessage,
  811. DWORD *_pdwStubPhase);
  812. SCODE STDMETHODCALLTYPE ICiAdminParams_GetConfigType_Proxy(
  813. ICiAdminParams * This,
  814. /* [out] */ CI_CONFIG_TYPE *pConfigType);
  815. void __RPC_STUB ICiAdminParams_GetConfigType_Stub(
  816. IRpcStubBuffer *This,
  817. IRpcChannelBuffer *_pRpcChannelBuffer,
  818. PRPC_MESSAGE _pRpcMessage,
  819. DWORD *_pdwStubPhase);
  820. #endif /* __ICiAdminParams_INTERFACE_DEFINED__ */
  821. /* interface __MIDL_itf_ciintf_0124 */
  822. /* [local] */
  823. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0124_v0_0_c_ifspec;
  824. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0124_v0_0_s_ifspec;
  825. #ifndef __ICiCLangRes_INTERFACE_DEFINED__
  826. #define __ICiCLangRes_INTERFACE_DEFINED__
  827. /* interface ICiCLangRes */
  828. /* [unique][uuid][object][local] */
  829. EXTERN_C const IID IID_ICiCLangRes;
  830. #if defined(__cplusplus) && !defined(CINTERFACE)
  831. MIDL_INTERFACE("914c2e6c-43fe-11d0-8c91-0020af1d740e")
  832. ICiCLangRes : public IUnknown
  833. {
  834. public:
  835. virtual SCODE STDMETHODCALLTYPE GetWordBreaker(
  836. /* [in] */ LCID locale,
  837. /* [in] */ PROPID pid,
  838. /* [out] */ IWordBreaker **ppWordBreaker) = 0;
  839. virtual SCODE STDMETHODCALLTYPE GetStemmer(
  840. /* [in] */ LCID locale,
  841. /* [in] */ PROPID pid,
  842. /* [out] */ IStemmer **ppStemmer) = 0;
  843. virtual SCODE STDMETHODCALLTYPE GetNoiseWordList(
  844. /* [in] */ LCID locale,
  845. /* [in] */ PROPID pid,
  846. /* [out] */ IStream **ppNoiseWordList) = 0;
  847. };
  848. #else /* C style interface */
  849. typedef struct ICiCLangResVtbl
  850. {
  851. BEGIN_INTERFACE
  852. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  853. ICiCLangRes * This,
  854. /* [in] */ REFIID riid,
  855. /* [iid_is][out] */ void **ppvObject);
  856. ULONG ( STDMETHODCALLTYPE *AddRef )(
  857. ICiCLangRes * This);
  858. ULONG ( STDMETHODCALLTYPE *Release )(
  859. ICiCLangRes * This);
  860. SCODE ( STDMETHODCALLTYPE *GetWordBreaker )(
  861. ICiCLangRes * This,
  862. /* [in] */ LCID locale,
  863. /* [in] */ PROPID pid,
  864. /* [out] */ IWordBreaker **ppWordBreaker);
  865. SCODE ( STDMETHODCALLTYPE *GetStemmer )(
  866. ICiCLangRes * This,
  867. /* [in] */ LCID locale,
  868. /* [in] */ PROPID pid,
  869. /* [out] */ IStemmer **ppStemmer);
  870. SCODE ( STDMETHODCALLTYPE *GetNoiseWordList )(
  871. ICiCLangRes * This,
  872. /* [in] */ LCID locale,
  873. /* [in] */ PROPID pid,
  874. /* [out] */ IStream **ppNoiseWordList);
  875. END_INTERFACE
  876. } ICiCLangResVtbl;
  877. interface ICiCLangRes
  878. {
  879. CONST_VTBL struct ICiCLangResVtbl *lpVtbl;
  880. };
  881. #ifdef COBJMACROS
  882. #define ICiCLangRes_QueryInterface(This,riid,ppvObject) \
  883. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  884. #define ICiCLangRes_AddRef(This) \
  885. (This)->lpVtbl -> AddRef(This)
  886. #define ICiCLangRes_Release(This) \
  887. (This)->lpVtbl -> Release(This)
  888. #define ICiCLangRes_GetWordBreaker(This,locale,pid,ppWordBreaker) \
  889. (This)->lpVtbl -> GetWordBreaker(This,locale,pid,ppWordBreaker)
  890. #define ICiCLangRes_GetStemmer(This,locale,pid,ppStemmer) \
  891. (This)->lpVtbl -> GetStemmer(This,locale,pid,ppStemmer)
  892. #define ICiCLangRes_GetNoiseWordList(This,locale,pid,ppNoiseWordList) \
  893. (This)->lpVtbl -> GetNoiseWordList(This,locale,pid,ppNoiseWordList)
  894. #endif /* COBJMACROS */
  895. #endif /* C style interface */
  896. SCODE STDMETHODCALLTYPE ICiCLangRes_GetWordBreaker_Proxy(
  897. ICiCLangRes * This,
  898. /* [in] */ LCID locale,
  899. /* [in] */ PROPID pid,
  900. /* [out] */ IWordBreaker **ppWordBreaker);
  901. void __RPC_STUB ICiCLangRes_GetWordBreaker_Stub(
  902. IRpcStubBuffer *This,
  903. IRpcChannelBuffer *_pRpcChannelBuffer,
  904. PRPC_MESSAGE _pRpcMessage,
  905. DWORD *_pdwStubPhase);
  906. SCODE STDMETHODCALLTYPE ICiCLangRes_GetStemmer_Proxy(
  907. ICiCLangRes * This,
  908. /* [in] */ LCID locale,
  909. /* [in] */ PROPID pid,
  910. /* [out] */ IStemmer **ppStemmer);
  911. void __RPC_STUB ICiCLangRes_GetStemmer_Stub(
  912. IRpcStubBuffer *This,
  913. IRpcChannelBuffer *_pRpcChannelBuffer,
  914. PRPC_MESSAGE _pRpcMessage,
  915. DWORD *_pdwStubPhase);
  916. SCODE STDMETHODCALLTYPE ICiCLangRes_GetNoiseWordList_Proxy(
  917. ICiCLangRes * This,
  918. /* [in] */ LCID locale,
  919. /* [in] */ PROPID pid,
  920. /* [out] */ IStream **ppNoiseWordList);
  921. void __RPC_STUB ICiCLangRes_GetNoiseWordList_Stub(
  922. IRpcStubBuffer *This,
  923. IRpcChannelBuffer *_pRpcChannelBuffer,
  924. PRPC_MESSAGE _pRpcMessage,
  925. DWORD *_pdwStubPhase);
  926. #endif /* __ICiCLangRes_INTERFACE_DEFINED__ */
  927. #ifndef __ICiAdmin_INTERFACE_DEFINED__
  928. #define __ICiAdmin_INTERFACE_DEFINED__
  929. /* interface ICiAdmin */
  930. /* [unique][uuid][object][local] */
  931. EXTERN_C const IID IID_ICiAdmin;
  932. #if defined(__cplusplus) && !defined(CINTERFACE)
  933. MIDL_INTERFACE("AE67C7D8-85D3-11d0-8C45-00C04FC2DB8D")
  934. ICiAdmin : public IUnknown
  935. {
  936. public:
  937. virtual SCODE STDMETHODCALLTYPE InvalidateLangResources( void) = 0;
  938. };
  939. #else /* C style interface */
  940. typedef struct ICiAdminVtbl
  941. {
  942. BEGIN_INTERFACE
  943. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  944. ICiAdmin * This,
  945. /* [in] */ REFIID riid,
  946. /* [iid_is][out] */ void **ppvObject);
  947. ULONG ( STDMETHODCALLTYPE *AddRef )(
  948. ICiAdmin * This);
  949. ULONG ( STDMETHODCALLTYPE *Release )(
  950. ICiAdmin * This);
  951. SCODE ( STDMETHODCALLTYPE *InvalidateLangResources )(
  952. ICiAdmin * This);
  953. END_INTERFACE
  954. } ICiAdminVtbl;
  955. interface ICiAdmin
  956. {
  957. CONST_VTBL struct ICiAdminVtbl *lpVtbl;
  958. };
  959. #ifdef COBJMACROS
  960. #define ICiAdmin_QueryInterface(This,riid,ppvObject) \
  961. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  962. #define ICiAdmin_AddRef(This) \
  963. (This)->lpVtbl -> AddRef(This)
  964. #define ICiAdmin_Release(This) \
  965. (This)->lpVtbl -> Release(This)
  966. #define ICiAdmin_InvalidateLangResources(This) \
  967. (This)->lpVtbl -> InvalidateLangResources(This)
  968. #endif /* COBJMACROS */
  969. #endif /* C style interface */
  970. SCODE STDMETHODCALLTYPE ICiAdmin_InvalidateLangResources_Proxy(
  971. ICiAdmin * This);
  972. void __RPC_STUB ICiAdmin_InvalidateLangResources_Stub(
  973. IRpcStubBuffer *This,
  974. IRpcChannelBuffer *_pRpcChannelBuffer,
  975. PRPC_MESSAGE _pRpcMessage,
  976. DWORD *_pdwStubPhase);
  977. #endif /* __ICiAdmin_INTERFACE_DEFINED__ */
  978. #ifndef __ICiFrameworkQuery_INTERFACE_DEFINED__
  979. #define __ICiFrameworkQuery_INTERFACE_DEFINED__
  980. /* interface ICiFrameworkQuery */
  981. /* [unique][uuid][object][local] */
  982. EXTERN_C const IID IID_ICiFrameworkQuery;
  983. #if defined(__cplusplus) && !defined(CINTERFACE)
  984. MIDL_INTERFACE("AE67C7D9-85D3-11d0-8C45-00C04FC2DB8D")
  985. ICiFrameworkQuery : public IUnknown
  986. {
  987. public:
  988. virtual SCODE STDMETHODCALLTYPE GetCCI(
  989. /* [out] */ void **ppCCI) = 0;
  990. virtual SCODE STDMETHODCALLTYPE ProcessError(
  991. /* [in] */ long lErrorCode) = 0;
  992. virtual SCODE STDMETHODCALLTYPE GetLangList(
  993. /* [out] */ void **ppLangList) = 0;
  994. };
  995. #else /* C style interface */
  996. typedef struct ICiFrameworkQueryVtbl
  997. {
  998. BEGIN_INTERFACE
  999. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1000. ICiFrameworkQuery * This,
  1001. /* [in] */ REFIID riid,
  1002. /* [iid_is][out] */ void **ppvObject);
  1003. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1004. ICiFrameworkQuery * This);
  1005. ULONG ( STDMETHODCALLTYPE *Release )(
  1006. ICiFrameworkQuery * This);
  1007. SCODE ( STDMETHODCALLTYPE *GetCCI )(
  1008. ICiFrameworkQuery * This,
  1009. /* [out] */ void **ppCCI);
  1010. SCODE ( STDMETHODCALLTYPE *ProcessError )(
  1011. ICiFrameworkQuery * This,
  1012. /* [in] */ long lErrorCode);
  1013. SCODE ( STDMETHODCALLTYPE *GetLangList )(
  1014. ICiFrameworkQuery * This,
  1015. /* [out] */ void **ppLangList);
  1016. END_INTERFACE
  1017. } ICiFrameworkQueryVtbl;
  1018. interface ICiFrameworkQuery
  1019. {
  1020. CONST_VTBL struct ICiFrameworkQueryVtbl *lpVtbl;
  1021. };
  1022. #ifdef COBJMACROS
  1023. #define ICiFrameworkQuery_QueryInterface(This,riid,ppvObject) \
  1024. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1025. #define ICiFrameworkQuery_AddRef(This) \
  1026. (This)->lpVtbl -> AddRef(This)
  1027. #define ICiFrameworkQuery_Release(This) \
  1028. (This)->lpVtbl -> Release(This)
  1029. #define ICiFrameworkQuery_GetCCI(This,ppCCI) \
  1030. (This)->lpVtbl -> GetCCI(This,ppCCI)
  1031. #define ICiFrameworkQuery_ProcessError(This,lErrorCode) \
  1032. (This)->lpVtbl -> ProcessError(This,lErrorCode)
  1033. #define ICiFrameworkQuery_GetLangList(This,ppLangList) \
  1034. (This)->lpVtbl -> GetLangList(This,ppLangList)
  1035. #endif /* COBJMACROS */
  1036. #endif /* C style interface */
  1037. SCODE STDMETHODCALLTYPE ICiFrameworkQuery_GetCCI_Proxy(
  1038. ICiFrameworkQuery * This,
  1039. /* [out] */ void **ppCCI);
  1040. void __RPC_STUB ICiFrameworkQuery_GetCCI_Stub(
  1041. IRpcStubBuffer *This,
  1042. IRpcChannelBuffer *_pRpcChannelBuffer,
  1043. PRPC_MESSAGE _pRpcMessage,
  1044. DWORD *_pdwStubPhase);
  1045. SCODE STDMETHODCALLTYPE ICiFrameworkQuery_ProcessError_Proxy(
  1046. ICiFrameworkQuery * This,
  1047. /* [in] */ long lErrorCode);
  1048. void __RPC_STUB ICiFrameworkQuery_ProcessError_Stub(
  1049. IRpcStubBuffer *This,
  1050. IRpcChannelBuffer *_pRpcChannelBuffer,
  1051. PRPC_MESSAGE _pRpcMessage,
  1052. DWORD *_pdwStubPhase);
  1053. SCODE STDMETHODCALLTYPE ICiFrameworkQuery_GetLangList_Proxy(
  1054. ICiFrameworkQuery * This,
  1055. /* [out] */ void **ppLangList);
  1056. void __RPC_STUB ICiFrameworkQuery_GetLangList_Stub(
  1057. IRpcStubBuffer *This,
  1058. IRpcChannelBuffer *_pRpcChannelBuffer,
  1059. PRPC_MESSAGE _pRpcMessage,
  1060. DWORD *_pdwStubPhase);
  1061. #endif /* __ICiFrameworkQuery_INTERFACE_DEFINED__ */
  1062. #ifndef __ICiCAdviseStatus_INTERFACE_DEFINED__
  1063. #define __ICiCAdviseStatus_INTERFACE_DEFINED__
  1064. /* interface ICiCAdviseStatus */
  1065. /* [unique][uuid][object][local] */
  1066. typedef
  1067. enum tagCI_PERF_COUNTER_NAME
  1068. { CI_PERF_NUM_WORDLIST = 0,
  1069. CI_PERF_NUM_PERSISTENT_INDEXES = CI_PERF_NUM_WORDLIST + 1,
  1070. CI_PERF_INDEX_SIZE = CI_PERF_NUM_PERSISTENT_INDEXES + 1,
  1071. CI_PERF_FILES_TO_BE_FILTERED = CI_PERF_INDEX_SIZE + 1,
  1072. CI_PERF_NUM_UNIQUE_KEY = CI_PERF_FILES_TO_BE_FILTERED + 1,
  1073. CI_PERF_RUNNING_QUERIES = CI_PERF_NUM_UNIQUE_KEY + 1,
  1074. CI_PERF_MERGE_PROGRESS = CI_PERF_RUNNING_QUERIES + 1,
  1075. CI_PERF_DOCUMENTS_FILTERED = CI_PERF_MERGE_PROGRESS + 1,
  1076. CI_PERF_NUM_DOCUMENTS = CI_PERF_DOCUMENTS_FILTERED + 1,
  1077. CI_PERF_TOTAL_QUERIES = CI_PERF_NUM_DOCUMENTS + 1,
  1078. CI_PERF_FILTER_TIME_TOTAL = CI_PERF_TOTAL_QUERIES + 1,
  1079. CI_PERF_FILTER_TIME = CI_PERF_FILTER_TIME_TOTAL + 1,
  1080. CI_PERF_BIND_TIME = CI_PERF_FILTER_TIME + 1,
  1081. CI_PERF_DEFERRED_FILTER_FILES = CI_PERF_BIND_TIME + 1
  1082. } CI_PERF_COUNTER_NAME;
  1083. typedef
  1084. enum tagCI_NOTIFY_STATUS_VALUE
  1085. { CI_NOTIFY_FILTERING_FAILURE = 0,
  1086. CI_NOTIFY_CORRUPT_INDEX = CI_NOTIFY_FILTERING_FAILURE + 1,
  1087. CI_NOTIFY_SET_DISK_FULL = CI_NOTIFY_CORRUPT_INDEX + 1,
  1088. CI_NOTIFY_CLEAR_DISK_FULL = CI_NOTIFY_SET_DISK_FULL + 1,
  1089. CI_NOTIFY_RESCAN_NEEDED = CI_NOTIFY_CLEAR_DISK_FULL + 1,
  1090. CI_NOTIFY_FILTER_EMBEDDING_FAILURE = CI_NOTIFY_RESCAN_NEEDED + 1,
  1091. CI_NOTIFY_FILTER_TOO_MANY_BLOCKS = CI_NOTIFY_FILTER_EMBEDDING_FAILURE + 1
  1092. } CI_NOTIFY_STATUS_VALUE;
  1093. EXTERN_C const IID IID_ICiCAdviseStatus;
  1094. #if defined(__cplusplus) && !defined(CINTERFACE)
  1095. MIDL_INTERFACE("ca05734a-1218-11d3-ae7a-00c04f72f831")
  1096. ICiCAdviseStatus : public IUnknown
  1097. {
  1098. public:
  1099. virtual SCODE STDMETHODCALLTYPE SetPerfCounterValue(
  1100. /* [in] */ CI_PERF_COUNTER_NAME counterName,
  1101. /* [in] */ long value) = 0;
  1102. virtual SCODE STDMETHODCALLTYPE GetPerfCounterValue(
  1103. /* [in] */ CI_PERF_COUNTER_NAME counterName,
  1104. /* [out] */ long *pValue) = 0;
  1105. virtual SCODE STDMETHODCALLTYPE IncrementPerfCounterValue(
  1106. /* [in] */ CI_PERF_COUNTER_NAME counterName) = 0;
  1107. virtual SCODE STDMETHODCALLTYPE DecrementPerfCounterValue(
  1108. /* [in] */ CI_PERF_COUNTER_NAME counterName) = 0;
  1109. virtual SCODE STDMETHODCALLTYPE NotifyEvent(
  1110. /* [in] */ WORD fType,
  1111. /* [in] */ DWORD eventId,
  1112. /* [in] */ ULONG nParams,
  1113. /* [size_is][in] */ const PROPVARIANT *aParams,
  1114. /* [in] */ ULONG cbData,
  1115. /* [size_is][in] */ void *data) = 0;
  1116. virtual SCODE STDMETHODCALLTYPE NotifyStatus(
  1117. /* [in] */ CI_NOTIFY_STATUS_VALUE status,
  1118. /* [in] */ ULONG nParams,
  1119. /* [size_is][in] */ const PROPVARIANT *aParams) = 0;
  1120. };
  1121. #else /* C style interface */
  1122. typedef struct ICiCAdviseStatusVtbl
  1123. {
  1124. BEGIN_INTERFACE
  1125. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1126. ICiCAdviseStatus * This,
  1127. /* [in] */ REFIID riid,
  1128. /* [iid_is][out] */ void **ppvObject);
  1129. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1130. ICiCAdviseStatus * This);
  1131. ULONG ( STDMETHODCALLTYPE *Release )(
  1132. ICiCAdviseStatus * This);
  1133. SCODE ( STDMETHODCALLTYPE *SetPerfCounterValue )(
  1134. ICiCAdviseStatus * This,
  1135. /* [in] */ CI_PERF_COUNTER_NAME counterName,
  1136. /* [in] */ long value);
  1137. SCODE ( STDMETHODCALLTYPE *GetPerfCounterValue )(
  1138. ICiCAdviseStatus * This,
  1139. /* [in] */ CI_PERF_COUNTER_NAME counterName,
  1140. /* [out] */ long *pValue);
  1141. SCODE ( STDMETHODCALLTYPE *IncrementPerfCounterValue )(
  1142. ICiCAdviseStatus * This,
  1143. /* [in] */ CI_PERF_COUNTER_NAME counterName);
  1144. SCODE ( STDMETHODCALLTYPE *DecrementPerfCounterValue )(
  1145. ICiCAdviseStatus * This,
  1146. /* [in] */ CI_PERF_COUNTER_NAME counterName);
  1147. SCODE ( STDMETHODCALLTYPE *NotifyEvent )(
  1148. ICiCAdviseStatus * This,
  1149. /* [in] */ WORD fType,
  1150. /* [in] */ DWORD eventId,
  1151. /* [in] */ ULONG nParams,
  1152. /* [size_is][in] */ const PROPVARIANT *aParams,
  1153. /* [in] */ ULONG cbData,
  1154. /* [size_is][in] */ void *data);
  1155. SCODE ( STDMETHODCALLTYPE *NotifyStatus )(
  1156. ICiCAdviseStatus * This,
  1157. /* [in] */ CI_NOTIFY_STATUS_VALUE status,
  1158. /* [in] */ ULONG nParams,
  1159. /* [size_is][in] */ const PROPVARIANT *aParams);
  1160. END_INTERFACE
  1161. } ICiCAdviseStatusVtbl;
  1162. interface ICiCAdviseStatus
  1163. {
  1164. CONST_VTBL struct ICiCAdviseStatusVtbl *lpVtbl;
  1165. };
  1166. #ifdef COBJMACROS
  1167. #define ICiCAdviseStatus_QueryInterface(This,riid,ppvObject) \
  1168. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1169. #define ICiCAdviseStatus_AddRef(This) \
  1170. (This)->lpVtbl -> AddRef(This)
  1171. #define ICiCAdviseStatus_Release(This) \
  1172. (This)->lpVtbl -> Release(This)
  1173. #define ICiCAdviseStatus_SetPerfCounterValue(This,counterName,value) \
  1174. (This)->lpVtbl -> SetPerfCounterValue(This,counterName,value)
  1175. #define ICiCAdviseStatus_GetPerfCounterValue(This,counterName,pValue) \
  1176. (This)->lpVtbl -> GetPerfCounterValue(This,counterName,pValue)
  1177. #define ICiCAdviseStatus_IncrementPerfCounterValue(This,counterName) \
  1178. (This)->lpVtbl -> IncrementPerfCounterValue(This,counterName)
  1179. #define ICiCAdviseStatus_DecrementPerfCounterValue(This,counterName) \
  1180. (This)->lpVtbl -> DecrementPerfCounterValue(This,counterName)
  1181. #define ICiCAdviseStatus_NotifyEvent(This,fType,eventId,nParams,aParams,cbData,data) \
  1182. (This)->lpVtbl -> NotifyEvent(This,fType,eventId,nParams,aParams,cbData,data)
  1183. #define ICiCAdviseStatus_NotifyStatus(This,status,nParams,aParams) \
  1184. (This)->lpVtbl -> NotifyStatus(This,status,nParams,aParams)
  1185. #endif /* COBJMACROS */
  1186. #endif /* C style interface */
  1187. SCODE STDMETHODCALLTYPE ICiCAdviseStatus_SetPerfCounterValue_Proxy(
  1188. ICiCAdviseStatus * This,
  1189. /* [in] */ CI_PERF_COUNTER_NAME counterName,
  1190. /* [in] */ long value);
  1191. void __RPC_STUB ICiCAdviseStatus_SetPerfCounterValue_Stub(
  1192. IRpcStubBuffer *This,
  1193. IRpcChannelBuffer *_pRpcChannelBuffer,
  1194. PRPC_MESSAGE _pRpcMessage,
  1195. DWORD *_pdwStubPhase);
  1196. SCODE STDMETHODCALLTYPE ICiCAdviseStatus_GetPerfCounterValue_Proxy(
  1197. ICiCAdviseStatus * This,
  1198. /* [in] */ CI_PERF_COUNTER_NAME counterName,
  1199. /* [out] */ long *pValue);
  1200. void __RPC_STUB ICiCAdviseStatus_GetPerfCounterValue_Stub(
  1201. IRpcStubBuffer *This,
  1202. IRpcChannelBuffer *_pRpcChannelBuffer,
  1203. PRPC_MESSAGE _pRpcMessage,
  1204. DWORD *_pdwStubPhase);
  1205. SCODE STDMETHODCALLTYPE ICiCAdviseStatus_IncrementPerfCounterValue_Proxy(
  1206. ICiCAdviseStatus * This,
  1207. /* [in] */ CI_PERF_COUNTER_NAME counterName);
  1208. void __RPC_STUB ICiCAdviseStatus_IncrementPerfCounterValue_Stub(
  1209. IRpcStubBuffer *This,
  1210. IRpcChannelBuffer *_pRpcChannelBuffer,
  1211. PRPC_MESSAGE _pRpcMessage,
  1212. DWORD *_pdwStubPhase);
  1213. SCODE STDMETHODCALLTYPE ICiCAdviseStatus_DecrementPerfCounterValue_Proxy(
  1214. ICiCAdviseStatus * This,
  1215. /* [in] */ CI_PERF_COUNTER_NAME counterName);
  1216. void __RPC_STUB ICiCAdviseStatus_DecrementPerfCounterValue_Stub(
  1217. IRpcStubBuffer *This,
  1218. IRpcChannelBuffer *_pRpcChannelBuffer,
  1219. PRPC_MESSAGE _pRpcMessage,
  1220. DWORD *_pdwStubPhase);
  1221. SCODE STDMETHODCALLTYPE ICiCAdviseStatus_NotifyEvent_Proxy(
  1222. ICiCAdviseStatus * This,
  1223. /* [in] */ WORD fType,
  1224. /* [in] */ DWORD eventId,
  1225. /* [in] */ ULONG nParams,
  1226. /* [size_is][in] */ const PROPVARIANT *aParams,
  1227. /* [in] */ ULONG cbData,
  1228. /* [size_is][in] */ void *data);
  1229. void __RPC_STUB ICiCAdviseStatus_NotifyEvent_Stub(
  1230. IRpcStubBuffer *This,
  1231. IRpcChannelBuffer *_pRpcChannelBuffer,
  1232. PRPC_MESSAGE _pRpcMessage,
  1233. DWORD *_pdwStubPhase);
  1234. SCODE STDMETHODCALLTYPE ICiCAdviseStatus_NotifyStatus_Proxy(
  1235. ICiCAdviseStatus * This,
  1236. /* [in] */ CI_NOTIFY_STATUS_VALUE status,
  1237. /* [in] */ ULONG nParams,
  1238. /* [size_is][in] */ const PROPVARIANT *aParams);
  1239. void __RPC_STUB ICiCAdviseStatus_NotifyStatus_Stub(
  1240. IRpcStubBuffer *This,
  1241. IRpcChannelBuffer *_pRpcChannelBuffer,
  1242. PRPC_MESSAGE _pRpcMessage,
  1243. DWORD *_pdwStubPhase);
  1244. #endif /* __ICiCAdviseStatus_INTERFACE_DEFINED__ */
  1245. #ifndef __ICiCFilterClient_INTERFACE_DEFINED__
  1246. #define __ICiCFilterClient_INTERFACE_DEFINED__
  1247. /* interface ICiCFilterClient */
  1248. /* [unique][uuid][object][local] */
  1249. typedef struct tagCI_CLIENT_FILTER_CONFIG_INFO
  1250. {
  1251. BOOL fSupportsOpLocks;
  1252. BOOL fSupportsSecurity;
  1253. } CI_CLIENT_FILTER_CONFIG_INFO;
  1254. EXTERN_C const IID IID_ICiCFilterClient;
  1255. #if defined(__cplusplus) && !defined(CINTERFACE)
  1256. MIDL_INTERFACE("A1E0BCB6-3C24-11D0-8C90-0020AF1D740E")
  1257. ICiCFilterClient : public IUnknown
  1258. {
  1259. public:
  1260. virtual SCODE STDMETHODCALLTYPE Init(
  1261. /* [size_is][in] */ const BYTE *pbData,
  1262. /* [in] */ ULONG cbData,
  1263. /* [in] */ ICiAdminParams *pICiAdminParams) = 0;
  1264. virtual SCODE STDMETHODCALLTYPE GetConfigInfo(
  1265. /* [out] */ CI_CLIENT_FILTER_CONFIG_INFO *pConfigInfo) = 0;
  1266. virtual SCODE STDMETHODCALLTYPE GetOpenedDoc(
  1267. /* [out] */ ICiCOpenedDoc **ppICiCOpenedDoc) = 0;
  1268. };
  1269. #else /* C style interface */
  1270. typedef struct ICiCFilterClientVtbl
  1271. {
  1272. BEGIN_INTERFACE
  1273. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1274. ICiCFilterClient * This,
  1275. /* [in] */ REFIID riid,
  1276. /* [iid_is][out] */ void **ppvObject);
  1277. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1278. ICiCFilterClient * This);
  1279. ULONG ( STDMETHODCALLTYPE *Release )(
  1280. ICiCFilterClient * This);
  1281. SCODE ( STDMETHODCALLTYPE *Init )(
  1282. ICiCFilterClient * This,
  1283. /* [size_is][in] */ const BYTE *pbData,
  1284. /* [in] */ ULONG cbData,
  1285. /* [in] */ ICiAdminParams *pICiAdminParams);
  1286. SCODE ( STDMETHODCALLTYPE *GetConfigInfo )(
  1287. ICiCFilterClient * This,
  1288. /* [out] */ CI_CLIENT_FILTER_CONFIG_INFO *pConfigInfo);
  1289. SCODE ( STDMETHODCALLTYPE *GetOpenedDoc )(
  1290. ICiCFilterClient * This,
  1291. /* [out] */ ICiCOpenedDoc **ppICiCOpenedDoc);
  1292. END_INTERFACE
  1293. } ICiCFilterClientVtbl;
  1294. interface ICiCFilterClient
  1295. {
  1296. CONST_VTBL struct ICiCFilterClientVtbl *lpVtbl;
  1297. };
  1298. #ifdef COBJMACROS
  1299. #define ICiCFilterClient_QueryInterface(This,riid,ppvObject) \
  1300. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1301. #define ICiCFilterClient_AddRef(This) \
  1302. (This)->lpVtbl -> AddRef(This)
  1303. #define ICiCFilterClient_Release(This) \
  1304. (This)->lpVtbl -> Release(This)
  1305. #define ICiCFilterClient_Init(This,pbData,cbData,pICiAdminParams) \
  1306. (This)->lpVtbl -> Init(This,pbData,cbData,pICiAdminParams)
  1307. #define ICiCFilterClient_GetConfigInfo(This,pConfigInfo) \
  1308. (This)->lpVtbl -> GetConfigInfo(This,pConfigInfo)
  1309. #define ICiCFilterClient_GetOpenedDoc(This,ppICiCOpenedDoc) \
  1310. (This)->lpVtbl -> GetOpenedDoc(This,ppICiCOpenedDoc)
  1311. #endif /* COBJMACROS */
  1312. #endif /* C style interface */
  1313. SCODE STDMETHODCALLTYPE ICiCFilterClient_Init_Proxy(
  1314. ICiCFilterClient * This,
  1315. /* [size_is][in] */ const BYTE *pbData,
  1316. /* [in] */ ULONG cbData,
  1317. /* [in] */ ICiAdminParams *pICiAdminParams);
  1318. void __RPC_STUB ICiCFilterClient_Init_Stub(
  1319. IRpcStubBuffer *This,
  1320. IRpcChannelBuffer *_pRpcChannelBuffer,
  1321. PRPC_MESSAGE _pRpcMessage,
  1322. DWORD *_pdwStubPhase);
  1323. SCODE STDMETHODCALLTYPE ICiCFilterClient_GetConfigInfo_Proxy(
  1324. ICiCFilterClient * This,
  1325. /* [out] */ CI_CLIENT_FILTER_CONFIG_INFO *pConfigInfo);
  1326. void __RPC_STUB ICiCFilterClient_GetConfigInfo_Stub(
  1327. IRpcStubBuffer *This,
  1328. IRpcChannelBuffer *_pRpcChannelBuffer,
  1329. PRPC_MESSAGE _pRpcMessage,
  1330. DWORD *_pdwStubPhase);
  1331. SCODE STDMETHODCALLTYPE ICiCFilterClient_GetOpenedDoc_Proxy(
  1332. ICiCFilterClient * This,
  1333. /* [out] */ ICiCOpenedDoc **ppICiCOpenedDoc);
  1334. void __RPC_STUB ICiCFilterClient_GetOpenedDoc_Stub(
  1335. IRpcStubBuffer *This,
  1336. IRpcChannelBuffer *_pRpcChannelBuffer,
  1337. PRPC_MESSAGE _pRpcMessage,
  1338. DWORD *_pdwStubPhase);
  1339. #endif /* __ICiCFilterClient_INTERFACE_DEFINED__ */
  1340. /* interface __MIDL_itf_ciintf_0129 */
  1341. /* [local] */
  1342. typedef ULONG VOLUMEID;
  1343. typedef LONGLONG USN;
  1344. typedef ULONG WORKID;
  1345. typedef ULONG PROPID;
  1346. typedef ULONG SDID;
  1347. typedef ULONG PARTITIONID;
  1348. typedef DWORD ACCESS_MASK;
  1349. typedef struct tagUSN_FLUSH_INFO
  1350. {
  1351. VOLUMEID volumeId;
  1352. USN usnHighest;
  1353. } USN_FLUSH_INFO;
  1354. typedef
  1355. enum tagCI_UPDATE_TYPE
  1356. { CI_UPDATE_ADD = 0x1,
  1357. CI_UPDATE_DELETE = 0x2,
  1358. CI_UPDATE_MODIFY = 0x4
  1359. } CI_UPDATE_TYPE;
  1360. typedef
  1361. enum tagCI_ACCESS_MODE
  1362. { CI_READ_ACCESS = 0x1,
  1363. CI_WRITE_ACCESS = 0x2,
  1364. CI_EXECUTE_ACCESS = 0x4
  1365. } CI_ACCESS_MODE;
  1366. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0129_v0_0_c_ifspec;
  1367. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0129_v0_0_s_ifspec;
  1368. #ifndef __ICiCDocStore_INTERFACE_DEFINED__
  1369. #define __ICiCDocStore_INTERFACE_DEFINED__
  1370. /* interface ICiCDocStore */
  1371. /* [unique][uuid][object][local] */
  1372. typedef struct tagCI_CLIENT_STATUS
  1373. {
  1374. ULONG cDocuments;
  1375. } CI_CLIENT_STATUS;
  1376. typedef
  1377. enum tagCI_DISABLE_UPDATE_REASON
  1378. { CI_LOST_UPDATE = 0,
  1379. CI_CORRUPT_INDEX = CI_LOST_UPDATE + 1,
  1380. CI_DISK_FULL = CI_CORRUPT_INDEX + 1
  1381. } CI_DISABLE_UPDATE_REASON;
  1382. EXTERN_C const IID IID_ICiCDocStore;
  1383. #if defined(__cplusplus) && !defined(CINTERFACE)
  1384. MIDL_INTERFACE("46625468-3C32-11D0-8C90-0020AF1D740E")
  1385. ICiCDocStore : public IUnknown
  1386. {
  1387. public:
  1388. virtual SCODE STDMETHODCALLTYPE FlushPropertyStore( void) = 0;
  1389. virtual SCODE STDMETHODCALLTYPE GetClientStatus(
  1390. /* [out] */ CI_CLIENT_STATUS *pStatus) = 0;
  1391. virtual SCODE STDMETHODCALLTYPE GetContentIndex(
  1392. /* [out] */ ICiManager **ppICiManager) = 0;
  1393. virtual SCODE STDMETHODCALLTYPE EnableUpdates( void) = 0;
  1394. virtual SCODE STDMETHODCALLTYPE DisableUpdates(
  1395. /* [in] */ BOOL fIncremental,
  1396. /* [in] */ CI_DISABLE_UPDATE_REASON dwReason) = 0;
  1397. virtual SCODE STDMETHODCALLTYPE ProcessCiDaemonTermination(
  1398. /* [in] */ DWORD dwStatus) = 0;
  1399. virtual SCODE STDMETHODCALLTYPE CheckPointChangesFlushed(
  1400. /* [in] */ FILETIME ftFlushed,
  1401. /* [in] */ ULONG cEntries,
  1402. /* [size_is][in] */ const USN_FLUSH_INFO *const *pUsnEntries) = 0;
  1403. virtual SCODE STDMETHODCALLTYPE GetQuerySession(
  1404. /* [out] */ ICiCQuerySession **ppICiCQuerySession) = 0;
  1405. virtual SCODE STDMETHODCALLTYPE MarkDocUnReachable(
  1406. /* [in] */ WORKID wid) = 0;
  1407. virtual SCODE STDMETHODCALLTYPE GetPropertyMapper(
  1408. /* [out] */ IPropertyMapper **ppIPropertyMapper) = 0;
  1409. virtual SCODE STDMETHODCALLTYPE StoreSecurity(
  1410. /* [in] */ WORKID wid,
  1411. /* [in] */ const BYTE *pbSecurity,
  1412. /* [in] */ ULONG cbSecurity) = 0;
  1413. };
  1414. #else /* C style interface */
  1415. typedef struct ICiCDocStoreVtbl
  1416. {
  1417. BEGIN_INTERFACE
  1418. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1419. ICiCDocStore * This,
  1420. /* [in] */ REFIID riid,
  1421. /* [iid_is][out] */ void **ppvObject);
  1422. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1423. ICiCDocStore * This);
  1424. ULONG ( STDMETHODCALLTYPE *Release )(
  1425. ICiCDocStore * This);
  1426. SCODE ( STDMETHODCALLTYPE *FlushPropertyStore )(
  1427. ICiCDocStore * This);
  1428. SCODE ( STDMETHODCALLTYPE *GetClientStatus )(
  1429. ICiCDocStore * This,
  1430. /* [out] */ CI_CLIENT_STATUS *pStatus);
  1431. SCODE ( STDMETHODCALLTYPE *GetContentIndex )(
  1432. ICiCDocStore * This,
  1433. /* [out] */ ICiManager **ppICiManager);
  1434. SCODE ( STDMETHODCALLTYPE *EnableUpdates )(
  1435. ICiCDocStore * This);
  1436. SCODE ( STDMETHODCALLTYPE *DisableUpdates )(
  1437. ICiCDocStore * This,
  1438. /* [in] */ BOOL fIncremental,
  1439. /* [in] */ CI_DISABLE_UPDATE_REASON dwReason);
  1440. SCODE ( STDMETHODCALLTYPE *ProcessCiDaemonTermination )(
  1441. ICiCDocStore * This,
  1442. /* [in] */ DWORD dwStatus);
  1443. SCODE ( STDMETHODCALLTYPE *CheckPointChangesFlushed )(
  1444. ICiCDocStore * This,
  1445. /* [in] */ FILETIME ftFlushed,
  1446. /* [in] */ ULONG cEntries,
  1447. /* [size_is][in] */ const USN_FLUSH_INFO *const *pUsnEntries);
  1448. SCODE ( STDMETHODCALLTYPE *GetQuerySession )(
  1449. ICiCDocStore * This,
  1450. /* [out] */ ICiCQuerySession **ppICiCQuerySession);
  1451. SCODE ( STDMETHODCALLTYPE *MarkDocUnReachable )(
  1452. ICiCDocStore * This,
  1453. /* [in] */ WORKID wid);
  1454. SCODE ( STDMETHODCALLTYPE *GetPropertyMapper )(
  1455. ICiCDocStore * This,
  1456. /* [out] */ IPropertyMapper **ppIPropertyMapper);
  1457. SCODE ( STDMETHODCALLTYPE *StoreSecurity )(
  1458. ICiCDocStore * This,
  1459. /* [in] */ WORKID wid,
  1460. /* [in] */ const BYTE *pbSecurity,
  1461. /* [in] */ ULONG cbSecurity);
  1462. END_INTERFACE
  1463. } ICiCDocStoreVtbl;
  1464. interface ICiCDocStore
  1465. {
  1466. CONST_VTBL struct ICiCDocStoreVtbl *lpVtbl;
  1467. };
  1468. #ifdef COBJMACROS
  1469. #define ICiCDocStore_QueryInterface(This,riid,ppvObject) \
  1470. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1471. #define ICiCDocStore_AddRef(This) \
  1472. (This)->lpVtbl -> AddRef(This)
  1473. #define ICiCDocStore_Release(This) \
  1474. (This)->lpVtbl -> Release(This)
  1475. #define ICiCDocStore_FlushPropertyStore(This) \
  1476. (This)->lpVtbl -> FlushPropertyStore(This)
  1477. #define ICiCDocStore_GetClientStatus(This,pStatus) \
  1478. (This)->lpVtbl -> GetClientStatus(This,pStatus)
  1479. #define ICiCDocStore_GetContentIndex(This,ppICiManager) \
  1480. (This)->lpVtbl -> GetContentIndex(This,ppICiManager)
  1481. #define ICiCDocStore_EnableUpdates(This) \
  1482. (This)->lpVtbl -> EnableUpdates(This)
  1483. #define ICiCDocStore_DisableUpdates(This,fIncremental,dwReason) \
  1484. (This)->lpVtbl -> DisableUpdates(This,fIncremental,dwReason)
  1485. #define ICiCDocStore_ProcessCiDaemonTermination(This,dwStatus) \
  1486. (This)->lpVtbl -> ProcessCiDaemonTermination(This,dwStatus)
  1487. #define ICiCDocStore_CheckPointChangesFlushed(This,ftFlushed,cEntries,pUsnEntries) \
  1488. (This)->lpVtbl -> CheckPointChangesFlushed(This,ftFlushed,cEntries,pUsnEntries)
  1489. #define ICiCDocStore_GetQuerySession(This,ppICiCQuerySession) \
  1490. (This)->lpVtbl -> GetQuerySession(This,ppICiCQuerySession)
  1491. #define ICiCDocStore_MarkDocUnReachable(This,wid) \
  1492. (This)->lpVtbl -> MarkDocUnReachable(This,wid)
  1493. #define ICiCDocStore_GetPropertyMapper(This,ppIPropertyMapper) \
  1494. (This)->lpVtbl -> GetPropertyMapper(This,ppIPropertyMapper)
  1495. #define ICiCDocStore_StoreSecurity(This,wid,pbSecurity,cbSecurity) \
  1496. (This)->lpVtbl -> StoreSecurity(This,wid,pbSecurity,cbSecurity)
  1497. #endif /* COBJMACROS */
  1498. #endif /* C style interface */
  1499. SCODE STDMETHODCALLTYPE ICiCDocStore_FlushPropertyStore_Proxy(
  1500. ICiCDocStore * This);
  1501. void __RPC_STUB ICiCDocStore_FlushPropertyStore_Stub(
  1502. IRpcStubBuffer *This,
  1503. IRpcChannelBuffer *_pRpcChannelBuffer,
  1504. PRPC_MESSAGE _pRpcMessage,
  1505. DWORD *_pdwStubPhase);
  1506. SCODE STDMETHODCALLTYPE ICiCDocStore_GetClientStatus_Proxy(
  1507. ICiCDocStore * This,
  1508. /* [out] */ CI_CLIENT_STATUS *pStatus);
  1509. void __RPC_STUB ICiCDocStore_GetClientStatus_Stub(
  1510. IRpcStubBuffer *This,
  1511. IRpcChannelBuffer *_pRpcChannelBuffer,
  1512. PRPC_MESSAGE _pRpcMessage,
  1513. DWORD *_pdwStubPhase);
  1514. SCODE STDMETHODCALLTYPE ICiCDocStore_GetContentIndex_Proxy(
  1515. ICiCDocStore * This,
  1516. /* [out] */ ICiManager **ppICiManager);
  1517. void __RPC_STUB ICiCDocStore_GetContentIndex_Stub(
  1518. IRpcStubBuffer *This,
  1519. IRpcChannelBuffer *_pRpcChannelBuffer,
  1520. PRPC_MESSAGE _pRpcMessage,
  1521. DWORD *_pdwStubPhase);
  1522. SCODE STDMETHODCALLTYPE ICiCDocStore_EnableUpdates_Proxy(
  1523. ICiCDocStore * This);
  1524. void __RPC_STUB ICiCDocStore_EnableUpdates_Stub(
  1525. IRpcStubBuffer *This,
  1526. IRpcChannelBuffer *_pRpcChannelBuffer,
  1527. PRPC_MESSAGE _pRpcMessage,
  1528. DWORD *_pdwStubPhase);
  1529. SCODE STDMETHODCALLTYPE ICiCDocStore_DisableUpdates_Proxy(
  1530. ICiCDocStore * This,
  1531. /* [in] */ BOOL fIncremental,
  1532. /* [in] */ CI_DISABLE_UPDATE_REASON dwReason);
  1533. void __RPC_STUB ICiCDocStore_DisableUpdates_Stub(
  1534. IRpcStubBuffer *This,
  1535. IRpcChannelBuffer *_pRpcChannelBuffer,
  1536. PRPC_MESSAGE _pRpcMessage,
  1537. DWORD *_pdwStubPhase);
  1538. SCODE STDMETHODCALLTYPE ICiCDocStore_ProcessCiDaemonTermination_Proxy(
  1539. ICiCDocStore * This,
  1540. /* [in] */ DWORD dwStatus);
  1541. void __RPC_STUB ICiCDocStore_ProcessCiDaemonTermination_Stub(
  1542. IRpcStubBuffer *This,
  1543. IRpcChannelBuffer *_pRpcChannelBuffer,
  1544. PRPC_MESSAGE _pRpcMessage,
  1545. DWORD *_pdwStubPhase);
  1546. SCODE STDMETHODCALLTYPE ICiCDocStore_CheckPointChangesFlushed_Proxy(
  1547. ICiCDocStore * This,
  1548. /* [in] */ FILETIME ftFlushed,
  1549. /* [in] */ ULONG cEntries,
  1550. /* [size_is][in] */ const USN_FLUSH_INFO *const *pUsnEntries);
  1551. void __RPC_STUB ICiCDocStore_CheckPointChangesFlushed_Stub(
  1552. IRpcStubBuffer *This,
  1553. IRpcChannelBuffer *_pRpcChannelBuffer,
  1554. PRPC_MESSAGE _pRpcMessage,
  1555. DWORD *_pdwStubPhase);
  1556. SCODE STDMETHODCALLTYPE ICiCDocStore_GetQuerySession_Proxy(
  1557. ICiCDocStore * This,
  1558. /* [out] */ ICiCQuerySession **ppICiCQuerySession);
  1559. void __RPC_STUB ICiCDocStore_GetQuerySession_Stub(
  1560. IRpcStubBuffer *This,
  1561. IRpcChannelBuffer *_pRpcChannelBuffer,
  1562. PRPC_MESSAGE _pRpcMessage,
  1563. DWORD *_pdwStubPhase);
  1564. SCODE STDMETHODCALLTYPE ICiCDocStore_MarkDocUnReachable_Proxy(
  1565. ICiCDocStore * This,
  1566. /* [in] */ WORKID wid);
  1567. void __RPC_STUB ICiCDocStore_MarkDocUnReachable_Stub(
  1568. IRpcStubBuffer *This,
  1569. IRpcChannelBuffer *_pRpcChannelBuffer,
  1570. PRPC_MESSAGE _pRpcMessage,
  1571. DWORD *_pdwStubPhase);
  1572. SCODE STDMETHODCALLTYPE ICiCDocStore_GetPropertyMapper_Proxy(
  1573. ICiCDocStore * This,
  1574. /* [out] */ IPropertyMapper **ppIPropertyMapper);
  1575. void __RPC_STUB ICiCDocStore_GetPropertyMapper_Stub(
  1576. IRpcStubBuffer *This,
  1577. IRpcChannelBuffer *_pRpcChannelBuffer,
  1578. PRPC_MESSAGE _pRpcMessage,
  1579. DWORD *_pdwStubPhase);
  1580. SCODE STDMETHODCALLTYPE ICiCDocStore_StoreSecurity_Proxy(
  1581. ICiCDocStore * This,
  1582. /* [in] */ WORKID wid,
  1583. /* [in] */ const BYTE *pbSecurity,
  1584. /* [in] */ ULONG cbSecurity);
  1585. void __RPC_STUB ICiCDocStore_StoreSecurity_Stub(
  1586. IRpcStubBuffer *This,
  1587. IRpcChannelBuffer *_pRpcChannelBuffer,
  1588. PRPC_MESSAGE _pRpcMessage,
  1589. DWORD *_pdwStubPhase);
  1590. #endif /* __ICiCDocStore_INTERFACE_DEFINED__ */
  1591. #ifndef __ICiCDocStoreEx_INTERFACE_DEFINED__
  1592. #define __ICiCDocStoreEx_INTERFACE_DEFINED__
  1593. /* interface ICiCDocStoreEx */
  1594. /* [unique][uuid][object][local] */
  1595. EXTERN_C const IID IID_ICiCDocStoreEx;
  1596. #if defined(__cplusplus) && !defined(CINTERFACE)
  1597. MIDL_INTERFACE("f98282a7-fa72-11d1-9798-00c04fc2f410")
  1598. ICiCDocStoreEx : public ICiCDocStore
  1599. {
  1600. public:
  1601. virtual SCODE STDMETHODCALLTYPE IsNoQuery(
  1602. /* [out] */ BOOL *fNoQuery) = 0;
  1603. };
  1604. #else /* C style interface */
  1605. typedef struct ICiCDocStoreExVtbl
  1606. {
  1607. BEGIN_INTERFACE
  1608. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1609. ICiCDocStoreEx * This,
  1610. /* [in] */ REFIID riid,
  1611. /* [iid_is][out] */ void **ppvObject);
  1612. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1613. ICiCDocStoreEx * This);
  1614. ULONG ( STDMETHODCALLTYPE *Release )(
  1615. ICiCDocStoreEx * This);
  1616. SCODE ( STDMETHODCALLTYPE *FlushPropertyStore )(
  1617. ICiCDocStoreEx * This);
  1618. SCODE ( STDMETHODCALLTYPE *GetClientStatus )(
  1619. ICiCDocStoreEx * This,
  1620. /* [out] */ CI_CLIENT_STATUS *pStatus);
  1621. SCODE ( STDMETHODCALLTYPE *GetContentIndex )(
  1622. ICiCDocStoreEx * This,
  1623. /* [out] */ ICiManager **ppICiManager);
  1624. SCODE ( STDMETHODCALLTYPE *EnableUpdates )(
  1625. ICiCDocStoreEx * This);
  1626. SCODE ( STDMETHODCALLTYPE *DisableUpdates )(
  1627. ICiCDocStoreEx * This,
  1628. /* [in] */ BOOL fIncremental,
  1629. /* [in] */ CI_DISABLE_UPDATE_REASON dwReason);
  1630. SCODE ( STDMETHODCALLTYPE *ProcessCiDaemonTermination )(
  1631. ICiCDocStoreEx * This,
  1632. /* [in] */ DWORD dwStatus);
  1633. SCODE ( STDMETHODCALLTYPE *CheckPointChangesFlushed )(
  1634. ICiCDocStoreEx * This,
  1635. /* [in] */ FILETIME ftFlushed,
  1636. /* [in] */ ULONG cEntries,
  1637. /* [size_is][in] */ const USN_FLUSH_INFO *const *pUsnEntries);
  1638. SCODE ( STDMETHODCALLTYPE *GetQuerySession )(
  1639. ICiCDocStoreEx * This,
  1640. /* [out] */ ICiCQuerySession **ppICiCQuerySession);
  1641. SCODE ( STDMETHODCALLTYPE *MarkDocUnReachable )(
  1642. ICiCDocStoreEx * This,
  1643. /* [in] */ WORKID wid);
  1644. SCODE ( STDMETHODCALLTYPE *GetPropertyMapper )(
  1645. ICiCDocStoreEx * This,
  1646. /* [out] */ IPropertyMapper **ppIPropertyMapper);
  1647. SCODE ( STDMETHODCALLTYPE *StoreSecurity )(
  1648. ICiCDocStoreEx * This,
  1649. /* [in] */ WORKID wid,
  1650. /* [in] */ const BYTE *pbSecurity,
  1651. /* [in] */ ULONG cbSecurity);
  1652. SCODE ( STDMETHODCALLTYPE *IsNoQuery )(
  1653. ICiCDocStoreEx * This,
  1654. /* [out] */ BOOL *fNoQuery);
  1655. END_INTERFACE
  1656. } ICiCDocStoreExVtbl;
  1657. interface ICiCDocStoreEx
  1658. {
  1659. CONST_VTBL struct ICiCDocStoreExVtbl *lpVtbl;
  1660. };
  1661. #ifdef COBJMACROS
  1662. #define ICiCDocStoreEx_QueryInterface(This,riid,ppvObject) \
  1663. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1664. #define ICiCDocStoreEx_AddRef(This) \
  1665. (This)->lpVtbl -> AddRef(This)
  1666. #define ICiCDocStoreEx_Release(This) \
  1667. (This)->lpVtbl -> Release(This)
  1668. #define ICiCDocStoreEx_FlushPropertyStore(This) \
  1669. (This)->lpVtbl -> FlushPropertyStore(This)
  1670. #define ICiCDocStoreEx_GetClientStatus(This,pStatus) \
  1671. (This)->lpVtbl -> GetClientStatus(This,pStatus)
  1672. #define ICiCDocStoreEx_GetContentIndex(This,ppICiManager) \
  1673. (This)->lpVtbl -> GetContentIndex(This,ppICiManager)
  1674. #define ICiCDocStoreEx_EnableUpdates(This) \
  1675. (This)->lpVtbl -> EnableUpdates(This)
  1676. #define ICiCDocStoreEx_DisableUpdates(This,fIncremental,dwReason) \
  1677. (This)->lpVtbl -> DisableUpdates(This,fIncremental,dwReason)
  1678. #define ICiCDocStoreEx_ProcessCiDaemonTermination(This,dwStatus) \
  1679. (This)->lpVtbl -> ProcessCiDaemonTermination(This,dwStatus)
  1680. #define ICiCDocStoreEx_CheckPointChangesFlushed(This,ftFlushed,cEntries,pUsnEntries) \
  1681. (This)->lpVtbl -> CheckPointChangesFlushed(This,ftFlushed,cEntries,pUsnEntries)
  1682. #define ICiCDocStoreEx_GetQuerySession(This,ppICiCQuerySession) \
  1683. (This)->lpVtbl -> GetQuerySession(This,ppICiCQuerySession)
  1684. #define ICiCDocStoreEx_MarkDocUnReachable(This,wid) \
  1685. (This)->lpVtbl -> MarkDocUnReachable(This,wid)
  1686. #define ICiCDocStoreEx_GetPropertyMapper(This,ppIPropertyMapper) \
  1687. (This)->lpVtbl -> GetPropertyMapper(This,ppIPropertyMapper)
  1688. #define ICiCDocStoreEx_StoreSecurity(This,wid,pbSecurity,cbSecurity) \
  1689. (This)->lpVtbl -> StoreSecurity(This,wid,pbSecurity,cbSecurity)
  1690. #define ICiCDocStoreEx_IsNoQuery(This,fNoQuery) \
  1691. (This)->lpVtbl -> IsNoQuery(This,fNoQuery)
  1692. #endif /* COBJMACROS */
  1693. #endif /* C style interface */
  1694. SCODE STDMETHODCALLTYPE ICiCDocStoreEx_IsNoQuery_Proxy(
  1695. ICiCDocStoreEx * This,
  1696. /* [out] */ BOOL *fNoQuery);
  1697. void __RPC_STUB ICiCDocStoreEx_IsNoQuery_Stub(
  1698. IRpcStubBuffer *This,
  1699. IRpcChannelBuffer *_pRpcChannelBuffer,
  1700. PRPC_MESSAGE _pRpcMessage,
  1701. DWORD *_pdwStubPhase);
  1702. #endif /* __ICiCDocStoreEx_INTERFACE_DEFINED__ */
  1703. #ifndef __ICiCDocNameToWorkidTranslator_INTERFACE_DEFINED__
  1704. #define __ICiCDocNameToWorkidTranslator_INTERFACE_DEFINED__
  1705. /* interface ICiCDocNameToWorkidTranslator */
  1706. /* [unique][uuid][object][local] */
  1707. EXTERN_C const IID IID_ICiCDocNameToWorkidTranslator;
  1708. #if defined(__cplusplus) && !defined(CINTERFACE)
  1709. MIDL_INTERFACE("25FC3F54-3CB4-11D0-8C90-0020AF1D740E")
  1710. ICiCDocNameToWorkidTranslator : public IUnknown
  1711. {
  1712. public:
  1713. virtual SCODE STDMETHODCALLTYPE QueryDocName(
  1714. /* [out] */ ICiCDocName **ppICiCDocName) = 0;
  1715. virtual SCODE STDMETHODCALLTYPE WorkIdToDocName(
  1716. /* [in] */ WORKID workId,
  1717. /* [out] */ ICiCDocName *pICiCDocName) = 0;
  1718. virtual SCODE STDMETHODCALLTYPE DocNameToWorkId(
  1719. /* [in] */ const ICiCDocName *pICiCDocName,
  1720. /* [out] */ WORKID *pWorkId) = 0;
  1721. };
  1722. #else /* C style interface */
  1723. typedef struct ICiCDocNameToWorkidTranslatorVtbl
  1724. {
  1725. BEGIN_INTERFACE
  1726. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1727. ICiCDocNameToWorkidTranslator * This,
  1728. /* [in] */ REFIID riid,
  1729. /* [iid_is][out] */ void **ppvObject);
  1730. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1731. ICiCDocNameToWorkidTranslator * This);
  1732. ULONG ( STDMETHODCALLTYPE *Release )(
  1733. ICiCDocNameToWorkidTranslator * This);
  1734. SCODE ( STDMETHODCALLTYPE *QueryDocName )(
  1735. ICiCDocNameToWorkidTranslator * This,
  1736. /* [out] */ ICiCDocName **ppICiCDocName);
  1737. SCODE ( STDMETHODCALLTYPE *WorkIdToDocName )(
  1738. ICiCDocNameToWorkidTranslator * This,
  1739. /* [in] */ WORKID workId,
  1740. /* [out] */ ICiCDocName *pICiCDocName);
  1741. SCODE ( STDMETHODCALLTYPE *DocNameToWorkId )(
  1742. ICiCDocNameToWorkidTranslator * This,
  1743. /* [in] */ const ICiCDocName *pICiCDocName,
  1744. /* [out] */ WORKID *pWorkId);
  1745. END_INTERFACE
  1746. } ICiCDocNameToWorkidTranslatorVtbl;
  1747. interface ICiCDocNameToWorkidTranslator
  1748. {
  1749. CONST_VTBL struct ICiCDocNameToWorkidTranslatorVtbl *lpVtbl;
  1750. };
  1751. #ifdef COBJMACROS
  1752. #define ICiCDocNameToWorkidTranslator_QueryInterface(This,riid,ppvObject) \
  1753. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1754. #define ICiCDocNameToWorkidTranslator_AddRef(This) \
  1755. (This)->lpVtbl -> AddRef(This)
  1756. #define ICiCDocNameToWorkidTranslator_Release(This) \
  1757. (This)->lpVtbl -> Release(This)
  1758. #define ICiCDocNameToWorkidTranslator_QueryDocName(This,ppICiCDocName) \
  1759. (This)->lpVtbl -> QueryDocName(This,ppICiCDocName)
  1760. #define ICiCDocNameToWorkidTranslator_WorkIdToDocName(This,workId,pICiCDocName) \
  1761. (This)->lpVtbl -> WorkIdToDocName(This,workId,pICiCDocName)
  1762. #define ICiCDocNameToWorkidTranslator_DocNameToWorkId(This,pICiCDocName,pWorkId) \
  1763. (This)->lpVtbl -> DocNameToWorkId(This,pICiCDocName,pWorkId)
  1764. #endif /* COBJMACROS */
  1765. #endif /* C style interface */
  1766. SCODE STDMETHODCALLTYPE ICiCDocNameToWorkidTranslator_QueryDocName_Proxy(
  1767. ICiCDocNameToWorkidTranslator * This,
  1768. /* [out] */ ICiCDocName **ppICiCDocName);
  1769. void __RPC_STUB ICiCDocNameToWorkidTranslator_QueryDocName_Stub(
  1770. IRpcStubBuffer *This,
  1771. IRpcChannelBuffer *_pRpcChannelBuffer,
  1772. PRPC_MESSAGE _pRpcMessage,
  1773. DWORD *_pdwStubPhase);
  1774. SCODE STDMETHODCALLTYPE ICiCDocNameToWorkidTranslator_WorkIdToDocName_Proxy(
  1775. ICiCDocNameToWorkidTranslator * This,
  1776. /* [in] */ WORKID workId,
  1777. /* [out] */ ICiCDocName *pICiCDocName);
  1778. void __RPC_STUB ICiCDocNameToWorkidTranslator_WorkIdToDocName_Stub(
  1779. IRpcStubBuffer *This,
  1780. IRpcChannelBuffer *_pRpcChannelBuffer,
  1781. PRPC_MESSAGE _pRpcMessage,
  1782. DWORD *_pdwStubPhase);
  1783. SCODE STDMETHODCALLTYPE ICiCDocNameToWorkidTranslator_DocNameToWorkId_Proxy(
  1784. ICiCDocNameToWorkidTranslator * This,
  1785. /* [in] */ const ICiCDocName *pICiCDocName,
  1786. /* [out] */ WORKID *pWorkId);
  1787. void __RPC_STUB ICiCDocNameToWorkidTranslator_DocNameToWorkId_Stub(
  1788. IRpcStubBuffer *This,
  1789. IRpcChannelBuffer *_pRpcChannelBuffer,
  1790. PRPC_MESSAGE _pRpcMessage,
  1791. DWORD *_pdwStubPhase);
  1792. #endif /* __ICiCDocNameToWorkidTranslator_INTERFACE_DEFINED__ */
  1793. #ifndef __ICiCDocNameToWorkidTranslatorEx_INTERFACE_DEFINED__
  1794. #define __ICiCDocNameToWorkidTranslatorEx_INTERFACE_DEFINED__
  1795. /* interface ICiCDocNameToWorkidTranslatorEx */
  1796. /* [unique][uuid][object][local] */
  1797. EXTERN_C const IID IID_ICiCDocNameToWorkidTranslatorEx;
  1798. #if defined(__cplusplus) && !defined(CINTERFACE)
  1799. MIDL_INTERFACE("7BBA76E6-A0E3-11D2-BC5D-00C04FA354BA")
  1800. ICiCDocNameToWorkidTranslatorEx : public ICiCDocNameToWorkidTranslator
  1801. {
  1802. public:
  1803. virtual SCODE STDMETHODCALLTYPE WorkIdToAccurateDocName(
  1804. /* [in] */ WORKID workId,
  1805. /* [out] */ ICiCDocName *pICiCDocName) = 0;
  1806. };
  1807. #else /* C style interface */
  1808. typedef struct ICiCDocNameToWorkidTranslatorExVtbl
  1809. {
  1810. BEGIN_INTERFACE
  1811. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1812. ICiCDocNameToWorkidTranslatorEx * This,
  1813. /* [in] */ REFIID riid,
  1814. /* [iid_is][out] */ void **ppvObject);
  1815. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1816. ICiCDocNameToWorkidTranslatorEx * This);
  1817. ULONG ( STDMETHODCALLTYPE *Release )(
  1818. ICiCDocNameToWorkidTranslatorEx * This);
  1819. SCODE ( STDMETHODCALLTYPE *QueryDocName )(
  1820. ICiCDocNameToWorkidTranslatorEx * This,
  1821. /* [out] */ ICiCDocName **ppICiCDocName);
  1822. SCODE ( STDMETHODCALLTYPE *WorkIdToDocName )(
  1823. ICiCDocNameToWorkidTranslatorEx * This,
  1824. /* [in] */ WORKID workId,
  1825. /* [out] */ ICiCDocName *pICiCDocName);
  1826. SCODE ( STDMETHODCALLTYPE *DocNameToWorkId )(
  1827. ICiCDocNameToWorkidTranslatorEx * This,
  1828. /* [in] */ const ICiCDocName *pICiCDocName,
  1829. /* [out] */ WORKID *pWorkId);
  1830. SCODE ( STDMETHODCALLTYPE *WorkIdToAccurateDocName )(
  1831. ICiCDocNameToWorkidTranslatorEx * This,
  1832. /* [in] */ WORKID workId,
  1833. /* [out] */ ICiCDocName *pICiCDocName);
  1834. END_INTERFACE
  1835. } ICiCDocNameToWorkidTranslatorExVtbl;
  1836. interface ICiCDocNameToWorkidTranslatorEx
  1837. {
  1838. CONST_VTBL struct ICiCDocNameToWorkidTranslatorExVtbl *lpVtbl;
  1839. };
  1840. #ifdef COBJMACROS
  1841. #define ICiCDocNameToWorkidTranslatorEx_QueryInterface(This,riid,ppvObject) \
  1842. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1843. #define ICiCDocNameToWorkidTranslatorEx_AddRef(This) \
  1844. (This)->lpVtbl -> AddRef(This)
  1845. #define ICiCDocNameToWorkidTranslatorEx_Release(This) \
  1846. (This)->lpVtbl -> Release(This)
  1847. #define ICiCDocNameToWorkidTranslatorEx_QueryDocName(This,ppICiCDocName) \
  1848. (This)->lpVtbl -> QueryDocName(This,ppICiCDocName)
  1849. #define ICiCDocNameToWorkidTranslatorEx_WorkIdToDocName(This,workId,pICiCDocName) \
  1850. (This)->lpVtbl -> WorkIdToDocName(This,workId,pICiCDocName)
  1851. #define ICiCDocNameToWorkidTranslatorEx_DocNameToWorkId(This,pICiCDocName,pWorkId) \
  1852. (This)->lpVtbl -> DocNameToWorkId(This,pICiCDocName,pWorkId)
  1853. #define ICiCDocNameToWorkidTranslatorEx_WorkIdToAccurateDocName(This,workId,pICiCDocName) \
  1854. (This)->lpVtbl -> WorkIdToAccurateDocName(This,workId,pICiCDocName)
  1855. #endif /* COBJMACROS */
  1856. #endif /* C style interface */
  1857. SCODE STDMETHODCALLTYPE ICiCDocNameToWorkidTranslatorEx_WorkIdToAccurateDocName_Proxy(
  1858. ICiCDocNameToWorkidTranslatorEx * This,
  1859. /* [in] */ WORKID workId,
  1860. /* [out] */ ICiCDocName *pICiCDocName);
  1861. void __RPC_STUB ICiCDocNameToWorkidTranslatorEx_WorkIdToAccurateDocName_Stub(
  1862. IRpcStubBuffer *This,
  1863. IRpcChannelBuffer *_pRpcChannelBuffer,
  1864. PRPC_MESSAGE _pRpcMessage,
  1865. DWORD *_pdwStubPhase);
  1866. #endif /* __ICiCDocNameToWorkidTranslatorEx_INTERFACE_DEFINED__ */
  1867. #ifndef __ICiCPropertyStorage_INTERFACE_DEFINED__
  1868. #define __ICiCPropertyStorage_INTERFACE_DEFINED__
  1869. /* interface ICiCPropertyStorage */
  1870. /* [unique][uuid][object][local] */
  1871. EXTERN_C const IID IID_ICiCPropertyStorage;
  1872. #if defined(__cplusplus) && !defined(CINTERFACE)
  1873. MIDL_INTERFACE("4C46225A-3CB5-11D0-8C90-0020AF1D740E")
  1874. ICiCPropertyStorage : public IUnknown
  1875. {
  1876. public:
  1877. virtual SCODE STDMETHODCALLTYPE IsPropertyCached(
  1878. /* [in] */ const FULLPROPSPEC *pPropSpec,
  1879. /* [out] */ BOOL *pfValue) = 0;
  1880. virtual SCODE STDMETHODCALLTYPE StoreProperty(
  1881. /* [in] */ WORKID workId,
  1882. /* [in] */ const FULLPROPSPEC *pPropSpec,
  1883. /* [in] */ const PROPVARIANT *pPropVariant) = 0;
  1884. virtual SCODE STDMETHODCALLTYPE FetchValueByPid(
  1885. /* [in] */ WORKID workId,
  1886. /* [in] */ PROPID pid,
  1887. /* [out] */ PROPVARIANT *pbData,
  1888. /* [out][in] */ ULONG *pcb) = 0;
  1889. virtual SCODE STDMETHODCALLTYPE FetchValueByPropSpec(
  1890. /* [in] */ WORKID workId,
  1891. /* [in] */ const FULLPROPSPEC *pPropSpec,
  1892. /* [out] */ PROPVARIANT *pbData,
  1893. /* [out][in] */ ULONG *pcb) = 0;
  1894. virtual SCODE STDMETHODCALLTYPE FetchVariantByPid(
  1895. /* [in] */ WORKID workId,
  1896. /* [in] */ PROPID pid,
  1897. /* [out] */ PROPVARIANT **ppVariant) = 0;
  1898. virtual SCODE STDMETHODCALLTYPE FetchVariantByByPropSpec(
  1899. /* [in] */ WORKID workId,
  1900. /* [in] */ const FULLPROPSPEC *pPropSpec,
  1901. /* [out] */ PROPVARIANT **ppVariant) = 0;
  1902. virtual SCODE STDMETHODCALLTYPE ClearNonStoragePropertiesForWid(
  1903. /* [in] */ WORKID wid) = 0;
  1904. };
  1905. #else /* C style interface */
  1906. typedef struct ICiCPropertyStorageVtbl
  1907. {
  1908. BEGIN_INTERFACE
  1909. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1910. ICiCPropertyStorage * This,
  1911. /* [in] */ REFIID riid,
  1912. /* [iid_is][out] */ void **ppvObject);
  1913. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1914. ICiCPropertyStorage * This);
  1915. ULONG ( STDMETHODCALLTYPE *Release )(
  1916. ICiCPropertyStorage * This);
  1917. SCODE ( STDMETHODCALLTYPE *IsPropertyCached )(
  1918. ICiCPropertyStorage * This,
  1919. /* [in] */ const FULLPROPSPEC *pPropSpec,
  1920. /* [out] */ BOOL *pfValue);
  1921. SCODE ( STDMETHODCALLTYPE *StoreProperty )(
  1922. ICiCPropertyStorage * This,
  1923. /* [in] */ WORKID workId,
  1924. /* [in] */ const FULLPROPSPEC *pPropSpec,
  1925. /* [in] */ const PROPVARIANT *pPropVariant);
  1926. SCODE ( STDMETHODCALLTYPE *FetchValueByPid )(
  1927. ICiCPropertyStorage * This,
  1928. /* [in] */ WORKID workId,
  1929. /* [in] */ PROPID pid,
  1930. /* [out] */ PROPVARIANT *pbData,
  1931. /* [out][in] */ ULONG *pcb);
  1932. SCODE ( STDMETHODCALLTYPE *FetchValueByPropSpec )(
  1933. ICiCPropertyStorage * This,
  1934. /* [in] */ WORKID workId,
  1935. /* [in] */ const FULLPROPSPEC *pPropSpec,
  1936. /* [out] */ PROPVARIANT *pbData,
  1937. /* [out][in] */ ULONG *pcb);
  1938. SCODE ( STDMETHODCALLTYPE *FetchVariantByPid )(
  1939. ICiCPropertyStorage * This,
  1940. /* [in] */ WORKID workId,
  1941. /* [in] */ PROPID pid,
  1942. /* [out] */ PROPVARIANT **ppVariant);
  1943. SCODE ( STDMETHODCALLTYPE *FetchVariantByByPropSpec )(
  1944. ICiCPropertyStorage * This,
  1945. /* [in] */ WORKID workId,
  1946. /* [in] */ const FULLPROPSPEC *pPropSpec,
  1947. /* [out] */ PROPVARIANT **ppVariant);
  1948. SCODE ( STDMETHODCALLTYPE *ClearNonStoragePropertiesForWid )(
  1949. ICiCPropertyStorage * This,
  1950. /* [in] */ WORKID wid);
  1951. END_INTERFACE
  1952. } ICiCPropertyStorageVtbl;
  1953. interface ICiCPropertyStorage
  1954. {
  1955. CONST_VTBL struct ICiCPropertyStorageVtbl *lpVtbl;
  1956. };
  1957. #ifdef COBJMACROS
  1958. #define ICiCPropertyStorage_QueryInterface(This,riid,ppvObject) \
  1959. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1960. #define ICiCPropertyStorage_AddRef(This) \
  1961. (This)->lpVtbl -> AddRef(This)
  1962. #define ICiCPropertyStorage_Release(This) \
  1963. (This)->lpVtbl -> Release(This)
  1964. #define ICiCPropertyStorage_IsPropertyCached(This,pPropSpec,pfValue) \
  1965. (This)->lpVtbl -> IsPropertyCached(This,pPropSpec,pfValue)
  1966. #define ICiCPropertyStorage_StoreProperty(This,workId,pPropSpec,pPropVariant) \
  1967. (This)->lpVtbl -> StoreProperty(This,workId,pPropSpec,pPropVariant)
  1968. #define ICiCPropertyStorage_FetchValueByPid(This,workId,pid,pbData,pcb) \
  1969. (This)->lpVtbl -> FetchValueByPid(This,workId,pid,pbData,pcb)
  1970. #define ICiCPropertyStorage_FetchValueByPropSpec(This,workId,pPropSpec,pbData,pcb) \
  1971. (This)->lpVtbl -> FetchValueByPropSpec(This,workId,pPropSpec,pbData,pcb)
  1972. #define ICiCPropertyStorage_FetchVariantByPid(This,workId,pid,ppVariant) \
  1973. (This)->lpVtbl -> FetchVariantByPid(This,workId,pid,ppVariant)
  1974. #define ICiCPropertyStorage_FetchVariantByByPropSpec(This,workId,pPropSpec,ppVariant) \
  1975. (This)->lpVtbl -> FetchVariantByByPropSpec(This,workId,pPropSpec,ppVariant)
  1976. #define ICiCPropertyStorage_ClearNonStoragePropertiesForWid(This,wid) \
  1977. (This)->lpVtbl -> ClearNonStoragePropertiesForWid(This,wid)
  1978. #endif /* COBJMACROS */
  1979. #endif /* C style interface */
  1980. SCODE STDMETHODCALLTYPE ICiCPropertyStorage_IsPropertyCached_Proxy(
  1981. ICiCPropertyStorage * This,
  1982. /* [in] */ const FULLPROPSPEC *pPropSpec,
  1983. /* [out] */ BOOL *pfValue);
  1984. void __RPC_STUB ICiCPropertyStorage_IsPropertyCached_Stub(
  1985. IRpcStubBuffer *This,
  1986. IRpcChannelBuffer *_pRpcChannelBuffer,
  1987. PRPC_MESSAGE _pRpcMessage,
  1988. DWORD *_pdwStubPhase);
  1989. SCODE STDMETHODCALLTYPE ICiCPropertyStorage_StoreProperty_Proxy(
  1990. ICiCPropertyStorage * This,
  1991. /* [in] */ WORKID workId,
  1992. /* [in] */ const FULLPROPSPEC *pPropSpec,
  1993. /* [in] */ const PROPVARIANT *pPropVariant);
  1994. void __RPC_STUB ICiCPropertyStorage_StoreProperty_Stub(
  1995. IRpcStubBuffer *This,
  1996. IRpcChannelBuffer *_pRpcChannelBuffer,
  1997. PRPC_MESSAGE _pRpcMessage,
  1998. DWORD *_pdwStubPhase);
  1999. SCODE STDMETHODCALLTYPE ICiCPropertyStorage_FetchValueByPid_Proxy(
  2000. ICiCPropertyStorage * This,
  2001. /* [in] */ WORKID workId,
  2002. /* [in] */ PROPID pid,
  2003. /* [out] */ PROPVARIANT *pbData,
  2004. /* [out][in] */ ULONG *pcb);
  2005. void __RPC_STUB ICiCPropertyStorage_FetchValueByPid_Stub(
  2006. IRpcStubBuffer *This,
  2007. IRpcChannelBuffer *_pRpcChannelBuffer,
  2008. PRPC_MESSAGE _pRpcMessage,
  2009. DWORD *_pdwStubPhase);
  2010. SCODE STDMETHODCALLTYPE ICiCPropertyStorage_FetchValueByPropSpec_Proxy(
  2011. ICiCPropertyStorage * This,
  2012. /* [in] */ WORKID workId,
  2013. /* [in] */ const FULLPROPSPEC *pPropSpec,
  2014. /* [out] */ PROPVARIANT *pbData,
  2015. /* [out][in] */ ULONG *pcb);
  2016. void __RPC_STUB ICiCPropertyStorage_FetchValueByPropSpec_Stub(
  2017. IRpcStubBuffer *This,
  2018. IRpcChannelBuffer *_pRpcChannelBuffer,
  2019. PRPC_MESSAGE _pRpcMessage,
  2020. DWORD *_pdwStubPhase);
  2021. SCODE STDMETHODCALLTYPE ICiCPropertyStorage_FetchVariantByPid_Proxy(
  2022. ICiCPropertyStorage * This,
  2023. /* [in] */ WORKID workId,
  2024. /* [in] */ PROPID pid,
  2025. /* [out] */ PROPVARIANT **ppVariant);
  2026. void __RPC_STUB ICiCPropertyStorage_FetchVariantByPid_Stub(
  2027. IRpcStubBuffer *This,
  2028. IRpcChannelBuffer *_pRpcChannelBuffer,
  2029. PRPC_MESSAGE _pRpcMessage,
  2030. DWORD *_pdwStubPhase);
  2031. SCODE STDMETHODCALLTYPE ICiCPropertyStorage_FetchVariantByByPropSpec_Proxy(
  2032. ICiCPropertyStorage * This,
  2033. /* [in] */ WORKID workId,
  2034. /* [in] */ const FULLPROPSPEC *pPropSpec,
  2035. /* [out] */ PROPVARIANT **ppVariant);
  2036. void __RPC_STUB ICiCPropertyStorage_FetchVariantByByPropSpec_Stub(
  2037. IRpcStubBuffer *This,
  2038. IRpcChannelBuffer *_pRpcChannelBuffer,
  2039. PRPC_MESSAGE _pRpcMessage,
  2040. DWORD *_pdwStubPhase);
  2041. SCODE STDMETHODCALLTYPE ICiCPropertyStorage_ClearNonStoragePropertiesForWid_Proxy(
  2042. ICiCPropertyStorage * This,
  2043. /* [in] */ WORKID wid);
  2044. void __RPC_STUB ICiCPropertyStorage_ClearNonStoragePropertiesForWid_Stub(
  2045. IRpcStubBuffer *This,
  2046. IRpcChannelBuffer *_pRpcChannelBuffer,
  2047. PRPC_MESSAGE _pRpcMessage,
  2048. DWORD *_pdwStubPhase);
  2049. #endif /* __ICiCPropertyStorage_INTERFACE_DEFINED__ */
  2050. #ifndef __ICiCPropRetriever_INTERFACE_DEFINED__
  2051. #define __ICiCPropRetriever_INTERFACE_DEFINED__
  2052. /* interface ICiCPropRetriever */
  2053. /* [unique][uuid][object][local] */
  2054. EXTERN_C const IID IID_ICiCPropRetriever;
  2055. #if defined(__cplusplus) && !defined(CINTERFACE)
  2056. MIDL_INTERFACE("77d9b2da-4401-11d0-8c91-0020af1d740e")
  2057. ICiCPropRetriever : public IUnknown
  2058. {
  2059. public:
  2060. virtual SCODE STDMETHODCALLTYPE BeginPropertyRetrieval(
  2061. /* [in] */ WORKID wid) = 0;
  2062. virtual SCODE STDMETHODCALLTYPE RetrieveValueByPid(
  2063. /* [in] */ PROPID pid,
  2064. /* [out] */ PROPVARIANT *pbData,
  2065. /* [out][in] */ ULONG *pcb) = 0;
  2066. virtual SCODE STDMETHODCALLTYPE RetrieveValueByPropSpec(
  2067. /* [in] */ const FULLPROPSPEC *pPropSpec,
  2068. /* [out] */ PROPVARIANT *pbData,
  2069. /* [out][in] */ ULONG *pcb) = 0;
  2070. virtual SCODE STDMETHODCALLTYPE FetchSDID(
  2071. /* [out] */ SDID *pSDID) = 0;
  2072. virtual SCODE STDMETHODCALLTYPE CheckSecurity(
  2073. /* [in] */ ACCESS_MASK am,
  2074. /* [out] */ BOOL *pfGranted) = 0;
  2075. virtual SCODE STDMETHODCALLTYPE IsInScope(
  2076. /* [out] */ BOOL *pfInScope) = 0;
  2077. virtual SCODE STDMETHODCALLTYPE EndPropertyRetrieval( void) = 0;
  2078. };
  2079. #else /* C style interface */
  2080. typedef struct ICiCPropRetrieverVtbl
  2081. {
  2082. BEGIN_INTERFACE
  2083. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2084. ICiCPropRetriever * This,
  2085. /* [in] */ REFIID riid,
  2086. /* [iid_is][out] */ void **ppvObject);
  2087. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2088. ICiCPropRetriever * This);
  2089. ULONG ( STDMETHODCALLTYPE *Release )(
  2090. ICiCPropRetriever * This);
  2091. SCODE ( STDMETHODCALLTYPE *BeginPropertyRetrieval )(
  2092. ICiCPropRetriever * This,
  2093. /* [in] */ WORKID wid);
  2094. SCODE ( STDMETHODCALLTYPE *RetrieveValueByPid )(
  2095. ICiCPropRetriever * This,
  2096. /* [in] */ PROPID pid,
  2097. /* [out] */ PROPVARIANT *pbData,
  2098. /* [out][in] */ ULONG *pcb);
  2099. SCODE ( STDMETHODCALLTYPE *RetrieveValueByPropSpec )(
  2100. ICiCPropRetriever * This,
  2101. /* [in] */ const FULLPROPSPEC *pPropSpec,
  2102. /* [out] */ PROPVARIANT *pbData,
  2103. /* [out][in] */ ULONG *pcb);
  2104. SCODE ( STDMETHODCALLTYPE *FetchSDID )(
  2105. ICiCPropRetriever * This,
  2106. /* [out] */ SDID *pSDID);
  2107. SCODE ( STDMETHODCALLTYPE *CheckSecurity )(
  2108. ICiCPropRetriever * This,
  2109. /* [in] */ ACCESS_MASK am,
  2110. /* [out] */ BOOL *pfGranted);
  2111. SCODE ( STDMETHODCALLTYPE *IsInScope )(
  2112. ICiCPropRetriever * This,
  2113. /* [out] */ BOOL *pfInScope);
  2114. SCODE ( STDMETHODCALLTYPE *EndPropertyRetrieval )(
  2115. ICiCPropRetriever * This);
  2116. END_INTERFACE
  2117. } ICiCPropRetrieverVtbl;
  2118. interface ICiCPropRetriever
  2119. {
  2120. CONST_VTBL struct ICiCPropRetrieverVtbl *lpVtbl;
  2121. };
  2122. #ifdef COBJMACROS
  2123. #define ICiCPropRetriever_QueryInterface(This,riid,ppvObject) \
  2124. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2125. #define ICiCPropRetriever_AddRef(This) \
  2126. (This)->lpVtbl -> AddRef(This)
  2127. #define ICiCPropRetriever_Release(This) \
  2128. (This)->lpVtbl -> Release(This)
  2129. #define ICiCPropRetriever_BeginPropertyRetrieval(This,wid) \
  2130. (This)->lpVtbl -> BeginPropertyRetrieval(This,wid)
  2131. #define ICiCPropRetriever_RetrieveValueByPid(This,pid,pbData,pcb) \
  2132. (This)->lpVtbl -> RetrieveValueByPid(This,pid,pbData,pcb)
  2133. #define ICiCPropRetriever_RetrieveValueByPropSpec(This,pPropSpec,pbData,pcb) \
  2134. (This)->lpVtbl -> RetrieveValueByPropSpec(This,pPropSpec,pbData,pcb)
  2135. #define ICiCPropRetriever_FetchSDID(This,pSDID) \
  2136. (This)->lpVtbl -> FetchSDID(This,pSDID)
  2137. #define ICiCPropRetriever_CheckSecurity(This,am,pfGranted) \
  2138. (This)->lpVtbl -> CheckSecurity(This,am,pfGranted)
  2139. #define ICiCPropRetriever_IsInScope(This,pfInScope) \
  2140. (This)->lpVtbl -> IsInScope(This,pfInScope)
  2141. #define ICiCPropRetriever_EndPropertyRetrieval(This) \
  2142. (This)->lpVtbl -> EndPropertyRetrieval(This)
  2143. #endif /* COBJMACROS */
  2144. #endif /* C style interface */
  2145. SCODE STDMETHODCALLTYPE ICiCPropRetriever_BeginPropertyRetrieval_Proxy(
  2146. ICiCPropRetriever * This,
  2147. /* [in] */ WORKID wid);
  2148. void __RPC_STUB ICiCPropRetriever_BeginPropertyRetrieval_Stub(
  2149. IRpcStubBuffer *This,
  2150. IRpcChannelBuffer *_pRpcChannelBuffer,
  2151. PRPC_MESSAGE _pRpcMessage,
  2152. DWORD *_pdwStubPhase);
  2153. SCODE STDMETHODCALLTYPE ICiCPropRetriever_RetrieveValueByPid_Proxy(
  2154. ICiCPropRetriever * This,
  2155. /* [in] */ PROPID pid,
  2156. /* [out] */ PROPVARIANT *pbData,
  2157. /* [out][in] */ ULONG *pcb);
  2158. void __RPC_STUB ICiCPropRetriever_RetrieveValueByPid_Stub(
  2159. IRpcStubBuffer *This,
  2160. IRpcChannelBuffer *_pRpcChannelBuffer,
  2161. PRPC_MESSAGE _pRpcMessage,
  2162. DWORD *_pdwStubPhase);
  2163. SCODE STDMETHODCALLTYPE ICiCPropRetriever_RetrieveValueByPropSpec_Proxy(
  2164. ICiCPropRetriever * This,
  2165. /* [in] */ const FULLPROPSPEC *pPropSpec,
  2166. /* [out] */ PROPVARIANT *pbData,
  2167. /* [out][in] */ ULONG *pcb);
  2168. void __RPC_STUB ICiCPropRetriever_RetrieveValueByPropSpec_Stub(
  2169. IRpcStubBuffer *This,
  2170. IRpcChannelBuffer *_pRpcChannelBuffer,
  2171. PRPC_MESSAGE _pRpcMessage,
  2172. DWORD *_pdwStubPhase);
  2173. SCODE STDMETHODCALLTYPE ICiCPropRetriever_FetchSDID_Proxy(
  2174. ICiCPropRetriever * This,
  2175. /* [out] */ SDID *pSDID);
  2176. void __RPC_STUB ICiCPropRetriever_FetchSDID_Stub(
  2177. IRpcStubBuffer *This,
  2178. IRpcChannelBuffer *_pRpcChannelBuffer,
  2179. PRPC_MESSAGE _pRpcMessage,
  2180. DWORD *_pdwStubPhase);
  2181. SCODE STDMETHODCALLTYPE ICiCPropRetriever_CheckSecurity_Proxy(
  2182. ICiCPropRetriever * This,
  2183. /* [in] */ ACCESS_MASK am,
  2184. /* [out] */ BOOL *pfGranted);
  2185. void __RPC_STUB ICiCPropRetriever_CheckSecurity_Stub(
  2186. IRpcStubBuffer *This,
  2187. IRpcChannelBuffer *_pRpcChannelBuffer,
  2188. PRPC_MESSAGE _pRpcMessage,
  2189. DWORD *_pdwStubPhase);
  2190. SCODE STDMETHODCALLTYPE ICiCPropRetriever_IsInScope_Proxy(
  2191. ICiCPropRetriever * This,
  2192. /* [out] */ BOOL *pfInScope);
  2193. void __RPC_STUB ICiCPropRetriever_IsInScope_Stub(
  2194. IRpcStubBuffer *This,
  2195. IRpcChannelBuffer *_pRpcChannelBuffer,
  2196. PRPC_MESSAGE _pRpcMessage,
  2197. DWORD *_pdwStubPhase);
  2198. SCODE STDMETHODCALLTYPE ICiCPropRetriever_EndPropertyRetrieval_Proxy(
  2199. ICiCPropRetriever * This);
  2200. void __RPC_STUB ICiCPropRetriever_EndPropertyRetrieval_Stub(
  2201. IRpcStubBuffer *This,
  2202. IRpcChannelBuffer *_pRpcChannelBuffer,
  2203. PRPC_MESSAGE _pRpcMessage,
  2204. DWORD *_pdwStubPhase);
  2205. #endif /* __ICiCPropRetriever_INTERFACE_DEFINED__ */
  2206. #ifndef __ICiCDeferredPropRetriever_INTERFACE_DEFINED__
  2207. #define __ICiCDeferredPropRetriever_INTERFACE_DEFINED__
  2208. /* interface ICiCDeferredPropRetriever */
  2209. /* [unique][uuid][object][local] */
  2210. EXTERN_C const IID IID_ICiCDeferredPropRetriever;
  2211. #if defined(__cplusplus) && !defined(CINTERFACE)
  2212. MIDL_INTERFACE("c273af70-6d72-11d0-8d64-00a0c908dbf1")
  2213. ICiCDeferredPropRetriever : public IUnknown
  2214. {
  2215. public:
  2216. virtual SCODE STDMETHODCALLTYPE RetrieveDeferredValueByPid(
  2217. /* [in] */ WORKID wid,
  2218. /* [in] */ PROPID pid,
  2219. /* [out] */ PROPVARIANT *pVar) = 0;
  2220. virtual SCODE STDMETHODCALLTYPE RetrieveDeferredValueByPropSpec(
  2221. /* [in] */ WORKID wid,
  2222. /* [in] */ const FULLPROPSPEC *pPropSpec,
  2223. /* [out] */ PROPVARIANT *pVar) = 0;
  2224. };
  2225. #else /* C style interface */
  2226. typedef struct ICiCDeferredPropRetrieverVtbl
  2227. {
  2228. BEGIN_INTERFACE
  2229. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2230. ICiCDeferredPropRetriever * This,
  2231. /* [in] */ REFIID riid,
  2232. /* [iid_is][out] */ void **ppvObject);
  2233. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2234. ICiCDeferredPropRetriever * This);
  2235. ULONG ( STDMETHODCALLTYPE *Release )(
  2236. ICiCDeferredPropRetriever * This);
  2237. SCODE ( STDMETHODCALLTYPE *RetrieveDeferredValueByPid )(
  2238. ICiCDeferredPropRetriever * This,
  2239. /* [in] */ WORKID wid,
  2240. /* [in] */ PROPID pid,
  2241. /* [out] */ PROPVARIANT *pVar);
  2242. SCODE ( STDMETHODCALLTYPE *RetrieveDeferredValueByPropSpec )(
  2243. ICiCDeferredPropRetriever * This,
  2244. /* [in] */ WORKID wid,
  2245. /* [in] */ const FULLPROPSPEC *pPropSpec,
  2246. /* [out] */ PROPVARIANT *pVar);
  2247. END_INTERFACE
  2248. } ICiCDeferredPropRetrieverVtbl;
  2249. interface ICiCDeferredPropRetriever
  2250. {
  2251. CONST_VTBL struct ICiCDeferredPropRetrieverVtbl *lpVtbl;
  2252. };
  2253. #ifdef COBJMACROS
  2254. #define ICiCDeferredPropRetriever_QueryInterface(This,riid,ppvObject) \
  2255. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2256. #define ICiCDeferredPropRetriever_AddRef(This) \
  2257. (This)->lpVtbl -> AddRef(This)
  2258. #define ICiCDeferredPropRetriever_Release(This) \
  2259. (This)->lpVtbl -> Release(This)
  2260. #define ICiCDeferredPropRetriever_RetrieveDeferredValueByPid(This,wid,pid,pVar) \
  2261. (This)->lpVtbl -> RetrieveDeferredValueByPid(This,wid,pid,pVar)
  2262. #define ICiCDeferredPropRetriever_RetrieveDeferredValueByPropSpec(This,wid,pPropSpec,pVar) \
  2263. (This)->lpVtbl -> RetrieveDeferredValueByPropSpec(This,wid,pPropSpec,pVar)
  2264. #endif /* COBJMACROS */
  2265. #endif /* C style interface */
  2266. SCODE STDMETHODCALLTYPE ICiCDeferredPropRetriever_RetrieveDeferredValueByPid_Proxy(
  2267. ICiCDeferredPropRetriever * This,
  2268. /* [in] */ WORKID wid,
  2269. /* [in] */ PROPID pid,
  2270. /* [out] */ PROPVARIANT *pVar);
  2271. void __RPC_STUB ICiCDeferredPropRetriever_RetrieveDeferredValueByPid_Stub(
  2272. IRpcStubBuffer *This,
  2273. IRpcChannelBuffer *_pRpcChannelBuffer,
  2274. PRPC_MESSAGE _pRpcMessage,
  2275. DWORD *_pdwStubPhase);
  2276. SCODE STDMETHODCALLTYPE ICiCDeferredPropRetriever_RetrieveDeferredValueByPropSpec_Proxy(
  2277. ICiCDeferredPropRetriever * This,
  2278. /* [in] */ WORKID wid,
  2279. /* [in] */ const FULLPROPSPEC *pPropSpec,
  2280. /* [out] */ PROPVARIANT *pVar);
  2281. void __RPC_STUB ICiCDeferredPropRetriever_RetrieveDeferredValueByPropSpec_Stub(
  2282. IRpcStubBuffer *This,
  2283. IRpcChannelBuffer *_pRpcChannelBuffer,
  2284. PRPC_MESSAGE _pRpcMessage,
  2285. DWORD *_pdwStubPhase);
  2286. #endif /* __ICiCDeferredPropRetriever_INTERFACE_DEFINED__ */
  2287. #ifndef __ICiCScopeEnumerator_INTERFACE_DEFINED__
  2288. #define __ICiCScopeEnumerator_INTERFACE_DEFINED__
  2289. /* interface ICiCScopeEnumerator */
  2290. /* [unique][uuid][object][local] */
  2291. EXTERN_C const IID IID_ICiCScopeEnumerator;
  2292. #if defined(__cplusplus) && !defined(CINTERFACE)
  2293. MIDL_INTERFACE("CF8505EA-3CCA-11D0-8C90-0020AF1D740E")
  2294. ICiCScopeEnumerator : public IUnknown
  2295. {
  2296. public:
  2297. virtual SCODE STDMETHODCALLTYPE Begin( void) = 0;
  2298. virtual SCODE STDMETHODCALLTYPE CurrentDocument(
  2299. /* [out] */ WORKID *pWorkId) = 0;
  2300. virtual SCODE STDMETHODCALLTYPE NextDocument(
  2301. /* [out] */ WORKID *pWorkId) = 0;
  2302. virtual SCODE STDMETHODCALLTYPE RatioFinished(
  2303. /* [out] */ ULONG *pulDenominator,
  2304. /* [out] */ ULONG *pulNumerator) = 0;
  2305. virtual SCODE STDMETHODCALLTYPE End( void) = 0;
  2306. };
  2307. #else /* C style interface */
  2308. typedef struct ICiCScopeEnumeratorVtbl
  2309. {
  2310. BEGIN_INTERFACE
  2311. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2312. ICiCScopeEnumerator * This,
  2313. /* [in] */ REFIID riid,
  2314. /* [iid_is][out] */ void **ppvObject);
  2315. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2316. ICiCScopeEnumerator * This);
  2317. ULONG ( STDMETHODCALLTYPE *Release )(
  2318. ICiCScopeEnumerator * This);
  2319. SCODE ( STDMETHODCALLTYPE *Begin )(
  2320. ICiCScopeEnumerator * This);
  2321. SCODE ( STDMETHODCALLTYPE *CurrentDocument )(
  2322. ICiCScopeEnumerator * This,
  2323. /* [out] */ WORKID *pWorkId);
  2324. SCODE ( STDMETHODCALLTYPE *NextDocument )(
  2325. ICiCScopeEnumerator * This,
  2326. /* [out] */ WORKID *pWorkId);
  2327. SCODE ( STDMETHODCALLTYPE *RatioFinished )(
  2328. ICiCScopeEnumerator * This,
  2329. /* [out] */ ULONG *pulDenominator,
  2330. /* [out] */ ULONG *pulNumerator);
  2331. SCODE ( STDMETHODCALLTYPE *End )(
  2332. ICiCScopeEnumerator * This);
  2333. END_INTERFACE
  2334. } ICiCScopeEnumeratorVtbl;
  2335. interface ICiCScopeEnumerator
  2336. {
  2337. CONST_VTBL struct ICiCScopeEnumeratorVtbl *lpVtbl;
  2338. };
  2339. #ifdef COBJMACROS
  2340. #define ICiCScopeEnumerator_QueryInterface(This,riid,ppvObject) \
  2341. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2342. #define ICiCScopeEnumerator_AddRef(This) \
  2343. (This)->lpVtbl -> AddRef(This)
  2344. #define ICiCScopeEnumerator_Release(This) \
  2345. (This)->lpVtbl -> Release(This)
  2346. #define ICiCScopeEnumerator_Begin(This) \
  2347. (This)->lpVtbl -> Begin(This)
  2348. #define ICiCScopeEnumerator_CurrentDocument(This,pWorkId) \
  2349. (This)->lpVtbl -> CurrentDocument(This,pWorkId)
  2350. #define ICiCScopeEnumerator_NextDocument(This,pWorkId) \
  2351. (This)->lpVtbl -> NextDocument(This,pWorkId)
  2352. #define ICiCScopeEnumerator_RatioFinished(This,pulDenominator,pulNumerator) \
  2353. (This)->lpVtbl -> RatioFinished(This,pulDenominator,pulNumerator)
  2354. #define ICiCScopeEnumerator_End(This) \
  2355. (This)->lpVtbl -> End(This)
  2356. #endif /* COBJMACROS */
  2357. #endif /* C style interface */
  2358. SCODE STDMETHODCALLTYPE ICiCScopeEnumerator_Begin_Proxy(
  2359. ICiCScopeEnumerator * This);
  2360. void __RPC_STUB ICiCScopeEnumerator_Begin_Stub(
  2361. IRpcStubBuffer *This,
  2362. IRpcChannelBuffer *_pRpcChannelBuffer,
  2363. PRPC_MESSAGE _pRpcMessage,
  2364. DWORD *_pdwStubPhase);
  2365. SCODE STDMETHODCALLTYPE ICiCScopeEnumerator_CurrentDocument_Proxy(
  2366. ICiCScopeEnumerator * This,
  2367. /* [out] */ WORKID *pWorkId);
  2368. void __RPC_STUB ICiCScopeEnumerator_CurrentDocument_Stub(
  2369. IRpcStubBuffer *This,
  2370. IRpcChannelBuffer *_pRpcChannelBuffer,
  2371. PRPC_MESSAGE _pRpcMessage,
  2372. DWORD *_pdwStubPhase);
  2373. SCODE STDMETHODCALLTYPE ICiCScopeEnumerator_NextDocument_Proxy(
  2374. ICiCScopeEnumerator * This,
  2375. /* [out] */ WORKID *pWorkId);
  2376. void __RPC_STUB ICiCScopeEnumerator_NextDocument_Stub(
  2377. IRpcStubBuffer *This,
  2378. IRpcChannelBuffer *_pRpcChannelBuffer,
  2379. PRPC_MESSAGE _pRpcMessage,
  2380. DWORD *_pdwStubPhase);
  2381. SCODE STDMETHODCALLTYPE ICiCScopeEnumerator_RatioFinished_Proxy(
  2382. ICiCScopeEnumerator * This,
  2383. /* [out] */ ULONG *pulDenominator,
  2384. /* [out] */ ULONG *pulNumerator);
  2385. void __RPC_STUB ICiCScopeEnumerator_RatioFinished_Stub(
  2386. IRpcStubBuffer *This,
  2387. IRpcChannelBuffer *_pRpcChannelBuffer,
  2388. PRPC_MESSAGE _pRpcMessage,
  2389. DWORD *_pdwStubPhase);
  2390. SCODE STDMETHODCALLTYPE ICiCScopeEnumerator_End_Proxy(
  2391. ICiCScopeEnumerator * This);
  2392. void __RPC_STUB ICiCScopeEnumerator_End_Stub(
  2393. IRpcStubBuffer *This,
  2394. IRpcChannelBuffer *_pRpcChannelBuffer,
  2395. PRPC_MESSAGE _pRpcMessage,
  2396. DWORD *_pdwStubPhase);
  2397. #endif /* __ICiCScopeEnumerator_INTERFACE_DEFINED__ */
  2398. #ifndef __ICiQueryPropertyMapper_INTERFACE_DEFINED__
  2399. #define __ICiQueryPropertyMapper_INTERFACE_DEFINED__
  2400. /* interface ICiQueryPropertyMapper */
  2401. /* [unique][uuid][object][local] */
  2402. EXTERN_C const IID IID_ICiQueryPropertyMapper;
  2403. #if defined(__cplusplus) && !defined(CINTERFACE)
  2404. MIDL_INTERFACE("D2333EB0-756B-11D0-8D66-00A0C908DBF1")
  2405. ICiQueryPropertyMapper : public IUnknown
  2406. {
  2407. public:
  2408. virtual SCODE STDMETHODCALLTYPE PropertyToPropid(
  2409. /* [in] */ const FULLPROPSPEC *pFullPropSpec,
  2410. /* [out] */ PROPID *pPropId) = 0;
  2411. virtual SCODE STDMETHODCALLTYPE PropidToProperty(
  2412. /* [in] */ PROPID pid,
  2413. /* [out] */ const FULLPROPSPEC **ppPropSpec) = 0;
  2414. };
  2415. #else /* C style interface */
  2416. typedef struct ICiQueryPropertyMapperVtbl
  2417. {
  2418. BEGIN_INTERFACE
  2419. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2420. ICiQueryPropertyMapper * This,
  2421. /* [in] */ REFIID riid,
  2422. /* [iid_is][out] */ void **ppvObject);
  2423. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2424. ICiQueryPropertyMapper * This);
  2425. ULONG ( STDMETHODCALLTYPE *Release )(
  2426. ICiQueryPropertyMapper * This);
  2427. SCODE ( STDMETHODCALLTYPE *PropertyToPropid )(
  2428. ICiQueryPropertyMapper * This,
  2429. /* [in] */ const FULLPROPSPEC *pFullPropSpec,
  2430. /* [out] */ PROPID *pPropId);
  2431. SCODE ( STDMETHODCALLTYPE *PropidToProperty )(
  2432. ICiQueryPropertyMapper * This,
  2433. /* [in] */ PROPID pid,
  2434. /* [out] */ const FULLPROPSPEC **ppPropSpec);
  2435. END_INTERFACE
  2436. } ICiQueryPropertyMapperVtbl;
  2437. interface ICiQueryPropertyMapper
  2438. {
  2439. CONST_VTBL struct ICiQueryPropertyMapperVtbl *lpVtbl;
  2440. };
  2441. #ifdef COBJMACROS
  2442. #define ICiQueryPropertyMapper_QueryInterface(This,riid,ppvObject) \
  2443. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2444. #define ICiQueryPropertyMapper_AddRef(This) \
  2445. (This)->lpVtbl -> AddRef(This)
  2446. #define ICiQueryPropertyMapper_Release(This) \
  2447. (This)->lpVtbl -> Release(This)
  2448. #define ICiQueryPropertyMapper_PropertyToPropid(This,pFullPropSpec,pPropId) \
  2449. (This)->lpVtbl -> PropertyToPropid(This,pFullPropSpec,pPropId)
  2450. #define ICiQueryPropertyMapper_PropidToProperty(This,pid,ppPropSpec) \
  2451. (This)->lpVtbl -> PropidToProperty(This,pid,ppPropSpec)
  2452. #endif /* COBJMACROS */
  2453. #endif /* C style interface */
  2454. SCODE STDMETHODCALLTYPE ICiQueryPropertyMapper_PropertyToPropid_Proxy(
  2455. ICiQueryPropertyMapper * This,
  2456. /* [in] */ const FULLPROPSPEC *pFullPropSpec,
  2457. /* [out] */ PROPID *pPropId);
  2458. void __RPC_STUB ICiQueryPropertyMapper_PropertyToPropid_Stub(
  2459. IRpcStubBuffer *This,
  2460. IRpcChannelBuffer *_pRpcChannelBuffer,
  2461. PRPC_MESSAGE _pRpcMessage,
  2462. DWORD *_pdwStubPhase);
  2463. SCODE STDMETHODCALLTYPE ICiQueryPropertyMapper_PropidToProperty_Proxy(
  2464. ICiQueryPropertyMapper * This,
  2465. /* [in] */ PROPID pid,
  2466. /* [out] */ const FULLPROPSPEC **ppPropSpec);
  2467. void __RPC_STUB ICiQueryPropertyMapper_PropidToProperty_Stub(
  2468. IRpcStubBuffer *This,
  2469. IRpcChannelBuffer *_pRpcChannelBuffer,
  2470. PRPC_MESSAGE _pRpcMessage,
  2471. DWORD *_pdwStubPhase);
  2472. #endif /* __ICiQueryPropertyMapper_INTERFACE_DEFINED__ */
  2473. /* interface __MIDL_itf_ciintf_0138 */
  2474. /* [local] */
  2475. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0138_v0_0_c_ifspec;
  2476. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0138_v0_0_s_ifspec;
  2477. #ifndef __ICiCQuerySession_INTERFACE_DEFINED__
  2478. #define __ICiCQuerySession_INTERFACE_DEFINED__
  2479. /* interface ICiCQuerySession */
  2480. /* [unique][uuid][object][local] */
  2481. typedef
  2482. enum tagCI_ENUM_OPTIONS
  2483. { CI_ENUM_MUST = 0,
  2484. CI_ENUM_NEVER = CI_ENUM_MUST + 1,
  2485. CI_ENUM_SMALL = CI_ENUM_NEVER + 1,
  2486. CI_ENUM_BIG = CI_ENUM_SMALL + 1,
  2487. CI_ENUM_MUST_NEVER_DEFER = CI_ENUM_BIG + 1
  2488. } CI_ENUM_OPTIONS;
  2489. EXTERN_C const IID IID_ICiCQuerySession;
  2490. #if defined(__cplusplus) && !defined(CINTERFACE)
  2491. MIDL_INTERFACE("AE461FD6-4E1D-11D0-8C94-0020AF1D740E")
  2492. ICiCQuerySession : public IUnknown
  2493. {
  2494. public:
  2495. virtual SCODE STDMETHODCALLTYPE Init(
  2496. /* [in] */ ULONG nProps,
  2497. /* [size_is][in] */ const FULLPROPSPEC *const *apPropSpec,
  2498. /* [in] */ IDBProperties *pDBProperties,
  2499. /* [in] */ ICiQueryPropertyMapper *pQueryPropertyMapper) = 0;
  2500. virtual SCODE STDMETHODCALLTYPE GetEnumOption(
  2501. /* [out] */ CI_ENUM_OPTIONS *pEnumOption) = 0;
  2502. virtual SCODE STDMETHODCALLTYPE CreatePropRetriever(
  2503. /* [out] */ ICiCPropRetriever **ppICiCPropRetriever) = 0;
  2504. virtual SCODE STDMETHODCALLTYPE CreateDeferredPropRetriever(
  2505. /* [out] */ ICiCDeferredPropRetriever **ppICiCDefPropRetriever) = 0;
  2506. virtual SCODE STDMETHODCALLTYPE CreateEnumerator(
  2507. /* [out] */ ICiCScopeEnumerator **ppICiCEnumerator) = 0;
  2508. };
  2509. #else /* C style interface */
  2510. typedef struct ICiCQuerySessionVtbl
  2511. {
  2512. BEGIN_INTERFACE
  2513. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2514. ICiCQuerySession * This,
  2515. /* [in] */ REFIID riid,
  2516. /* [iid_is][out] */ void **ppvObject);
  2517. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2518. ICiCQuerySession * This);
  2519. ULONG ( STDMETHODCALLTYPE *Release )(
  2520. ICiCQuerySession * This);
  2521. SCODE ( STDMETHODCALLTYPE *Init )(
  2522. ICiCQuerySession * This,
  2523. /* [in] */ ULONG nProps,
  2524. /* [size_is][in] */ const FULLPROPSPEC *const *apPropSpec,
  2525. /* [in] */ IDBProperties *pDBProperties,
  2526. /* [in] */ ICiQueryPropertyMapper *pQueryPropertyMapper);
  2527. SCODE ( STDMETHODCALLTYPE *GetEnumOption )(
  2528. ICiCQuerySession * This,
  2529. /* [out] */ CI_ENUM_OPTIONS *pEnumOption);
  2530. SCODE ( STDMETHODCALLTYPE *CreatePropRetriever )(
  2531. ICiCQuerySession * This,
  2532. /* [out] */ ICiCPropRetriever **ppICiCPropRetriever);
  2533. SCODE ( STDMETHODCALLTYPE *CreateDeferredPropRetriever )(
  2534. ICiCQuerySession * This,
  2535. /* [out] */ ICiCDeferredPropRetriever **ppICiCDefPropRetriever);
  2536. SCODE ( STDMETHODCALLTYPE *CreateEnumerator )(
  2537. ICiCQuerySession * This,
  2538. /* [out] */ ICiCScopeEnumerator **ppICiCEnumerator);
  2539. END_INTERFACE
  2540. } ICiCQuerySessionVtbl;
  2541. interface ICiCQuerySession
  2542. {
  2543. CONST_VTBL struct ICiCQuerySessionVtbl *lpVtbl;
  2544. };
  2545. #ifdef COBJMACROS
  2546. #define ICiCQuerySession_QueryInterface(This,riid,ppvObject) \
  2547. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2548. #define ICiCQuerySession_AddRef(This) \
  2549. (This)->lpVtbl -> AddRef(This)
  2550. #define ICiCQuerySession_Release(This) \
  2551. (This)->lpVtbl -> Release(This)
  2552. #define ICiCQuerySession_Init(This,nProps,apPropSpec,pDBProperties,pQueryPropertyMapper) \
  2553. (This)->lpVtbl -> Init(This,nProps,apPropSpec,pDBProperties,pQueryPropertyMapper)
  2554. #define ICiCQuerySession_GetEnumOption(This,pEnumOption) \
  2555. (This)->lpVtbl -> GetEnumOption(This,pEnumOption)
  2556. #define ICiCQuerySession_CreatePropRetriever(This,ppICiCPropRetriever) \
  2557. (This)->lpVtbl -> CreatePropRetriever(This,ppICiCPropRetriever)
  2558. #define ICiCQuerySession_CreateDeferredPropRetriever(This,ppICiCDefPropRetriever) \
  2559. (This)->lpVtbl -> CreateDeferredPropRetriever(This,ppICiCDefPropRetriever)
  2560. #define ICiCQuerySession_CreateEnumerator(This,ppICiCEnumerator) \
  2561. (This)->lpVtbl -> CreateEnumerator(This,ppICiCEnumerator)
  2562. #endif /* COBJMACROS */
  2563. #endif /* C style interface */
  2564. SCODE STDMETHODCALLTYPE ICiCQuerySession_Init_Proxy(
  2565. ICiCQuerySession * This,
  2566. /* [in] */ ULONG nProps,
  2567. /* [size_is][in] */ const FULLPROPSPEC *const *apPropSpec,
  2568. /* [in] */ IDBProperties *pDBProperties,
  2569. /* [in] */ ICiQueryPropertyMapper *pQueryPropertyMapper);
  2570. void __RPC_STUB ICiCQuerySession_Init_Stub(
  2571. IRpcStubBuffer *This,
  2572. IRpcChannelBuffer *_pRpcChannelBuffer,
  2573. PRPC_MESSAGE _pRpcMessage,
  2574. DWORD *_pdwStubPhase);
  2575. SCODE STDMETHODCALLTYPE ICiCQuerySession_GetEnumOption_Proxy(
  2576. ICiCQuerySession * This,
  2577. /* [out] */ CI_ENUM_OPTIONS *pEnumOption);
  2578. void __RPC_STUB ICiCQuerySession_GetEnumOption_Stub(
  2579. IRpcStubBuffer *This,
  2580. IRpcChannelBuffer *_pRpcChannelBuffer,
  2581. PRPC_MESSAGE _pRpcMessage,
  2582. DWORD *_pdwStubPhase);
  2583. SCODE STDMETHODCALLTYPE ICiCQuerySession_CreatePropRetriever_Proxy(
  2584. ICiCQuerySession * This,
  2585. /* [out] */ ICiCPropRetriever **ppICiCPropRetriever);
  2586. void __RPC_STUB ICiCQuerySession_CreatePropRetriever_Stub(
  2587. IRpcStubBuffer *This,
  2588. IRpcChannelBuffer *_pRpcChannelBuffer,
  2589. PRPC_MESSAGE _pRpcMessage,
  2590. DWORD *_pdwStubPhase);
  2591. SCODE STDMETHODCALLTYPE ICiCQuerySession_CreateDeferredPropRetriever_Proxy(
  2592. ICiCQuerySession * This,
  2593. /* [out] */ ICiCDeferredPropRetriever **ppICiCDefPropRetriever);
  2594. void __RPC_STUB ICiCQuerySession_CreateDeferredPropRetriever_Stub(
  2595. IRpcStubBuffer *This,
  2596. IRpcChannelBuffer *_pRpcChannelBuffer,
  2597. PRPC_MESSAGE _pRpcMessage,
  2598. DWORD *_pdwStubPhase);
  2599. SCODE STDMETHODCALLTYPE ICiCQuerySession_CreateEnumerator_Proxy(
  2600. ICiCQuerySession * This,
  2601. /* [out] */ ICiCScopeEnumerator **ppICiCEnumerator);
  2602. void __RPC_STUB ICiCQuerySession_CreateEnumerator_Stub(
  2603. IRpcStubBuffer *This,
  2604. IRpcChannelBuffer *_pRpcChannelBuffer,
  2605. PRPC_MESSAGE _pRpcMessage,
  2606. DWORD *_pdwStubPhase);
  2607. #endif /* __ICiCQuerySession_INTERFACE_DEFINED__ */
  2608. /* interface __MIDL_itf_ciintf_0139 */
  2609. /* [local] */
  2610. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0139_v0_0_c_ifspec;
  2611. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0139_v0_0_s_ifspec;
  2612. #ifndef __ICiControl_INTERFACE_DEFINED__
  2613. #define __ICiControl_INTERFACE_DEFINED__
  2614. /* interface ICiControl */
  2615. /* [unique][uuid][object][local] */
  2616. EXTERN_C const IID IID_ICiControl;
  2617. #if defined(__cplusplus) && !defined(CINTERFACE)
  2618. MIDL_INTERFACE("63DEB7F4-3CCB-11D0-8C90-0020AF1D740E")
  2619. ICiControl : public IUnknown
  2620. {
  2621. public:
  2622. virtual SCODE STDMETHODCALLTYPE CreateContentIndex(
  2623. /* [in] */ ICiCDocStore *pICiDocStore,
  2624. /* [out] */ ICiManager **ppICiManager) = 0;
  2625. };
  2626. #else /* C style interface */
  2627. typedef struct ICiControlVtbl
  2628. {
  2629. BEGIN_INTERFACE
  2630. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2631. ICiControl * This,
  2632. /* [in] */ REFIID riid,
  2633. /* [iid_is][out] */ void **ppvObject);
  2634. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2635. ICiControl * This);
  2636. ULONG ( STDMETHODCALLTYPE *Release )(
  2637. ICiControl * This);
  2638. SCODE ( STDMETHODCALLTYPE *CreateContentIndex )(
  2639. ICiControl * This,
  2640. /* [in] */ ICiCDocStore *pICiDocStore,
  2641. /* [out] */ ICiManager **ppICiManager);
  2642. END_INTERFACE
  2643. } ICiControlVtbl;
  2644. interface ICiControl
  2645. {
  2646. CONST_VTBL struct ICiControlVtbl *lpVtbl;
  2647. };
  2648. #ifdef COBJMACROS
  2649. #define ICiControl_QueryInterface(This,riid,ppvObject) \
  2650. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2651. #define ICiControl_AddRef(This) \
  2652. (This)->lpVtbl -> AddRef(This)
  2653. #define ICiControl_Release(This) \
  2654. (This)->lpVtbl -> Release(This)
  2655. #define ICiControl_CreateContentIndex(This,pICiDocStore,ppICiManager) \
  2656. (This)->lpVtbl -> CreateContentIndex(This,pICiDocStore,ppICiManager)
  2657. #endif /* COBJMACROS */
  2658. #endif /* C style interface */
  2659. SCODE STDMETHODCALLTYPE ICiControl_CreateContentIndex_Proxy(
  2660. ICiControl * This,
  2661. /* [in] */ ICiCDocStore *pICiDocStore,
  2662. /* [out] */ ICiManager **ppICiManager);
  2663. void __RPC_STUB ICiControl_CreateContentIndex_Stub(
  2664. IRpcStubBuffer *This,
  2665. IRpcChannelBuffer *_pRpcChannelBuffer,
  2666. PRPC_MESSAGE _pRpcMessage,
  2667. DWORD *_pdwStubPhase);
  2668. #endif /* __ICiControl_INTERFACE_DEFINED__ */
  2669. /* interface __MIDL_itf_ciintf_0140 */
  2670. /* [local] */
  2671. #define CI_CONFIG_ENABLE_INDEXING 0x1
  2672. #define CI_CONFIG_ENABLE_QUERYING 0x2
  2673. #define CI_CONFIG_ENABLE_INDEXING 0x1
  2674. #define CI_CONFIG_ENABLE_QUERYING 0x2
  2675. #define CI_CONFIG_READONLY 0x4
  2676. #define CI_CONFIG_INPROCESS_FILTERING 0x8
  2677. #define CI_CONFIG_ENABLE_BULK_SECURITY 0x10
  2678. #define CI_CONFIG_ENABLE_INDEX_MIGRATION 0x20
  2679. #define CI_CONFIG_PROVIDE_PROPERTY_MAPPER 0x40
  2680. #define CI_CONFIG_EMPTY_DATA 0x80
  2681. #define CI_CONFIG_PUSH_FILTERING 0x100
  2682. #define CI_CONFIG_LOAD_FROM_FILES 0x200
  2683. typedef ULONG CI_STARTUP_FLAGS;
  2684. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0140_v0_0_c_ifspec;
  2685. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0140_v0_0_s_ifspec;
  2686. #ifndef __ICiStartup_INTERFACE_DEFINED__
  2687. #define __ICiStartup_INTERFACE_DEFINED__
  2688. /* interface ICiStartup */
  2689. /* [unique][uuid][object][local] */
  2690. typedef struct tagCI_STARTUP_INFO
  2691. {
  2692. CI_STARTUP_FLAGS startupFlags;
  2693. CLSID clsidDaemonClientMgr;
  2694. BOOL fFull;
  2695. BOOL fCallerOwnsFiles;
  2696. IEnumString *pFileList;
  2697. } CI_STARTUP_INFO;
  2698. EXTERN_C const IID IID_ICiStartup;
  2699. #if defined(__cplusplus) && !defined(CINTERFACE)
  2700. MIDL_INTERFACE("68232cb8-3ccc-11d0-8c90-0020af1d740e")
  2701. ICiStartup : public IUnknown
  2702. {
  2703. public:
  2704. virtual SCODE STDMETHODCALLTYPE StartupContentIndex(
  2705. /* [in][string] */ const WCHAR *pwszCiDirectory,
  2706. /* [in] */ CI_STARTUP_INFO *pStartupInfo,
  2707. /* [in] */ IProgressNotify *pIProgressNotify,
  2708. /* [in] */ BOOL *pfAbort) = 0;
  2709. virtual SCODE STDMETHODCALLTYPE StartupNullContentIndex(
  2710. /* [in] */ CI_STARTUP_INFO *pStartupInfo,
  2711. /* [in] */ IProgressNotify *pIProgressNotify,
  2712. /* [in] */ BOOL *pfAbort) = 0;
  2713. };
  2714. #else /* C style interface */
  2715. typedef struct ICiStartupVtbl
  2716. {
  2717. BEGIN_INTERFACE
  2718. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2719. ICiStartup * This,
  2720. /* [in] */ REFIID riid,
  2721. /* [iid_is][out] */ void **ppvObject);
  2722. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2723. ICiStartup * This);
  2724. ULONG ( STDMETHODCALLTYPE *Release )(
  2725. ICiStartup * This);
  2726. SCODE ( STDMETHODCALLTYPE *StartupContentIndex )(
  2727. ICiStartup * This,
  2728. /* [in][string] */ const WCHAR *pwszCiDirectory,
  2729. /* [in] */ CI_STARTUP_INFO *pStartupInfo,
  2730. /* [in] */ IProgressNotify *pIProgressNotify,
  2731. /* [in] */ BOOL *pfAbort);
  2732. SCODE ( STDMETHODCALLTYPE *StartupNullContentIndex )(
  2733. ICiStartup * This,
  2734. /* [in] */ CI_STARTUP_INFO *pStartupInfo,
  2735. /* [in] */ IProgressNotify *pIProgressNotify,
  2736. /* [in] */ BOOL *pfAbort);
  2737. END_INTERFACE
  2738. } ICiStartupVtbl;
  2739. interface ICiStartup
  2740. {
  2741. CONST_VTBL struct ICiStartupVtbl *lpVtbl;
  2742. };
  2743. #ifdef COBJMACROS
  2744. #define ICiStartup_QueryInterface(This,riid,ppvObject) \
  2745. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2746. #define ICiStartup_AddRef(This) \
  2747. (This)->lpVtbl -> AddRef(This)
  2748. #define ICiStartup_Release(This) \
  2749. (This)->lpVtbl -> Release(This)
  2750. #define ICiStartup_StartupContentIndex(This,pwszCiDirectory,pStartupInfo,pIProgressNotify,pfAbort) \
  2751. (This)->lpVtbl -> StartupContentIndex(This,pwszCiDirectory,pStartupInfo,pIProgressNotify,pfAbort)
  2752. #define ICiStartup_StartupNullContentIndex(This,pStartupInfo,pIProgressNotify,pfAbort) \
  2753. (This)->lpVtbl -> StartupNullContentIndex(This,pStartupInfo,pIProgressNotify,pfAbort)
  2754. #endif /* COBJMACROS */
  2755. #endif /* C style interface */
  2756. SCODE STDMETHODCALLTYPE ICiStartup_StartupContentIndex_Proxy(
  2757. ICiStartup * This,
  2758. /* [in][string] */ const WCHAR *pwszCiDirectory,
  2759. /* [in] */ CI_STARTUP_INFO *pStartupInfo,
  2760. /* [in] */ IProgressNotify *pIProgressNotify,
  2761. /* [in] */ BOOL *pfAbort);
  2762. void __RPC_STUB ICiStartup_StartupContentIndex_Stub(
  2763. IRpcStubBuffer *This,
  2764. IRpcChannelBuffer *_pRpcChannelBuffer,
  2765. PRPC_MESSAGE _pRpcMessage,
  2766. DWORD *_pdwStubPhase);
  2767. SCODE STDMETHODCALLTYPE ICiStartup_StartupNullContentIndex_Proxy(
  2768. ICiStartup * This,
  2769. /* [in] */ CI_STARTUP_INFO *pStartupInfo,
  2770. /* [in] */ IProgressNotify *pIProgressNotify,
  2771. /* [in] */ BOOL *pfAbort);
  2772. void __RPC_STUB ICiStartup_StartupNullContentIndex_Stub(
  2773. IRpcStubBuffer *This,
  2774. IRpcChannelBuffer *_pRpcChannelBuffer,
  2775. PRPC_MESSAGE _pRpcMessage,
  2776. DWORD *_pdwStubPhase);
  2777. #endif /* __ICiStartup_INTERFACE_DEFINED__ */
  2778. #ifndef __ICiEnumWorkids_INTERFACE_DEFINED__
  2779. #define __ICiEnumWorkids_INTERFACE_DEFINED__
  2780. /* interface ICiEnumWorkids */
  2781. /* [unique][uuid][object][local] */
  2782. EXTERN_C const IID IID_ICiEnumWorkids;
  2783. #if defined(__cplusplus) && !defined(CINTERFACE)
  2784. MIDL_INTERFACE("77900150-A09C-11D0-A80D-00A0C906241A")
  2785. ICiEnumWorkids : public IUnknown
  2786. {
  2787. public:
  2788. virtual SCODE STDMETHODCALLTYPE Count(
  2789. /* [out] */ ULONG *pcWorkIds) = 0;
  2790. virtual SCODE STDMETHODCALLTYPE Reset( void) = 0;
  2791. virtual SCODE STDMETHODCALLTYPE Next(
  2792. /* [in] */ ULONG celt,
  2793. /* [size_is][out] */ WORKID *rgelt,
  2794. /* [out] */ ULONG *pceltFetched) = 0;
  2795. virtual SCODE STDMETHODCALLTYPE Skip(
  2796. /* [in] */ ULONG celt) = 0;
  2797. };
  2798. #else /* C style interface */
  2799. typedef struct ICiEnumWorkidsVtbl
  2800. {
  2801. BEGIN_INTERFACE
  2802. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2803. ICiEnumWorkids * This,
  2804. /* [in] */ REFIID riid,
  2805. /* [iid_is][out] */ void **ppvObject);
  2806. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2807. ICiEnumWorkids * This);
  2808. ULONG ( STDMETHODCALLTYPE *Release )(
  2809. ICiEnumWorkids * This);
  2810. SCODE ( STDMETHODCALLTYPE *Count )(
  2811. ICiEnumWorkids * This,
  2812. /* [out] */ ULONG *pcWorkIds);
  2813. SCODE ( STDMETHODCALLTYPE *Reset )(
  2814. ICiEnumWorkids * This);
  2815. SCODE ( STDMETHODCALLTYPE *Next )(
  2816. ICiEnumWorkids * This,
  2817. /* [in] */ ULONG celt,
  2818. /* [size_is][out] */ WORKID *rgelt,
  2819. /* [out] */ ULONG *pceltFetched);
  2820. SCODE ( STDMETHODCALLTYPE *Skip )(
  2821. ICiEnumWorkids * This,
  2822. /* [in] */ ULONG celt);
  2823. END_INTERFACE
  2824. } ICiEnumWorkidsVtbl;
  2825. interface ICiEnumWorkids
  2826. {
  2827. CONST_VTBL struct ICiEnumWorkidsVtbl *lpVtbl;
  2828. };
  2829. #ifdef COBJMACROS
  2830. #define ICiEnumWorkids_QueryInterface(This,riid,ppvObject) \
  2831. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2832. #define ICiEnumWorkids_AddRef(This) \
  2833. (This)->lpVtbl -> AddRef(This)
  2834. #define ICiEnumWorkids_Release(This) \
  2835. (This)->lpVtbl -> Release(This)
  2836. #define ICiEnumWorkids_Count(This,pcWorkIds) \
  2837. (This)->lpVtbl -> Count(This,pcWorkIds)
  2838. #define ICiEnumWorkids_Reset(This) \
  2839. (This)->lpVtbl -> Reset(This)
  2840. #define ICiEnumWorkids_Next(This,celt,rgelt,pceltFetched) \
  2841. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  2842. #define ICiEnumWorkids_Skip(This,celt) \
  2843. (This)->lpVtbl -> Skip(This,celt)
  2844. #endif /* COBJMACROS */
  2845. #endif /* C style interface */
  2846. SCODE STDMETHODCALLTYPE ICiEnumWorkids_Count_Proxy(
  2847. ICiEnumWorkids * This,
  2848. /* [out] */ ULONG *pcWorkIds);
  2849. void __RPC_STUB ICiEnumWorkids_Count_Stub(
  2850. IRpcStubBuffer *This,
  2851. IRpcChannelBuffer *_pRpcChannelBuffer,
  2852. PRPC_MESSAGE _pRpcMessage,
  2853. DWORD *_pdwStubPhase);
  2854. SCODE STDMETHODCALLTYPE ICiEnumWorkids_Reset_Proxy(
  2855. ICiEnumWorkids * This);
  2856. void __RPC_STUB ICiEnumWorkids_Reset_Stub(
  2857. IRpcStubBuffer *This,
  2858. IRpcChannelBuffer *_pRpcChannelBuffer,
  2859. PRPC_MESSAGE _pRpcMessage,
  2860. DWORD *_pdwStubPhase);
  2861. SCODE STDMETHODCALLTYPE ICiEnumWorkids_Next_Proxy(
  2862. ICiEnumWorkids * This,
  2863. /* [in] */ ULONG celt,
  2864. /* [size_is][out] */ WORKID *rgelt,
  2865. /* [out] */ ULONG *pceltFetched);
  2866. void __RPC_STUB ICiEnumWorkids_Next_Stub(
  2867. IRpcStubBuffer *This,
  2868. IRpcChannelBuffer *_pRpcChannelBuffer,
  2869. PRPC_MESSAGE _pRpcMessage,
  2870. DWORD *_pdwStubPhase);
  2871. SCODE STDMETHODCALLTYPE ICiEnumWorkids_Skip_Proxy(
  2872. ICiEnumWorkids * This,
  2873. /* [in] */ ULONG celt);
  2874. void __RPC_STUB ICiEnumWorkids_Skip_Stub(
  2875. IRpcStubBuffer *This,
  2876. IRpcChannelBuffer *_pRpcChannelBuffer,
  2877. PRPC_MESSAGE _pRpcMessage,
  2878. DWORD *_pdwStubPhase);
  2879. #endif /* __ICiEnumWorkids_INTERFACE_DEFINED__ */
  2880. #ifndef __ICiPersistIncrFile_INTERFACE_DEFINED__
  2881. #define __ICiPersistIncrFile_INTERFACE_DEFINED__
  2882. /* interface ICiPersistIncrFile */
  2883. /* [unique][uuid][object][local] */
  2884. EXTERN_C const IID IID_ICiPersistIncrFile;
  2885. #if defined(__cplusplus) && !defined(CINTERFACE)
  2886. MIDL_INTERFACE("31B311E2-4498-11D0-8C91-0020AF1D740E")
  2887. ICiPersistIncrFile : public IUnknown
  2888. {
  2889. public:
  2890. virtual SCODE STDMETHODCALLTYPE Load(
  2891. /* [in] */ BOOL fFull,
  2892. /* [in] */ BOOL fCallerOwnsFiles,
  2893. /* [in] */ IEnumString *pIFileList,
  2894. /* [in] */ IProgressNotify *pIProgressNotify,
  2895. /* [in] */ BOOL *pfAbort) = 0;
  2896. virtual SCODE STDMETHODCALLTYPE Save(
  2897. /* [in][string] */ const WCHAR *pwszSaveDirectory,
  2898. /* [in] */ BOOL fFull,
  2899. /* [in] */ IProgressNotify *pIProgressNotify,
  2900. /* [in] */ BOOL *pfAbort,
  2901. /* [out] */ ICiEnumWorkids **ppWorkidList,
  2902. /* [out] */ IEnumString **ppFileList,
  2903. /* [out] */ BOOL *pfFull,
  2904. /* [out] */ BOOL *pfCallerOwnsFiles) = 0;
  2905. virtual SCODE STDMETHODCALLTYPE SaveCompleted( void) = 0;
  2906. };
  2907. #else /* C style interface */
  2908. typedef struct ICiPersistIncrFileVtbl
  2909. {
  2910. BEGIN_INTERFACE
  2911. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2912. ICiPersistIncrFile * This,
  2913. /* [in] */ REFIID riid,
  2914. /* [iid_is][out] */ void **ppvObject);
  2915. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2916. ICiPersistIncrFile * This);
  2917. ULONG ( STDMETHODCALLTYPE *Release )(
  2918. ICiPersistIncrFile * This);
  2919. SCODE ( STDMETHODCALLTYPE *Load )(
  2920. ICiPersistIncrFile * This,
  2921. /* [in] */ BOOL fFull,
  2922. /* [in] */ BOOL fCallerOwnsFiles,
  2923. /* [in] */ IEnumString *pIFileList,
  2924. /* [in] */ IProgressNotify *pIProgressNotify,
  2925. /* [in] */ BOOL *pfAbort);
  2926. SCODE ( STDMETHODCALLTYPE *Save )(
  2927. ICiPersistIncrFile * This,
  2928. /* [in][string] */ const WCHAR *pwszSaveDirectory,
  2929. /* [in] */ BOOL fFull,
  2930. /* [in] */ IProgressNotify *pIProgressNotify,
  2931. /* [in] */ BOOL *pfAbort,
  2932. /* [out] */ ICiEnumWorkids **ppWorkidList,
  2933. /* [out] */ IEnumString **ppFileList,
  2934. /* [out] */ BOOL *pfFull,
  2935. /* [out] */ BOOL *pfCallerOwnsFiles);
  2936. SCODE ( STDMETHODCALLTYPE *SaveCompleted )(
  2937. ICiPersistIncrFile * This);
  2938. END_INTERFACE
  2939. } ICiPersistIncrFileVtbl;
  2940. interface ICiPersistIncrFile
  2941. {
  2942. CONST_VTBL struct ICiPersistIncrFileVtbl *lpVtbl;
  2943. };
  2944. #ifdef COBJMACROS
  2945. #define ICiPersistIncrFile_QueryInterface(This,riid,ppvObject) \
  2946. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2947. #define ICiPersistIncrFile_AddRef(This) \
  2948. (This)->lpVtbl -> AddRef(This)
  2949. #define ICiPersistIncrFile_Release(This) \
  2950. (This)->lpVtbl -> Release(This)
  2951. #define ICiPersistIncrFile_Load(This,fFull,fCallerOwnsFiles,pIFileList,pIProgressNotify,pfAbort) \
  2952. (This)->lpVtbl -> Load(This,fFull,fCallerOwnsFiles,pIFileList,pIProgressNotify,pfAbort)
  2953. #define ICiPersistIncrFile_Save(This,pwszSaveDirectory,fFull,pIProgressNotify,pfAbort,ppWorkidList,ppFileList,pfFull,pfCallerOwnsFiles) \
  2954. (This)->lpVtbl -> Save(This,pwszSaveDirectory,fFull,pIProgressNotify,pfAbort,ppWorkidList,ppFileList,pfFull,pfCallerOwnsFiles)
  2955. #define ICiPersistIncrFile_SaveCompleted(This) \
  2956. (This)->lpVtbl -> SaveCompleted(This)
  2957. #endif /* COBJMACROS */
  2958. #endif /* C style interface */
  2959. SCODE STDMETHODCALLTYPE ICiPersistIncrFile_Load_Proxy(
  2960. ICiPersistIncrFile * This,
  2961. /* [in] */ BOOL fFull,
  2962. /* [in] */ BOOL fCallerOwnsFiles,
  2963. /* [in] */ IEnumString *pIFileList,
  2964. /* [in] */ IProgressNotify *pIProgressNotify,
  2965. /* [in] */ BOOL *pfAbort);
  2966. void __RPC_STUB ICiPersistIncrFile_Load_Stub(
  2967. IRpcStubBuffer *This,
  2968. IRpcChannelBuffer *_pRpcChannelBuffer,
  2969. PRPC_MESSAGE _pRpcMessage,
  2970. DWORD *_pdwStubPhase);
  2971. SCODE STDMETHODCALLTYPE ICiPersistIncrFile_Save_Proxy(
  2972. ICiPersistIncrFile * This,
  2973. /* [in][string] */ const WCHAR *pwszSaveDirectory,
  2974. /* [in] */ BOOL fFull,
  2975. /* [in] */ IProgressNotify *pIProgressNotify,
  2976. /* [in] */ BOOL *pfAbort,
  2977. /* [out] */ ICiEnumWorkids **ppWorkidList,
  2978. /* [out] */ IEnumString **ppFileList,
  2979. /* [out] */ BOOL *pfFull,
  2980. /* [out] */ BOOL *pfCallerOwnsFiles);
  2981. void __RPC_STUB ICiPersistIncrFile_Save_Stub(
  2982. IRpcStubBuffer *This,
  2983. IRpcChannelBuffer *_pRpcChannelBuffer,
  2984. PRPC_MESSAGE _pRpcMessage,
  2985. DWORD *_pdwStubPhase);
  2986. SCODE STDMETHODCALLTYPE ICiPersistIncrFile_SaveCompleted_Proxy(
  2987. ICiPersistIncrFile * This);
  2988. void __RPC_STUB ICiPersistIncrFile_SaveCompleted_Stub(
  2989. IRpcStubBuffer *This,
  2990. IRpcChannelBuffer *_pRpcChannelBuffer,
  2991. PRPC_MESSAGE _pRpcMessage,
  2992. DWORD *_pdwStubPhase);
  2993. #endif /* __ICiPersistIncrFile_INTERFACE_DEFINED__ */
  2994. /* interface __MIDL_itf_ciintf_0143 */
  2995. /* [local] */
  2996. typedef ULONG CIF_STATE_FLAGS;
  2997. #define CIF_STATE_SHADOW_MERGE 0x001
  2998. #define CIF_STATE_MASTER_MERGE 0x002
  2999. #define CIF_STATE_CONTENT_SCAN_REQUIRED 0x004
  3000. #define CIF_STATE_ANNEALING_MERGE 0x008
  3001. #define CIF_STATE_INDEX_MIGRATION_MERGE 0x010
  3002. #define CIF_STATE_LOW_MEMORY 0x020
  3003. #define CIF_STATE_HIGH_IO 0x040
  3004. #define CIF_STATE_MASTER_MERGE_PAUSED 0x080
  3005. #define CIF_STATE_BATTERY_POWER 0x100
  3006. #define CIF_STATE_USER_ACTIVE 0x200
  3007. typedef
  3008. enum tagCI_MERGE_TYPE
  3009. { CI_ANY_MERGE = 0,
  3010. CI_MASTER_MERGE = 1,
  3011. CI_SHADOW_MERGE = 2,
  3012. CI_ANNEALING_MERGE = 3
  3013. } CI_MERGE_TYPE;
  3014. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0143_v0_0_c_ifspec;
  3015. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0143_v0_0_s_ifspec;
  3016. #ifndef __ICiManager_INTERFACE_DEFINED__
  3017. #define __ICiManager_INTERFACE_DEFINED__
  3018. /* interface ICiManager */
  3019. /* [unique][uuid][object][local] */
  3020. typedef struct tagCI_DOCUMENT_UPDATE_INFO
  3021. {
  3022. WORKID workId;
  3023. VOLUMEID volumeId;
  3024. USN usn;
  3025. PARTITIONID partId;
  3026. CI_UPDATE_TYPE change;
  3027. } CI_DOCUMENT_UPDATE_INFO;
  3028. typedef struct tagCIF_STATE
  3029. {
  3030. DWORD cbStruct;
  3031. DWORD cWordList;
  3032. DWORD cPersistentIndex;
  3033. DWORD cQueries;
  3034. DWORD cDocuments;
  3035. DWORD cFreshTest;
  3036. DWORD dwMergeProgress;
  3037. CIF_STATE_FLAGS eState;
  3038. DWORD cFilteredDocuments;
  3039. DWORD dwIndexSize;
  3040. DWORD cUniqueKeys;
  3041. DWORD cSecQDocuments;
  3042. } CIF_STATE;
  3043. EXTERN_C const IID IID_ICiManager;
  3044. #if defined(__cplusplus) && !defined(CINTERFACE)
  3045. MIDL_INTERFACE("CF0FCF56-3CCE-11D0-8C90-0020AF1D740E")
  3046. ICiManager : public IUnknown
  3047. {
  3048. public:
  3049. virtual SCODE STDMETHODCALLTYPE GetStatus(
  3050. /* [out] */ CIF_STATE *pCiState) = 0;
  3051. virtual SCODE STDMETHODCALLTYPE Empty( void) = 0;
  3052. virtual SCODE STDMETHODCALLTYPE Shutdown( void) = 0;
  3053. virtual SCODE STDMETHODCALLTYPE UpdateDocument(
  3054. /* [in] */ const CI_DOCUMENT_UPDATE_INFO *pInfo) = 0;
  3055. virtual SCODE STDMETHODCALLTYPE UpdateDocuments(
  3056. /* [in] */ ULONG cDocs,
  3057. /* [size_is][in] */ const CI_DOCUMENT_UPDATE_INFO *aInfo) = 0;
  3058. virtual SCODE STDMETHODCALLTYPE StartFiltering(
  3059. /* [in] */ ULONG cbData,
  3060. /* [size_is][in] */ const BYTE *pbData) = 0;
  3061. virtual SCODE STDMETHODCALLTYPE FlushUpdates( void) = 0;
  3062. virtual SCODE STDMETHODCALLTYPE GetAdminParams(
  3063. /* [out] */ ICiAdminParams **ppICiAdminParams) = 0;
  3064. virtual SCODE STDMETHODCALLTYPE QueryRcovStorage(
  3065. /* [out] */ IUnknown **ppIUnknown) = 0;
  3066. virtual SCODE STDMETHODCALLTYPE ForceMerge(
  3067. CI_MERGE_TYPE mt) = 0;
  3068. virtual SCODE STDMETHODCALLTYPE AbortMerge( void) = 0;
  3069. virtual SCODE STDMETHODCALLTYPE IsQuiesced(
  3070. BOOL *pfState) = 0;
  3071. virtual SCODE STDMETHODCALLTYPE GetPropertyMapper(
  3072. /* [out] */ IPropertyMapper **ppIPropertyMapper) = 0;
  3073. virtual SCODE STDMETHODCALLTYPE IsNullCatalog(
  3074. BOOL *pfNull) = 0;
  3075. };
  3076. #else /* C style interface */
  3077. typedef struct ICiManagerVtbl
  3078. {
  3079. BEGIN_INTERFACE
  3080. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3081. ICiManager * This,
  3082. /* [in] */ REFIID riid,
  3083. /* [iid_is][out] */ void **ppvObject);
  3084. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3085. ICiManager * This);
  3086. ULONG ( STDMETHODCALLTYPE *Release )(
  3087. ICiManager * This);
  3088. SCODE ( STDMETHODCALLTYPE *GetStatus )(
  3089. ICiManager * This,
  3090. /* [out] */ CIF_STATE *pCiState);
  3091. SCODE ( STDMETHODCALLTYPE *Empty )(
  3092. ICiManager * This);
  3093. SCODE ( STDMETHODCALLTYPE *Shutdown )(
  3094. ICiManager * This);
  3095. SCODE ( STDMETHODCALLTYPE *UpdateDocument )(
  3096. ICiManager * This,
  3097. /* [in] */ const CI_DOCUMENT_UPDATE_INFO *pInfo);
  3098. SCODE ( STDMETHODCALLTYPE *UpdateDocuments )(
  3099. ICiManager * This,
  3100. /* [in] */ ULONG cDocs,
  3101. /* [size_is][in] */ const CI_DOCUMENT_UPDATE_INFO *aInfo);
  3102. SCODE ( STDMETHODCALLTYPE *StartFiltering )(
  3103. ICiManager * This,
  3104. /* [in] */ ULONG cbData,
  3105. /* [size_is][in] */ const BYTE *pbData);
  3106. SCODE ( STDMETHODCALLTYPE *FlushUpdates )(
  3107. ICiManager * This);
  3108. SCODE ( STDMETHODCALLTYPE *GetAdminParams )(
  3109. ICiManager * This,
  3110. /* [out] */ ICiAdminParams **ppICiAdminParams);
  3111. SCODE ( STDMETHODCALLTYPE *QueryRcovStorage )(
  3112. ICiManager * This,
  3113. /* [out] */ IUnknown **ppIUnknown);
  3114. SCODE ( STDMETHODCALLTYPE *ForceMerge )(
  3115. ICiManager * This,
  3116. CI_MERGE_TYPE mt);
  3117. SCODE ( STDMETHODCALLTYPE *AbortMerge )(
  3118. ICiManager * This);
  3119. SCODE ( STDMETHODCALLTYPE *IsQuiesced )(
  3120. ICiManager * This,
  3121. BOOL *pfState);
  3122. SCODE ( STDMETHODCALLTYPE *GetPropertyMapper )(
  3123. ICiManager * This,
  3124. /* [out] */ IPropertyMapper **ppIPropertyMapper);
  3125. SCODE ( STDMETHODCALLTYPE *IsNullCatalog )(
  3126. ICiManager * This,
  3127. BOOL *pfNull);
  3128. END_INTERFACE
  3129. } ICiManagerVtbl;
  3130. interface ICiManager
  3131. {
  3132. CONST_VTBL struct ICiManagerVtbl *lpVtbl;
  3133. };
  3134. #ifdef COBJMACROS
  3135. #define ICiManager_QueryInterface(This,riid,ppvObject) \
  3136. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3137. #define ICiManager_AddRef(This) \
  3138. (This)->lpVtbl -> AddRef(This)
  3139. #define ICiManager_Release(This) \
  3140. (This)->lpVtbl -> Release(This)
  3141. #define ICiManager_GetStatus(This,pCiState) \
  3142. (This)->lpVtbl -> GetStatus(This,pCiState)
  3143. #define ICiManager_Empty(This) \
  3144. (This)->lpVtbl -> Empty(This)
  3145. #define ICiManager_Shutdown(This) \
  3146. (This)->lpVtbl -> Shutdown(This)
  3147. #define ICiManager_UpdateDocument(This,pInfo) \
  3148. (This)->lpVtbl -> UpdateDocument(This,pInfo)
  3149. #define ICiManager_UpdateDocuments(This,cDocs,aInfo) \
  3150. (This)->lpVtbl -> UpdateDocuments(This,cDocs,aInfo)
  3151. #define ICiManager_StartFiltering(This,cbData,pbData) \
  3152. (This)->lpVtbl -> StartFiltering(This,cbData,pbData)
  3153. #define ICiManager_FlushUpdates(This) \
  3154. (This)->lpVtbl -> FlushUpdates(This)
  3155. #define ICiManager_GetAdminParams(This,ppICiAdminParams) \
  3156. (This)->lpVtbl -> GetAdminParams(This,ppICiAdminParams)
  3157. #define ICiManager_QueryRcovStorage(This,ppIUnknown) \
  3158. (This)->lpVtbl -> QueryRcovStorage(This,ppIUnknown)
  3159. #define ICiManager_ForceMerge(This,mt) \
  3160. (This)->lpVtbl -> ForceMerge(This,mt)
  3161. #define ICiManager_AbortMerge(This) \
  3162. (This)->lpVtbl -> AbortMerge(This)
  3163. #define ICiManager_IsQuiesced(This,pfState) \
  3164. (This)->lpVtbl -> IsQuiesced(This,pfState)
  3165. #define ICiManager_GetPropertyMapper(This,ppIPropertyMapper) \
  3166. (This)->lpVtbl -> GetPropertyMapper(This,ppIPropertyMapper)
  3167. #define ICiManager_IsNullCatalog(This,pfNull) \
  3168. (This)->lpVtbl -> IsNullCatalog(This,pfNull)
  3169. #endif /* COBJMACROS */
  3170. #endif /* C style interface */
  3171. SCODE STDMETHODCALLTYPE ICiManager_GetStatus_Proxy(
  3172. ICiManager * This,
  3173. /* [out] */ CIF_STATE *pCiState);
  3174. void __RPC_STUB ICiManager_GetStatus_Stub(
  3175. IRpcStubBuffer *This,
  3176. IRpcChannelBuffer *_pRpcChannelBuffer,
  3177. PRPC_MESSAGE _pRpcMessage,
  3178. DWORD *_pdwStubPhase);
  3179. SCODE STDMETHODCALLTYPE ICiManager_Empty_Proxy(
  3180. ICiManager * This);
  3181. void __RPC_STUB ICiManager_Empty_Stub(
  3182. IRpcStubBuffer *This,
  3183. IRpcChannelBuffer *_pRpcChannelBuffer,
  3184. PRPC_MESSAGE _pRpcMessage,
  3185. DWORD *_pdwStubPhase);
  3186. SCODE STDMETHODCALLTYPE ICiManager_Shutdown_Proxy(
  3187. ICiManager * This);
  3188. void __RPC_STUB ICiManager_Shutdown_Stub(
  3189. IRpcStubBuffer *This,
  3190. IRpcChannelBuffer *_pRpcChannelBuffer,
  3191. PRPC_MESSAGE _pRpcMessage,
  3192. DWORD *_pdwStubPhase);
  3193. SCODE STDMETHODCALLTYPE ICiManager_UpdateDocument_Proxy(
  3194. ICiManager * This,
  3195. /* [in] */ const CI_DOCUMENT_UPDATE_INFO *pInfo);
  3196. void __RPC_STUB ICiManager_UpdateDocument_Stub(
  3197. IRpcStubBuffer *This,
  3198. IRpcChannelBuffer *_pRpcChannelBuffer,
  3199. PRPC_MESSAGE _pRpcMessage,
  3200. DWORD *_pdwStubPhase);
  3201. SCODE STDMETHODCALLTYPE ICiManager_UpdateDocuments_Proxy(
  3202. ICiManager * This,
  3203. /* [in] */ ULONG cDocs,
  3204. /* [size_is][in] */ const CI_DOCUMENT_UPDATE_INFO *aInfo);
  3205. void __RPC_STUB ICiManager_UpdateDocuments_Stub(
  3206. IRpcStubBuffer *This,
  3207. IRpcChannelBuffer *_pRpcChannelBuffer,
  3208. PRPC_MESSAGE _pRpcMessage,
  3209. DWORD *_pdwStubPhase);
  3210. SCODE STDMETHODCALLTYPE ICiManager_StartFiltering_Proxy(
  3211. ICiManager * This,
  3212. /* [in] */ ULONG cbData,
  3213. /* [size_is][in] */ const BYTE *pbData);
  3214. void __RPC_STUB ICiManager_StartFiltering_Stub(
  3215. IRpcStubBuffer *This,
  3216. IRpcChannelBuffer *_pRpcChannelBuffer,
  3217. PRPC_MESSAGE _pRpcMessage,
  3218. DWORD *_pdwStubPhase);
  3219. SCODE STDMETHODCALLTYPE ICiManager_FlushUpdates_Proxy(
  3220. ICiManager * This);
  3221. void __RPC_STUB ICiManager_FlushUpdates_Stub(
  3222. IRpcStubBuffer *This,
  3223. IRpcChannelBuffer *_pRpcChannelBuffer,
  3224. PRPC_MESSAGE _pRpcMessage,
  3225. DWORD *_pdwStubPhase);
  3226. SCODE STDMETHODCALLTYPE ICiManager_GetAdminParams_Proxy(
  3227. ICiManager * This,
  3228. /* [out] */ ICiAdminParams **ppICiAdminParams);
  3229. void __RPC_STUB ICiManager_GetAdminParams_Stub(
  3230. IRpcStubBuffer *This,
  3231. IRpcChannelBuffer *_pRpcChannelBuffer,
  3232. PRPC_MESSAGE _pRpcMessage,
  3233. DWORD *_pdwStubPhase);
  3234. SCODE STDMETHODCALLTYPE ICiManager_QueryRcovStorage_Proxy(
  3235. ICiManager * This,
  3236. /* [out] */ IUnknown **ppIUnknown);
  3237. void __RPC_STUB ICiManager_QueryRcovStorage_Stub(
  3238. IRpcStubBuffer *This,
  3239. IRpcChannelBuffer *_pRpcChannelBuffer,
  3240. PRPC_MESSAGE _pRpcMessage,
  3241. DWORD *_pdwStubPhase);
  3242. SCODE STDMETHODCALLTYPE ICiManager_ForceMerge_Proxy(
  3243. ICiManager * This,
  3244. CI_MERGE_TYPE mt);
  3245. void __RPC_STUB ICiManager_ForceMerge_Stub(
  3246. IRpcStubBuffer *This,
  3247. IRpcChannelBuffer *_pRpcChannelBuffer,
  3248. PRPC_MESSAGE _pRpcMessage,
  3249. DWORD *_pdwStubPhase);
  3250. SCODE STDMETHODCALLTYPE ICiManager_AbortMerge_Proxy(
  3251. ICiManager * This);
  3252. void __RPC_STUB ICiManager_AbortMerge_Stub(
  3253. IRpcStubBuffer *This,
  3254. IRpcChannelBuffer *_pRpcChannelBuffer,
  3255. PRPC_MESSAGE _pRpcMessage,
  3256. DWORD *_pdwStubPhase);
  3257. SCODE STDMETHODCALLTYPE ICiManager_IsQuiesced_Proxy(
  3258. ICiManager * This,
  3259. BOOL *pfState);
  3260. void __RPC_STUB ICiManager_IsQuiesced_Stub(
  3261. IRpcStubBuffer *This,
  3262. IRpcChannelBuffer *_pRpcChannelBuffer,
  3263. PRPC_MESSAGE _pRpcMessage,
  3264. DWORD *_pdwStubPhase);
  3265. SCODE STDMETHODCALLTYPE ICiManager_GetPropertyMapper_Proxy(
  3266. ICiManager * This,
  3267. /* [out] */ IPropertyMapper **ppIPropertyMapper);
  3268. void __RPC_STUB ICiManager_GetPropertyMapper_Stub(
  3269. IRpcStubBuffer *This,
  3270. IRpcChannelBuffer *_pRpcChannelBuffer,
  3271. PRPC_MESSAGE _pRpcMessage,
  3272. DWORD *_pdwStubPhase);
  3273. SCODE STDMETHODCALLTYPE ICiManager_IsNullCatalog_Proxy(
  3274. ICiManager * This,
  3275. BOOL *pfNull);
  3276. void __RPC_STUB ICiManager_IsNullCatalog_Stub(
  3277. IRpcStubBuffer *This,
  3278. IRpcChannelBuffer *_pRpcChannelBuffer,
  3279. PRPC_MESSAGE _pRpcMessage,
  3280. DWORD *_pdwStubPhase);
  3281. #endif /* __ICiManager_INTERFACE_DEFINED__ */
  3282. #ifndef __IPropertyMapper_INTERFACE_DEFINED__
  3283. #define __IPropertyMapper_INTERFACE_DEFINED__
  3284. /* interface IPropertyMapper */
  3285. /* [unique][uuid][object][local] */
  3286. EXTERN_C const IID IID_IPropertyMapper;
  3287. #if defined(__cplusplus) && !defined(CINTERFACE)
  3288. MIDL_INTERFACE("B324B226-41A0-11D0-8C91-0020AF1D740E")
  3289. IPropertyMapper : public IUnknown
  3290. {
  3291. public:
  3292. virtual SCODE STDMETHODCALLTYPE PropertyToPropid(
  3293. /* [in] */ const FULLPROPSPEC *pFullPropSpec,
  3294. /* [in] */ BOOL fCreate,
  3295. /* [out] */ PROPID *pPropId) = 0;
  3296. virtual SCODE STDMETHODCALLTYPE PropidToProperty(
  3297. /* [in] */ PROPID pid,
  3298. /* [out] */ FULLPROPSPEC **ppPropSpec) = 0;
  3299. };
  3300. #else /* C style interface */
  3301. typedef struct IPropertyMapperVtbl
  3302. {
  3303. BEGIN_INTERFACE
  3304. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3305. IPropertyMapper * This,
  3306. /* [in] */ REFIID riid,
  3307. /* [iid_is][out] */ void **ppvObject);
  3308. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3309. IPropertyMapper * This);
  3310. ULONG ( STDMETHODCALLTYPE *Release )(
  3311. IPropertyMapper * This);
  3312. SCODE ( STDMETHODCALLTYPE *PropertyToPropid )(
  3313. IPropertyMapper * This,
  3314. /* [in] */ const FULLPROPSPEC *pFullPropSpec,
  3315. /* [in] */ BOOL fCreate,
  3316. /* [out] */ PROPID *pPropId);
  3317. SCODE ( STDMETHODCALLTYPE *PropidToProperty )(
  3318. IPropertyMapper * This,
  3319. /* [in] */ PROPID pid,
  3320. /* [out] */ FULLPROPSPEC **ppPropSpec);
  3321. END_INTERFACE
  3322. } IPropertyMapperVtbl;
  3323. interface IPropertyMapper
  3324. {
  3325. CONST_VTBL struct IPropertyMapperVtbl *lpVtbl;
  3326. };
  3327. #ifdef COBJMACROS
  3328. #define IPropertyMapper_QueryInterface(This,riid,ppvObject) \
  3329. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3330. #define IPropertyMapper_AddRef(This) \
  3331. (This)->lpVtbl -> AddRef(This)
  3332. #define IPropertyMapper_Release(This) \
  3333. (This)->lpVtbl -> Release(This)
  3334. #define IPropertyMapper_PropertyToPropid(This,pFullPropSpec,fCreate,pPropId) \
  3335. (This)->lpVtbl -> PropertyToPropid(This,pFullPropSpec,fCreate,pPropId)
  3336. #define IPropertyMapper_PropidToProperty(This,pid,ppPropSpec) \
  3337. (This)->lpVtbl -> PropidToProperty(This,pid,ppPropSpec)
  3338. #endif /* COBJMACROS */
  3339. #endif /* C style interface */
  3340. SCODE STDMETHODCALLTYPE IPropertyMapper_PropertyToPropid_Proxy(
  3341. IPropertyMapper * This,
  3342. /* [in] */ const FULLPROPSPEC *pFullPropSpec,
  3343. /* [in] */ BOOL fCreate,
  3344. /* [out] */ PROPID *pPropId);
  3345. void __RPC_STUB IPropertyMapper_PropertyToPropid_Stub(
  3346. IRpcStubBuffer *This,
  3347. IRpcChannelBuffer *_pRpcChannelBuffer,
  3348. PRPC_MESSAGE _pRpcMessage,
  3349. DWORD *_pdwStubPhase);
  3350. SCODE STDMETHODCALLTYPE IPropertyMapper_PropidToProperty_Proxy(
  3351. IPropertyMapper * This,
  3352. /* [in] */ PROPID pid,
  3353. /* [out] */ FULLPROPSPEC **ppPropSpec);
  3354. void __RPC_STUB IPropertyMapper_PropidToProperty_Stub(
  3355. IRpcStubBuffer *This,
  3356. IRpcChannelBuffer *_pRpcChannelBuffer,
  3357. PRPC_MESSAGE _pRpcMessage,
  3358. DWORD *_pdwStubPhase);
  3359. #endif /* __IPropertyMapper_INTERFACE_DEFINED__ */
  3360. #ifndef __ICiCDocStoreLocator_INTERFACE_DEFINED__
  3361. #define __ICiCDocStoreLocator_INTERFACE_DEFINED__
  3362. /* interface ICiCDocStoreLocator */
  3363. /* [unique][uuid][object][local] */
  3364. EXTERN_C const IID IID_ICiCDocStoreLocator;
  3365. #if defined(__cplusplus) && !defined(CINTERFACE)
  3366. MIDL_INTERFACE("97EE7C06-5908-11D0-8C9B-0020AF1D740E")
  3367. ICiCDocStoreLocator : public IUnknown
  3368. {
  3369. public:
  3370. virtual SCODE STDMETHODCALLTYPE LookUpDocStore(
  3371. /* [in] */ IDBProperties *pIDBProperties,
  3372. /* [out] */ ICiCDocStore **ppICiCDocStore,
  3373. /* [in] */ BOOL fMustAlreadyBeOpen) = 0;
  3374. virtual SCODE STDMETHODCALLTYPE Shutdown( void) = 0;
  3375. virtual SCODE STDMETHODCALLTYPE GetDocStoreState(
  3376. /* [in] */ const WCHAR *pwcDocStore,
  3377. /* [out] */ ICiCDocStore **ppICiCDocStore,
  3378. /* [out] */ DWORD *pdwState) = 0;
  3379. virtual SCODE STDMETHODCALLTYPE IsMarkedReadOnly(
  3380. /* [in] */ const WCHAR *wcsCat,
  3381. /* [out] */ BOOL *pfReadOnly) = 0;
  3382. virtual SCODE STDMETHODCALLTYPE IsVolumeOrDirRO(
  3383. /* [in] */ const WCHAR *wcsCat,
  3384. /* [out] */ BOOL *pfReadOnly) = 0;
  3385. virtual SCODE STDMETHODCALLTYPE OpenAllDocStores( void) = 0;
  3386. virtual SCODE STDMETHODCALLTYPE StopCatalogsOnVol(
  3387. /* [in] */ WCHAR wcVol,
  3388. /* [in] */ void *pRequestQ) = 0;
  3389. virtual SCODE STDMETHODCALLTYPE StartCatalogsOnVol(
  3390. /* [in] */ WCHAR wcVol,
  3391. /* [in] */ void *pRequestQ) = 0;
  3392. virtual SCODE STDMETHODCALLTYPE AddStoppedCat(
  3393. /* [in] */ DWORD dwOldState,
  3394. /* [in] */ const WCHAR *wcsCatName) = 0;
  3395. };
  3396. #else /* C style interface */
  3397. typedef struct ICiCDocStoreLocatorVtbl
  3398. {
  3399. BEGIN_INTERFACE
  3400. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3401. ICiCDocStoreLocator * This,
  3402. /* [in] */ REFIID riid,
  3403. /* [iid_is][out] */ void **ppvObject);
  3404. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3405. ICiCDocStoreLocator * This);
  3406. ULONG ( STDMETHODCALLTYPE *Release )(
  3407. ICiCDocStoreLocator * This);
  3408. SCODE ( STDMETHODCALLTYPE *LookUpDocStore )(
  3409. ICiCDocStoreLocator * This,
  3410. /* [in] */ IDBProperties *pIDBProperties,
  3411. /* [out] */ ICiCDocStore **ppICiCDocStore,
  3412. /* [in] */ BOOL fMustAlreadyBeOpen);
  3413. SCODE ( STDMETHODCALLTYPE *Shutdown )(
  3414. ICiCDocStoreLocator * This);
  3415. SCODE ( STDMETHODCALLTYPE *GetDocStoreState )(
  3416. ICiCDocStoreLocator * This,
  3417. /* [in] */ const WCHAR *pwcDocStore,
  3418. /* [out] */ ICiCDocStore **ppICiCDocStore,
  3419. /* [out] */ DWORD *pdwState);
  3420. SCODE ( STDMETHODCALLTYPE *IsMarkedReadOnly )(
  3421. ICiCDocStoreLocator * This,
  3422. /* [in] */ const WCHAR *wcsCat,
  3423. /* [out] */ BOOL *pfReadOnly);
  3424. SCODE ( STDMETHODCALLTYPE *IsVolumeOrDirRO )(
  3425. ICiCDocStoreLocator * This,
  3426. /* [in] */ const WCHAR *wcsCat,
  3427. /* [out] */ BOOL *pfReadOnly);
  3428. SCODE ( STDMETHODCALLTYPE *OpenAllDocStores )(
  3429. ICiCDocStoreLocator * This);
  3430. SCODE ( STDMETHODCALLTYPE *StopCatalogsOnVol )(
  3431. ICiCDocStoreLocator * This,
  3432. /* [in] */ WCHAR wcVol,
  3433. /* [in] */ void *pRequestQ);
  3434. SCODE ( STDMETHODCALLTYPE *StartCatalogsOnVol )(
  3435. ICiCDocStoreLocator * This,
  3436. /* [in] */ WCHAR wcVol,
  3437. /* [in] */ void *pRequestQ);
  3438. SCODE ( STDMETHODCALLTYPE *AddStoppedCat )(
  3439. ICiCDocStoreLocator * This,
  3440. /* [in] */ DWORD dwOldState,
  3441. /* [in] */ const WCHAR *wcsCatName);
  3442. END_INTERFACE
  3443. } ICiCDocStoreLocatorVtbl;
  3444. interface ICiCDocStoreLocator
  3445. {
  3446. CONST_VTBL struct ICiCDocStoreLocatorVtbl *lpVtbl;
  3447. };
  3448. #ifdef COBJMACROS
  3449. #define ICiCDocStoreLocator_QueryInterface(This,riid,ppvObject) \
  3450. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3451. #define ICiCDocStoreLocator_AddRef(This) \
  3452. (This)->lpVtbl -> AddRef(This)
  3453. #define ICiCDocStoreLocator_Release(This) \
  3454. (This)->lpVtbl -> Release(This)
  3455. #define ICiCDocStoreLocator_LookUpDocStore(This,pIDBProperties,ppICiCDocStore,fMustAlreadyBeOpen) \
  3456. (This)->lpVtbl -> LookUpDocStore(This,pIDBProperties,ppICiCDocStore,fMustAlreadyBeOpen)
  3457. #define ICiCDocStoreLocator_Shutdown(This) \
  3458. (This)->lpVtbl -> Shutdown(This)
  3459. #define ICiCDocStoreLocator_GetDocStoreState(This,pwcDocStore,ppICiCDocStore,pdwState) \
  3460. (This)->lpVtbl -> GetDocStoreState(This,pwcDocStore,ppICiCDocStore,pdwState)
  3461. #define ICiCDocStoreLocator_IsMarkedReadOnly(This,wcsCat,pfReadOnly) \
  3462. (This)->lpVtbl -> IsMarkedReadOnly(This,wcsCat,pfReadOnly)
  3463. #define ICiCDocStoreLocator_IsVolumeOrDirRO(This,wcsCat,pfReadOnly) \
  3464. (This)->lpVtbl -> IsVolumeOrDirRO(This,wcsCat,pfReadOnly)
  3465. #define ICiCDocStoreLocator_OpenAllDocStores(This) \
  3466. (This)->lpVtbl -> OpenAllDocStores(This)
  3467. #define ICiCDocStoreLocator_StopCatalogsOnVol(This,wcVol,pRequestQ) \
  3468. (This)->lpVtbl -> StopCatalogsOnVol(This,wcVol,pRequestQ)
  3469. #define ICiCDocStoreLocator_StartCatalogsOnVol(This,wcVol,pRequestQ) \
  3470. (This)->lpVtbl -> StartCatalogsOnVol(This,wcVol,pRequestQ)
  3471. #define ICiCDocStoreLocator_AddStoppedCat(This,dwOldState,wcsCatName) \
  3472. (This)->lpVtbl -> AddStoppedCat(This,dwOldState,wcsCatName)
  3473. #endif /* COBJMACROS */
  3474. #endif /* C style interface */
  3475. SCODE STDMETHODCALLTYPE ICiCDocStoreLocator_LookUpDocStore_Proxy(
  3476. ICiCDocStoreLocator * This,
  3477. /* [in] */ IDBProperties *pIDBProperties,
  3478. /* [out] */ ICiCDocStore **ppICiCDocStore,
  3479. /* [in] */ BOOL fMustAlreadyBeOpen);
  3480. void __RPC_STUB ICiCDocStoreLocator_LookUpDocStore_Stub(
  3481. IRpcStubBuffer *This,
  3482. IRpcChannelBuffer *_pRpcChannelBuffer,
  3483. PRPC_MESSAGE _pRpcMessage,
  3484. DWORD *_pdwStubPhase);
  3485. SCODE STDMETHODCALLTYPE ICiCDocStoreLocator_Shutdown_Proxy(
  3486. ICiCDocStoreLocator * This);
  3487. void __RPC_STUB ICiCDocStoreLocator_Shutdown_Stub(
  3488. IRpcStubBuffer *This,
  3489. IRpcChannelBuffer *_pRpcChannelBuffer,
  3490. PRPC_MESSAGE _pRpcMessage,
  3491. DWORD *_pdwStubPhase);
  3492. SCODE STDMETHODCALLTYPE ICiCDocStoreLocator_GetDocStoreState_Proxy(
  3493. ICiCDocStoreLocator * This,
  3494. /* [in] */ const WCHAR *pwcDocStore,
  3495. /* [out] */ ICiCDocStore **ppICiCDocStore,
  3496. /* [out] */ DWORD *pdwState);
  3497. void __RPC_STUB ICiCDocStoreLocator_GetDocStoreState_Stub(
  3498. IRpcStubBuffer *This,
  3499. IRpcChannelBuffer *_pRpcChannelBuffer,
  3500. PRPC_MESSAGE _pRpcMessage,
  3501. DWORD *_pdwStubPhase);
  3502. SCODE STDMETHODCALLTYPE ICiCDocStoreLocator_IsMarkedReadOnly_Proxy(
  3503. ICiCDocStoreLocator * This,
  3504. /* [in] */ const WCHAR *wcsCat,
  3505. /* [out] */ BOOL *pfReadOnly);
  3506. void __RPC_STUB ICiCDocStoreLocator_IsMarkedReadOnly_Stub(
  3507. IRpcStubBuffer *This,
  3508. IRpcChannelBuffer *_pRpcChannelBuffer,
  3509. PRPC_MESSAGE _pRpcMessage,
  3510. DWORD *_pdwStubPhase);
  3511. SCODE STDMETHODCALLTYPE ICiCDocStoreLocator_IsVolumeOrDirRO_Proxy(
  3512. ICiCDocStoreLocator * This,
  3513. /* [in] */ const WCHAR *wcsCat,
  3514. /* [out] */ BOOL *pfReadOnly);
  3515. void __RPC_STUB ICiCDocStoreLocator_IsVolumeOrDirRO_Stub(
  3516. IRpcStubBuffer *This,
  3517. IRpcChannelBuffer *_pRpcChannelBuffer,
  3518. PRPC_MESSAGE _pRpcMessage,
  3519. DWORD *_pdwStubPhase);
  3520. SCODE STDMETHODCALLTYPE ICiCDocStoreLocator_OpenAllDocStores_Proxy(
  3521. ICiCDocStoreLocator * This);
  3522. void __RPC_STUB ICiCDocStoreLocator_OpenAllDocStores_Stub(
  3523. IRpcStubBuffer *This,
  3524. IRpcChannelBuffer *_pRpcChannelBuffer,
  3525. PRPC_MESSAGE _pRpcMessage,
  3526. DWORD *_pdwStubPhase);
  3527. SCODE STDMETHODCALLTYPE ICiCDocStoreLocator_StopCatalogsOnVol_Proxy(
  3528. ICiCDocStoreLocator * This,
  3529. /* [in] */ WCHAR wcVol,
  3530. /* [in] */ void *pRequestQ);
  3531. void __RPC_STUB ICiCDocStoreLocator_StopCatalogsOnVol_Stub(
  3532. IRpcStubBuffer *This,
  3533. IRpcChannelBuffer *_pRpcChannelBuffer,
  3534. PRPC_MESSAGE _pRpcMessage,
  3535. DWORD *_pdwStubPhase);
  3536. SCODE STDMETHODCALLTYPE ICiCDocStoreLocator_StartCatalogsOnVol_Proxy(
  3537. ICiCDocStoreLocator * This,
  3538. /* [in] */ WCHAR wcVol,
  3539. /* [in] */ void *pRequestQ);
  3540. void __RPC_STUB ICiCDocStoreLocator_StartCatalogsOnVol_Stub(
  3541. IRpcStubBuffer *This,
  3542. IRpcChannelBuffer *_pRpcChannelBuffer,
  3543. PRPC_MESSAGE _pRpcMessage,
  3544. DWORD *_pdwStubPhase);
  3545. SCODE STDMETHODCALLTYPE ICiCDocStoreLocator_AddStoppedCat_Proxy(
  3546. ICiCDocStoreLocator * This,
  3547. /* [in] */ DWORD dwOldState,
  3548. /* [in] */ const WCHAR *wcsCatName);
  3549. void __RPC_STUB ICiCDocStoreLocator_AddStoppedCat_Stub(
  3550. IRpcStubBuffer *This,
  3551. IRpcChannelBuffer *_pRpcChannelBuffer,
  3552. PRPC_MESSAGE _pRpcMessage,
  3553. DWORD *_pdwStubPhase);
  3554. #endif /* __ICiCDocStoreLocator_INTERFACE_DEFINED__ */
  3555. /* interface __MIDL_itf_ciintf_0146 */
  3556. /* [local] */
  3557. typedef struct tagDBCOMMANDTREE DBCOMMANDTREE;
  3558. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0146_v0_0_c_ifspec;
  3559. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0146_v0_0_s_ifspec;
  3560. #ifndef __ICiISearchCreator_INTERFACE_DEFINED__
  3561. #define __ICiISearchCreator_INTERFACE_DEFINED__
  3562. /* interface ICiISearchCreator */
  3563. /* [unique][uuid][object][local] */
  3564. EXTERN_C const IID IID_ICiISearchCreator;
  3565. #if defined(__cplusplus) && !defined(CINTERFACE)
  3566. MIDL_INTERFACE("7DC07FA0-902E-11D0-A80C-00A0C906241A")
  3567. ICiISearchCreator : public IUnknown
  3568. {
  3569. public:
  3570. virtual SCODE STDMETHODCALLTYPE CreateISearch(
  3571. /* [in] */ DBCOMMANDTREE *pRst,
  3572. /* [in] */ ICiCLangRes *pILangRes,
  3573. /* [in] */ ICiCOpenedDoc *pOpenedDoc,
  3574. /* [out] */ ISearchQueryHits **ppISearch) = 0;
  3575. };
  3576. #else /* C style interface */
  3577. typedef struct ICiISearchCreatorVtbl
  3578. {
  3579. BEGIN_INTERFACE
  3580. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3581. ICiISearchCreator * This,
  3582. /* [in] */ REFIID riid,
  3583. /* [iid_is][out] */ void **ppvObject);
  3584. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3585. ICiISearchCreator * This);
  3586. ULONG ( STDMETHODCALLTYPE *Release )(
  3587. ICiISearchCreator * This);
  3588. SCODE ( STDMETHODCALLTYPE *CreateISearch )(
  3589. ICiISearchCreator * This,
  3590. /* [in] */ DBCOMMANDTREE *pRst,
  3591. /* [in] */ ICiCLangRes *pILangRes,
  3592. /* [in] */ ICiCOpenedDoc *pOpenedDoc,
  3593. /* [out] */ ISearchQueryHits **ppISearch);
  3594. END_INTERFACE
  3595. } ICiISearchCreatorVtbl;
  3596. interface ICiISearchCreator
  3597. {
  3598. CONST_VTBL struct ICiISearchCreatorVtbl *lpVtbl;
  3599. };
  3600. #ifdef COBJMACROS
  3601. #define ICiISearchCreator_QueryInterface(This,riid,ppvObject) \
  3602. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3603. #define ICiISearchCreator_AddRef(This) \
  3604. (This)->lpVtbl -> AddRef(This)
  3605. #define ICiISearchCreator_Release(This) \
  3606. (This)->lpVtbl -> Release(This)
  3607. #define ICiISearchCreator_CreateISearch(This,pRst,pILangRes,pOpenedDoc,ppISearch) \
  3608. (This)->lpVtbl -> CreateISearch(This,pRst,pILangRes,pOpenedDoc,ppISearch)
  3609. #endif /* COBJMACROS */
  3610. #endif /* C style interface */
  3611. SCODE STDMETHODCALLTYPE ICiISearchCreator_CreateISearch_Proxy(
  3612. ICiISearchCreator * This,
  3613. /* [in] */ DBCOMMANDTREE *pRst,
  3614. /* [in] */ ICiCLangRes *pILangRes,
  3615. /* [in] */ ICiCOpenedDoc *pOpenedDoc,
  3616. /* [out] */ ISearchQueryHits **ppISearch);
  3617. void __RPC_STUB ICiISearchCreator_CreateISearch_Stub(
  3618. IRpcStubBuffer *This,
  3619. IRpcChannelBuffer *_pRpcChannelBuffer,
  3620. PRPC_MESSAGE _pRpcMessage,
  3621. DWORD *_pdwStubPhase);
  3622. #endif /* __ICiISearchCreator_INTERFACE_DEFINED__ */
  3623. /* interface __MIDL_itf_ciintf_0147 */
  3624. /* [local] */
  3625. #define CLSID_NLCiControl { 0x47c67b50,0x70b5,0x11d0,{0xa8, 0x08, 0x00, 0xa0, 0xc9, 0x06, 0x24, 0x1a}}
  3626. #define CLSID_CiControl { 0x1e9685e6, 0xdb6d, 0x11d0, {0xbb, 0x63, 0x0, 0xc0, 0x4f, 0xc2, 0xf4, 0x10 }}
  3627. #define CLSID_ISearchCreator {0x1F247DC0, 0x902E, 0x11D0, {0xA8,0x0C,0x00,0xA0,0xC9,0x06,0x24,0x1A} }
  3628. #define CLSID_TextIFilter {0xC1243CA0, 0xBF96, 0x11CD, {0xB5,0x79,0x08,0x00,0x2B,0x30,0xBF,0xEB } }
  3629. #define GUID_Characterization {0xD1B5D3F0, 0xC0B3, 0x11CF, {0x9A,0x92,0x00,0xA0,0xC9,0x08,0xDB,0xF1 } }
  3630. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0147_v0_0_c_ifspec;
  3631. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0147_v0_0_s_ifspec;
  3632. #ifndef __ICiIndexNotification_INTERFACE_DEFINED__
  3633. #define __ICiIndexNotification_INTERFACE_DEFINED__
  3634. /* interface ICiIndexNotification */
  3635. /* [unique][uuid][object][local] */
  3636. EXTERN_C const IID IID_ICiIndexNotification;
  3637. #if defined(__cplusplus) && !defined(CINTERFACE)
  3638. MIDL_INTERFACE("4F2CD6E0-8E74-11D0-8D69-00A0C908DBF1")
  3639. ICiIndexNotification : public IUnknown
  3640. {
  3641. public:
  3642. virtual SCODE STDMETHODCALLTYPE AddNotification(
  3643. /* [in] */ WORKID wid,
  3644. /* [in] */ ICiCIndexNotificationStatus *pIndexNotifStatus,
  3645. /* [out] */ ICiIndexNotificationEntry **ppIndexNotifEntry) = 0;
  3646. virtual SCODE STDMETHODCALLTYPE ModifyNotification(
  3647. /* [in] */ WORKID wid,
  3648. /* [in] */ ICiCIndexNotificationStatus *pIndexNotifStatus,
  3649. /* [out] */ ICiIndexNotificationEntry **ppIndexNotifEntry) = 0;
  3650. virtual SCODE STDMETHODCALLTYPE DeleteNotification(
  3651. /* [in] */ WORKID wid,
  3652. /* [in] */ ICiCIndexNotificationStatus *pIndexNotifStatus) = 0;
  3653. };
  3654. #else /* C style interface */
  3655. typedef struct ICiIndexNotificationVtbl
  3656. {
  3657. BEGIN_INTERFACE
  3658. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3659. ICiIndexNotification * This,
  3660. /* [in] */ REFIID riid,
  3661. /* [iid_is][out] */ void **ppvObject);
  3662. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3663. ICiIndexNotification * This);
  3664. ULONG ( STDMETHODCALLTYPE *Release )(
  3665. ICiIndexNotification * This);
  3666. SCODE ( STDMETHODCALLTYPE *AddNotification )(
  3667. ICiIndexNotification * This,
  3668. /* [in] */ WORKID wid,
  3669. /* [in] */ ICiCIndexNotificationStatus *pIndexNotifStatus,
  3670. /* [out] */ ICiIndexNotificationEntry **ppIndexNotifEntry);
  3671. SCODE ( STDMETHODCALLTYPE *ModifyNotification )(
  3672. ICiIndexNotification * This,
  3673. /* [in] */ WORKID wid,
  3674. /* [in] */ ICiCIndexNotificationStatus *pIndexNotifStatus,
  3675. /* [out] */ ICiIndexNotificationEntry **ppIndexNotifEntry);
  3676. SCODE ( STDMETHODCALLTYPE *DeleteNotification )(
  3677. ICiIndexNotification * This,
  3678. /* [in] */ WORKID wid,
  3679. /* [in] */ ICiCIndexNotificationStatus *pIndexNotifStatus);
  3680. END_INTERFACE
  3681. } ICiIndexNotificationVtbl;
  3682. interface ICiIndexNotification
  3683. {
  3684. CONST_VTBL struct ICiIndexNotificationVtbl *lpVtbl;
  3685. };
  3686. #ifdef COBJMACROS
  3687. #define ICiIndexNotification_QueryInterface(This,riid,ppvObject) \
  3688. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3689. #define ICiIndexNotification_AddRef(This) \
  3690. (This)->lpVtbl -> AddRef(This)
  3691. #define ICiIndexNotification_Release(This) \
  3692. (This)->lpVtbl -> Release(This)
  3693. #define ICiIndexNotification_AddNotification(This,wid,pIndexNotifStatus,ppIndexNotifEntry) \
  3694. (This)->lpVtbl -> AddNotification(This,wid,pIndexNotifStatus,ppIndexNotifEntry)
  3695. #define ICiIndexNotification_ModifyNotification(This,wid,pIndexNotifStatus,ppIndexNotifEntry) \
  3696. (This)->lpVtbl -> ModifyNotification(This,wid,pIndexNotifStatus,ppIndexNotifEntry)
  3697. #define ICiIndexNotification_DeleteNotification(This,wid,pIndexNotifStatus) \
  3698. (This)->lpVtbl -> DeleteNotification(This,wid,pIndexNotifStatus)
  3699. #endif /* COBJMACROS */
  3700. #endif /* C style interface */
  3701. SCODE STDMETHODCALLTYPE ICiIndexNotification_AddNotification_Proxy(
  3702. ICiIndexNotification * This,
  3703. /* [in] */ WORKID wid,
  3704. /* [in] */ ICiCIndexNotificationStatus *pIndexNotifStatus,
  3705. /* [out] */ ICiIndexNotificationEntry **ppIndexNotifEntry);
  3706. void __RPC_STUB ICiIndexNotification_AddNotification_Stub(
  3707. IRpcStubBuffer *This,
  3708. IRpcChannelBuffer *_pRpcChannelBuffer,
  3709. PRPC_MESSAGE _pRpcMessage,
  3710. DWORD *_pdwStubPhase);
  3711. SCODE STDMETHODCALLTYPE ICiIndexNotification_ModifyNotification_Proxy(
  3712. ICiIndexNotification * This,
  3713. /* [in] */ WORKID wid,
  3714. /* [in] */ ICiCIndexNotificationStatus *pIndexNotifStatus,
  3715. /* [out] */ ICiIndexNotificationEntry **ppIndexNotifEntry);
  3716. void __RPC_STUB ICiIndexNotification_ModifyNotification_Stub(
  3717. IRpcStubBuffer *This,
  3718. IRpcChannelBuffer *_pRpcChannelBuffer,
  3719. PRPC_MESSAGE _pRpcMessage,
  3720. DWORD *_pdwStubPhase);
  3721. SCODE STDMETHODCALLTYPE ICiIndexNotification_DeleteNotification_Proxy(
  3722. ICiIndexNotification * This,
  3723. /* [in] */ WORKID wid,
  3724. /* [in] */ ICiCIndexNotificationStatus *pIndexNotifStatus);
  3725. void __RPC_STUB ICiIndexNotification_DeleteNotification_Stub(
  3726. IRpcStubBuffer *This,
  3727. IRpcChannelBuffer *_pRpcChannelBuffer,
  3728. PRPC_MESSAGE _pRpcMessage,
  3729. DWORD *_pdwStubPhase);
  3730. #endif /* __ICiIndexNotification_INTERFACE_DEFINED__ */
  3731. #ifndef __ICiIndexNotificationEntry_INTERFACE_DEFINED__
  3732. #define __ICiIndexNotificationEntry_INTERFACE_DEFINED__
  3733. /* interface ICiIndexNotificationEntry */
  3734. /* [unique][uuid][object][local] */
  3735. EXTERN_C const IID IID_ICiIndexNotificationEntry;
  3736. #if defined(__cplusplus) && !defined(CINTERFACE)
  3737. MIDL_INTERFACE("210769D0-8E75-11D0-8D69-00A0C908DBF1")
  3738. ICiIndexNotificationEntry : public IUnknown
  3739. {
  3740. public:
  3741. virtual SCODE STDMETHODCALLTYPE AddText(
  3742. /* [in] */ const STAT_CHUNK *pStatChunk,
  3743. /* [in] */ const WCHAR *pwszText) = 0;
  3744. virtual SCODE STDMETHODCALLTYPE AddProperty(
  3745. /* [in] */ const STAT_CHUNK *pStatChunk,
  3746. /* [in] */ const PROPVARIANT *pPropVariant) = 0;
  3747. virtual SCODE STDMETHODCALLTYPE AddCompleted(
  3748. /* [in] */ ULONG fAbort) = 0;
  3749. };
  3750. #else /* C style interface */
  3751. typedef struct ICiIndexNotificationEntryVtbl
  3752. {
  3753. BEGIN_INTERFACE
  3754. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3755. ICiIndexNotificationEntry * This,
  3756. /* [in] */ REFIID riid,
  3757. /* [iid_is][out] */ void **ppvObject);
  3758. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3759. ICiIndexNotificationEntry * This);
  3760. ULONG ( STDMETHODCALLTYPE *Release )(
  3761. ICiIndexNotificationEntry * This);
  3762. SCODE ( STDMETHODCALLTYPE *AddText )(
  3763. ICiIndexNotificationEntry * This,
  3764. /* [in] */ const STAT_CHUNK *pStatChunk,
  3765. /* [in] */ const WCHAR *pwszText);
  3766. SCODE ( STDMETHODCALLTYPE *AddProperty )(
  3767. ICiIndexNotificationEntry * This,
  3768. /* [in] */ const STAT_CHUNK *pStatChunk,
  3769. /* [in] */ const PROPVARIANT *pPropVariant);
  3770. SCODE ( STDMETHODCALLTYPE *AddCompleted )(
  3771. ICiIndexNotificationEntry * This,
  3772. /* [in] */ ULONG fAbort);
  3773. END_INTERFACE
  3774. } ICiIndexNotificationEntryVtbl;
  3775. interface ICiIndexNotificationEntry
  3776. {
  3777. CONST_VTBL struct ICiIndexNotificationEntryVtbl *lpVtbl;
  3778. };
  3779. #ifdef COBJMACROS
  3780. #define ICiIndexNotificationEntry_QueryInterface(This,riid,ppvObject) \
  3781. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3782. #define ICiIndexNotificationEntry_AddRef(This) \
  3783. (This)->lpVtbl -> AddRef(This)
  3784. #define ICiIndexNotificationEntry_Release(This) \
  3785. (This)->lpVtbl -> Release(This)
  3786. #define ICiIndexNotificationEntry_AddText(This,pStatChunk,pwszText) \
  3787. (This)->lpVtbl -> AddText(This,pStatChunk,pwszText)
  3788. #define ICiIndexNotificationEntry_AddProperty(This,pStatChunk,pPropVariant) \
  3789. (This)->lpVtbl -> AddProperty(This,pStatChunk,pPropVariant)
  3790. #define ICiIndexNotificationEntry_AddCompleted(This,fAbort) \
  3791. (This)->lpVtbl -> AddCompleted(This,fAbort)
  3792. #endif /* COBJMACROS */
  3793. #endif /* C style interface */
  3794. SCODE STDMETHODCALLTYPE ICiIndexNotificationEntry_AddText_Proxy(
  3795. ICiIndexNotificationEntry * This,
  3796. /* [in] */ const STAT_CHUNK *pStatChunk,
  3797. /* [in] */ const WCHAR *pwszText);
  3798. void __RPC_STUB ICiIndexNotificationEntry_AddText_Stub(
  3799. IRpcStubBuffer *This,
  3800. IRpcChannelBuffer *_pRpcChannelBuffer,
  3801. PRPC_MESSAGE _pRpcMessage,
  3802. DWORD *_pdwStubPhase);
  3803. SCODE STDMETHODCALLTYPE ICiIndexNotificationEntry_AddProperty_Proxy(
  3804. ICiIndexNotificationEntry * This,
  3805. /* [in] */ const STAT_CHUNK *pStatChunk,
  3806. /* [in] */ const PROPVARIANT *pPropVariant);
  3807. void __RPC_STUB ICiIndexNotificationEntry_AddProperty_Stub(
  3808. IRpcStubBuffer *This,
  3809. IRpcChannelBuffer *_pRpcChannelBuffer,
  3810. PRPC_MESSAGE _pRpcMessage,
  3811. DWORD *_pdwStubPhase);
  3812. SCODE STDMETHODCALLTYPE ICiIndexNotificationEntry_AddCompleted_Proxy(
  3813. ICiIndexNotificationEntry * This,
  3814. /* [in] */ ULONG fAbort);
  3815. void __RPC_STUB ICiIndexNotificationEntry_AddCompleted_Stub(
  3816. IRpcStubBuffer *This,
  3817. IRpcChannelBuffer *_pRpcChannelBuffer,
  3818. PRPC_MESSAGE _pRpcMessage,
  3819. DWORD *_pdwStubPhase);
  3820. #endif /* __ICiIndexNotificationEntry_INTERFACE_DEFINED__ */
  3821. #ifndef __ICiCIndexNotificationStatus_INTERFACE_DEFINED__
  3822. #define __ICiCIndexNotificationStatus_INTERFACE_DEFINED__
  3823. /* interface ICiCIndexNotificationStatus */
  3824. /* [unique][uuid][object][local] */
  3825. EXTERN_C const IID IID_ICiCIndexNotificationStatus;
  3826. #if defined(__cplusplus) && !defined(CINTERFACE)
  3827. MIDL_INTERFACE("5FFF3840-8E76-11D0-8D69-00A0C908DBF1")
  3828. ICiCIndexNotificationStatus : public IUnknown
  3829. {
  3830. public:
  3831. virtual SCODE STDMETHODCALLTYPE Commit( void) = 0;
  3832. virtual SCODE STDMETHODCALLTYPE Abort( void) = 0;
  3833. };
  3834. #else /* C style interface */
  3835. typedef struct ICiCIndexNotificationStatusVtbl
  3836. {
  3837. BEGIN_INTERFACE
  3838. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3839. ICiCIndexNotificationStatus * This,
  3840. /* [in] */ REFIID riid,
  3841. /* [iid_is][out] */ void **ppvObject);
  3842. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3843. ICiCIndexNotificationStatus * This);
  3844. ULONG ( STDMETHODCALLTYPE *Release )(
  3845. ICiCIndexNotificationStatus * This);
  3846. SCODE ( STDMETHODCALLTYPE *Commit )(
  3847. ICiCIndexNotificationStatus * This);
  3848. SCODE ( STDMETHODCALLTYPE *Abort )(
  3849. ICiCIndexNotificationStatus * This);
  3850. END_INTERFACE
  3851. } ICiCIndexNotificationStatusVtbl;
  3852. interface ICiCIndexNotificationStatus
  3853. {
  3854. CONST_VTBL struct ICiCIndexNotificationStatusVtbl *lpVtbl;
  3855. };
  3856. #ifdef COBJMACROS
  3857. #define ICiCIndexNotificationStatus_QueryInterface(This,riid,ppvObject) \
  3858. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3859. #define ICiCIndexNotificationStatus_AddRef(This) \
  3860. (This)->lpVtbl -> AddRef(This)
  3861. #define ICiCIndexNotificationStatus_Release(This) \
  3862. (This)->lpVtbl -> Release(This)
  3863. #define ICiCIndexNotificationStatus_Commit(This) \
  3864. (This)->lpVtbl -> Commit(This)
  3865. #define ICiCIndexNotificationStatus_Abort(This) \
  3866. (This)->lpVtbl -> Abort(This)
  3867. #endif /* COBJMACROS */
  3868. #endif /* C style interface */
  3869. SCODE STDMETHODCALLTYPE ICiCIndexNotificationStatus_Commit_Proxy(
  3870. ICiCIndexNotificationStatus * This);
  3871. void __RPC_STUB ICiCIndexNotificationStatus_Commit_Stub(
  3872. IRpcStubBuffer *This,
  3873. IRpcChannelBuffer *_pRpcChannelBuffer,
  3874. PRPC_MESSAGE _pRpcMessage,
  3875. DWORD *_pdwStubPhase);
  3876. SCODE STDMETHODCALLTYPE ICiCIndexNotificationStatus_Abort_Proxy(
  3877. ICiCIndexNotificationStatus * This);
  3878. void __RPC_STUB ICiCIndexNotificationStatus_Abort_Stub(
  3879. IRpcStubBuffer *This,
  3880. IRpcChannelBuffer *_pRpcChannelBuffer,
  3881. PRPC_MESSAGE _pRpcMessage,
  3882. DWORD *_pdwStubPhase);
  3883. #endif /* __ICiCIndexNotificationStatus_INTERFACE_DEFINED__ */
  3884. /* interface __MIDL_itf_ciintf_0150 */
  3885. /* [local] */
  3886. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0150_v0_0_c_ifspec;
  3887. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0150_v0_0_s_ifspec;
  3888. #ifndef __ISimpleCommandCreator_INTERFACE_DEFINED__
  3889. #define __ISimpleCommandCreator_INTERFACE_DEFINED__
  3890. /* interface ISimpleCommandCreator */
  3891. /* [unique][uuid][object][local] */
  3892. EXTERN_C const IID IID_ISimpleCommandCreator;
  3893. #if defined(__cplusplus) && !defined(CINTERFACE)
  3894. MIDL_INTERFACE("5e341ab7-02d0-11d1-900c-00a0c9063796")
  3895. ISimpleCommandCreator : public IUnknown
  3896. {
  3897. public:
  3898. virtual SCODE STDMETHODCALLTYPE CreateICommand(
  3899. IUnknown **ppIUnknown,
  3900. IUnknown *pOuterUnk) = 0;
  3901. virtual SCODE STDMETHODCALLTYPE VerifyCatalog(
  3902. const WCHAR *pwszMachine,
  3903. const WCHAR *pwszCatalogName) = 0;
  3904. virtual SCODE STDMETHODCALLTYPE GetDefaultCatalog(
  3905. WCHAR *pwszCatalogName,
  3906. ULONG cwcIn,
  3907. ULONG *pcwcOut) = 0;
  3908. };
  3909. #else /* C style interface */
  3910. typedef struct ISimpleCommandCreatorVtbl
  3911. {
  3912. BEGIN_INTERFACE
  3913. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3914. ISimpleCommandCreator * This,
  3915. /* [in] */ REFIID riid,
  3916. /* [iid_is][out] */ void **ppvObject);
  3917. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3918. ISimpleCommandCreator * This);
  3919. ULONG ( STDMETHODCALLTYPE *Release )(
  3920. ISimpleCommandCreator * This);
  3921. SCODE ( STDMETHODCALLTYPE *CreateICommand )(
  3922. ISimpleCommandCreator * This,
  3923. IUnknown **ppIUnknown,
  3924. IUnknown *pOuterUnk);
  3925. SCODE ( STDMETHODCALLTYPE *VerifyCatalog )(
  3926. ISimpleCommandCreator * This,
  3927. const WCHAR *pwszMachine,
  3928. const WCHAR *pwszCatalogName);
  3929. SCODE ( STDMETHODCALLTYPE *GetDefaultCatalog )(
  3930. ISimpleCommandCreator * This,
  3931. WCHAR *pwszCatalogName,
  3932. ULONG cwcIn,
  3933. ULONG *pcwcOut);
  3934. END_INTERFACE
  3935. } ISimpleCommandCreatorVtbl;
  3936. interface ISimpleCommandCreator
  3937. {
  3938. CONST_VTBL struct ISimpleCommandCreatorVtbl *lpVtbl;
  3939. };
  3940. #ifdef COBJMACROS
  3941. #define ISimpleCommandCreator_QueryInterface(This,riid,ppvObject) \
  3942. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3943. #define ISimpleCommandCreator_AddRef(This) \
  3944. (This)->lpVtbl -> AddRef(This)
  3945. #define ISimpleCommandCreator_Release(This) \
  3946. (This)->lpVtbl -> Release(This)
  3947. #define ISimpleCommandCreator_CreateICommand(This,ppIUnknown,pOuterUnk) \
  3948. (This)->lpVtbl -> CreateICommand(This,ppIUnknown,pOuterUnk)
  3949. #define ISimpleCommandCreator_VerifyCatalog(This,pwszMachine,pwszCatalogName) \
  3950. (This)->lpVtbl -> VerifyCatalog(This,pwszMachine,pwszCatalogName)
  3951. #define ISimpleCommandCreator_GetDefaultCatalog(This,pwszCatalogName,cwcIn,pcwcOut) \
  3952. (This)->lpVtbl -> GetDefaultCatalog(This,pwszCatalogName,cwcIn,pcwcOut)
  3953. #endif /* COBJMACROS */
  3954. #endif /* C style interface */
  3955. SCODE STDMETHODCALLTYPE ISimpleCommandCreator_CreateICommand_Proxy(
  3956. ISimpleCommandCreator * This,
  3957. IUnknown **ppIUnknown,
  3958. IUnknown *pOuterUnk);
  3959. void __RPC_STUB ISimpleCommandCreator_CreateICommand_Stub(
  3960. IRpcStubBuffer *This,
  3961. IRpcChannelBuffer *_pRpcChannelBuffer,
  3962. PRPC_MESSAGE _pRpcMessage,
  3963. DWORD *_pdwStubPhase);
  3964. SCODE STDMETHODCALLTYPE ISimpleCommandCreator_VerifyCatalog_Proxy(
  3965. ISimpleCommandCreator * This,
  3966. const WCHAR *pwszMachine,
  3967. const WCHAR *pwszCatalogName);
  3968. void __RPC_STUB ISimpleCommandCreator_VerifyCatalog_Stub(
  3969. IRpcStubBuffer *This,
  3970. IRpcChannelBuffer *_pRpcChannelBuffer,
  3971. PRPC_MESSAGE _pRpcMessage,
  3972. DWORD *_pdwStubPhase);
  3973. SCODE STDMETHODCALLTYPE ISimpleCommandCreator_GetDefaultCatalog_Proxy(
  3974. ISimpleCommandCreator * This,
  3975. WCHAR *pwszCatalogName,
  3976. ULONG cwcIn,
  3977. ULONG *pcwcOut);
  3978. void __RPC_STUB ISimpleCommandCreator_GetDefaultCatalog_Stub(
  3979. IRpcStubBuffer *This,
  3980. IRpcChannelBuffer *_pRpcChannelBuffer,
  3981. PRPC_MESSAGE _pRpcMessage,
  3982. DWORD *_pdwStubPhase);
  3983. #endif /* __ISimpleCommandCreator_INTERFACE_DEFINED__ */
  3984. /* interface __MIDL_itf_ciintf_0151 */
  3985. /* [local] */
  3986. #define CLSID_CISimpleCommandCreator {0xc7b6c04a, 0xcbb5, 0x11d0, {0xbb, 0x4c, 0x0, 0xc0, 0x4f, 0xc2, 0xf4, 0x10 } }
  3987. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0151_v0_0_c_ifspec;
  3988. extern RPC_IF_HANDLE __MIDL_itf_ciintf_0151_v0_0_s_ifspec;
  3989. #ifndef __ICiCScope_INTERFACE_DEFINED__
  3990. #define __ICiCScope_INTERFACE_DEFINED__
  3991. /* interface ICiCScope */
  3992. /* [unique][uuid][object][local] */
  3993. EXTERN_C const IID IID_ICiCScope;
  3994. #if defined(__cplusplus) && !defined(CINTERFACE)
  3995. MIDL_INTERFACE("1021C882-3CC0-11D0-8C90-0020AF1D740E")
  3996. ICiCScope : public IUnknown
  3997. {
  3998. public:
  3999. virtual SCODE STDMETHODCALLTYPE Init(
  4000. /* [in] */ ULONG cbData,
  4001. /* [size_is][in] */ const BYTE *pbData) = 0;
  4002. virtual SCODE STDMETHODCALLTYPE Clear( void) = 0;
  4003. virtual SCODE STDMETHODCALLTYPE IsValid( void) = 0;
  4004. virtual SCODE STDMETHODCALLTYPE QueryScope(
  4005. /* [out] */ ICiCScope **ppICiCScope) = 0;
  4006. virtual SCODE STDMETHODCALLTYPE GetScope(
  4007. /* [size_is][out] */ BYTE *pbScope,
  4008. /* [out][in] */ ULONG *pcbData) = 0;
  4009. };
  4010. #else /* C style interface */
  4011. typedef struct ICiCScopeVtbl
  4012. {
  4013. BEGIN_INTERFACE
  4014. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4015. ICiCScope * This,
  4016. /* [in] */ REFIID riid,
  4017. /* [iid_is][out] */ void **ppvObject);
  4018. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4019. ICiCScope * This);
  4020. ULONG ( STDMETHODCALLTYPE *Release )(
  4021. ICiCScope * This);
  4022. SCODE ( STDMETHODCALLTYPE *Init )(
  4023. ICiCScope * This,
  4024. /* [in] */ ULONG cbData,
  4025. /* [size_is][in] */ const BYTE *pbData);
  4026. SCODE ( STDMETHODCALLTYPE *Clear )(
  4027. ICiCScope * This);
  4028. SCODE ( STDMETHODCALLTYPE *IsValid )(
  4029. ICiCScope * This);
  4030. SCODE ( STDMETHODCALLTYPE *QueryScope )(
  4031. ICiCScope * This,
  4032. /* [out] */ ICiCScope **ppICiCScope);
  4033. SCODE ( STDMETHODCALLTYPE *GetScope )(
  4034. ICiCScope * This,
  4035. /* [size_is][out] */ BYTE *pbScope,
  4036. /* [out][in] */ ULONG *pcbData);
  4037. END_INTERFACE
  4038. } ICiCScopeVtbl;
  4039. interface ICiCScope
  4040. {
  4041. CONST_VTBL struct ICiCScopeVtbl *lpVtbl;
  4042. };
  4043. #ifdef COBJMACROS
  4044. #define ICiCScope_QueryInterface(This,riid,ppvObject) \
  4045. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4046. #define ICiCScope_AddRef(This) \
  4047. (This)->lpVtbl -> AddRef(This)
  4048. #define ICiCScope_Release(This) \
  4049. (This)->lpVtbl -> Release(This)
  4050. #define ICiCScope_Init(This,cbData,pbData) \
  4051. (This)->lpVtbl -> Init(This,cbData,pbData)
  4052. #define ICiCScope_Clear(This) \
  4053. (This)->lpVtbl -> Clear(This)
  4054. #define ICiCScope_IsValid(This) \
  4055. (This)->lpVtbl -> IsValid(This)
  4056. #define ICiCScope_QueryScope(This,ppICiCScope) \
  4057. (This)->lpVtbl -> QueryScope(This,ppICiCScope)
  4058. #define ICiCScope_GetScope(This,pbScope,pcbData) \
  4059. (This)->lpVtbl -> GetScope(This,pbScope,pcbData)
  4060. #endif /* COBJMACROS */
  4061. #endif /* C style interface */
  4062. SCODE STDMETHODCALLTYPE ICiCScope_Init_Proxy(
  4063. ICiCScope * This,
  4064. /* [in] */ ULONG cbData,
  4065. /* [size_is][in] */ const BYTE *pbData);
  4066. void __RPC_STUB ICiCScope_Init_Stub(
  4067. IRpcStubBuffer *This,
  4068. IRpcChannelBuffer *_pRpcChannelBuffer,
  4069. PRPC_MESSAGE _pRpcMessage,
  4070. DWORD *_pdwStubPhase);
  4071. SCODE STDMETHODCALLTYPE ICiCScope_Clear_Proxy(
  4072. ICiCScope * This);
  4073. void __RPC_STUB ICiCScope_Clear_Stub(
  4074. IRpcStubBuffer *This,
  4075. IRpcChannelBuffer *_pRpcChannelBuffer,
  4076. PRPC_MESSAGE _pRpcMessage,
  4077. DWORD *_pdwStubPhase);
  4078. SCODE STDMETHODCALLTYPE ICiCScope_IsValid_Proxy(
  4079. ICiCScope * This);
  4080. void __RPC_STUB ICiCScope_IsValid_Stub(
  4081. IRpcStubBuffer *This,
  4082. IRpcChannelBuffer *_pRpcChannelBuffer,
  4083. PRPC_MESSAGE _pRpcMessage,
  4084. DWORD *_pdwStubPhase);
  4085. SCODE STDMETHODCALLTYPE ICiCScope_QueryScope_Proxy(
  4086. ICiCScope * This,
  4087. /* [out] */ ICiCScope **ppICiCScope);
  4088. void __RPC_STUB ICiCScope_QueryScope_Stub(
  4089. IRpcStubBuffer *This,
  4090. IRpcChannelBuffer *_pRpcChannelBuffer,
  4091. PRPC_MESSAGE _pRpcMessage,
  4092. DWORD *_pdwStubPhase);
  4093. SCODE STDMETHODCALLTYPE ICiCScope_GetScope_Proxy(
  4094. ICiCScope * This,
  4095. /* [size_is][out] */ BYTE *pbScope,
  4096. /* [out][in] */ ULONG *pcbData);
  4097. void __RPC_STUB ICiCScope_GetScope_Stub(
  4098. IRpcStubBuffer *This,
  4099. IRpcChannelBuffer *_pRpcChannelBuffer,
  4100. PRPC_MESSAGE _pRpcMessage,
  4101. DWORD *_pdwStubPhase);
  4102. #endif /* __ICiCScope_INTERFACE_DEFINED__ */
  4103. #ifndef __ICiCScopeChecker_INTERFACE_DEFINED__
  4104. #define __ICiCScopeChecker_INTERFACE_DEFINED__
  4105. /* interface ICiCScopeChecker */
  4106. /* [unique][uuid][object][local] */
  4107. EXTERN_C const IID IID_ICiCScopeChecker;
  4108. #if defined(__cplusplus) && !defined(CINTERFACE)
  4109. MIDL_INTERFACE("7D820C9C-3CBC-11D0-8C90-0020AF1D740E")
  4110. ICiCScopeChecker : public IUnknown
  4111. {
  4112. public:
  4113. virtual SCODE STDMETHODCALLTYPE IsWorkidInScope(
  4114. /* [in] */ const ICiCScope *pIScope,
  4115. /* [in] */ WORKID workId,
  4116. /* [out] */ BOOL *pfInScope) = 0;
  4117. virtual SCODE STDMETHODCALLTYPE IsDocNameInScope(
  4118. /* [in] */ const ICiCScope *pIScope,
  4119. /* [in] */ const ICiCDocName *pICiCDocName,
  4120. /* [out] */ BOOL *pfInScope) = 0;
  4121. };
  4122. #else /* C style interface */
  4123. typedef struct ICiCScopeCheckerVtbl
  4124. {
  4125. BEGIN_INTERFACE
  4126. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4127. ICiCScopeChecker * This,
  4128. /* [in] */ REFIID riid,
  4129. /* [iid_is][out] */ void **ppvObject);
  4130. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4131. ICiCScopeChecker * This);
  4132. ULONG ( STDMETHODCALLTYPE *Release )(
  4133. ICiCScopeChecker * This);
  4134. SCODE ( STDMETHODCALLTYPE *IsWorkidInScope )(
  4135. ICiCScopeChecker * This,
  4136. /* [in] */ const ICiCScope *pIScope,
  4137. /* [in] */ WORKID workId,
  4138. /* [out] */ BOOL *pfInScope);
  4139. SCODE ( STDMETHODCALLTYPE *IsDocNameInScope )(
  4140. ICiCScopeChecker * This,
  4141. /* [in] */ const ICiCScope *pIScope,
  4142. /* [in] */ const ICiCDocName *pICiCDocName,
  4143. /* [out] */ BOOL *pfInScope);
  4144. END_INTERFACE
  4145. } ICiCScopeCheckerVtbl;
  4146. interface ICiCScopeChecker
  4147. {
  4148. CONST_VTBL struct ICiCScopeCheckerVtbl *lpVtbl;
  4149. };
  4150. #ifdef COBJMACROS
  4151. #define ICiCScopeChecker_QueryInterface(This,riid,ppvObject) \
  4152. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4153. #define ICiCScopeChecker_AddRef(This) \
  4154. (This)->lpVtbl -> AddRef(This)
  4155. #define ICiCScopeChecker_Release(This) \
  4156. (This)->lpVtbl -> Release(This)
  4157. #define ICiCScopeChecker_IsWorkidInScope(This,pIScope,workId,pfInScope) \
  4158. (This)->lpVtbl -> IsWorkidInScope(This,pIScope,workId,pfInScope)
  4159. #define ICiCScopeChecker_IsDocNameInScope(This,pIScope,pICiCDocName,pfInScope) \
  4160. (This)->lpVtbl -> IsDocNameInScope(This,pIScope,pICiCDocName,pfInScope)
  4161. #endif /* COBJMACROS */
  4162. #endif /* C style interface */
  4163. SCODE STDMETHODCALLTYPE ICiCScopeChecker_IsWorkidInScope_Proxy(
  4164. ICiCScopeChecker * This,
  4165. /* [in] */ const ICiCScope *pIScope,
  4166. /* [in] */ WORKID workId,
  4167. /* [out] */ BOOL *pfInScope);
  4168. void __RPC_STUB ICiCScopeChecker_IsWorkidInScope_Stub(
  4169. IRpcStubBuffer *This,
  4170. IRpcChannelBuffer *_pRpcChannelBuffer,
  4171. PRPC_MESSAGE _pRpcMessage,
  4172. DWORD *_pdwStubPhase);
  4173. SCODE STDMETHODCALLTYPE ICiCScopeChecker_IsDocNameInScope_Proxy(
  4174. ICiCScopeChecker * This,
  4175. /* [in] */ const ICiCScope *pIScope,
  4176. /* [in] */ const ICiCDocName *pICiCDocName,
  4177. /* [out] */ BOOL *pfInScope);
  4178. void __RPC_STUB ICiCScopeChecker_IsDocNameInScope_Stub(
  4179. IRpcStubBuffer *This,
  4180. IRpcChannelBuffer *_pRpcChannelBuffer,
  4181. PRPC_MESSAGE _pRpcMessage,
  4182. DWORD *_pdwStubPhase);
  4183. #endif /* __ICiCScopeChecker_INTERFACE_DEFINED__ */
  4184. #ifndef __ICiCUserSecurity_INTERFACE_DEFINED__
  4185. #define __ICiCUserSecurity_INTERFACE_DEFINED__
  4186. /* interface ICiCUserSecurity */
  4187. /* [unique][uuid][object][local] */
  4188. EXTERN_C const IID IID_ICiCUserSecurity;
  4189. #if defined(__cplusplus) && !defined(CINTERFACE)
  4190. MIDL_INTERFACE("5D01D9CE-3CC2-11D0-8C90-0020AF1D740E")
  4191. ICiCUserSecurity : public IUnknown
  4192. {
  4193. public:
  4194. virtual SCODE STDMETHODCALLTYPE Init(
  4195. /* [in] */ ULONG cbData,
  4196. /* [size_is][in] */ const BYTE *pbData) = 0;
  4197. virtual SCODE STDMETHODCALLTYPE Clear( void) = 0;
  4198. virtual SCODE STDMETHODCALLTYPE IsValid(
  4199. /* [out] */ BOOL *pfValid) = 0;
  4200. virtual SCODE STDMETHODCALLTYPE GetSecurityInfo(
  4201. /* [size_is][out] */ BYTE *pbData,
  4202. /* [out][in] */ ULONG *pcbData) = 0;
  4203. };
  4204. #else /* C style interface */
  4205. typedef struct ICiCUserSecurityVtbl
  4206. {
  4207. BEGIN_INTERFACE
  4208. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4209. ICiCUserSecurity * This,
  4210. /* [in] */ REFIID riid,
  4211. /* [iid_is][out] */ void **ppvObject);
  4212. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4213. ICiCUserSecurity * This);
  4214. ULONG ( STDMETHODCALLTYPE *Release )(
  4215. ICiCUserSecurity * This);
  4216. SCODE ( STDMETHODCALLTYPE *Init )(
  4217. ICiCUserSecurity * This,
  4218. /* [in] */ ULONG cbData,
  4219. /* [size_is][in] */ const BYTE *pbData);
  4220. SCODE ( STDMETHODCALLTYPE *Clear )(
  4221. ICiCUserSecurity * This);
  4222. SCODE ( STDMETHODCALLTYPE *IsValid )(
  4223. ICiCUserSecurity * This,
  4224. /* [out] */ BOOL *pfValid);
  4225. SCODE ( STDMETHODCALLTYPE *GetSecurityInfo )(
  4226. ICiCUserSecurity * This,
  4227. /* [size_is][out] */ BYTE *pbData,
  4228. /* [out][in] */ ULONG *pcbData);
  4229. END_INTERFACE
  4230. } ICiCUserSecurityVtbl;
  4231. interface ICiCUserSecurity
  4232. {
  4233. CONST_VTBL struct ICiCUserSecurityVtbl *lpVtbl;
  4234. };
  4235. #ifdef COBJMACROS
  4236. #define ICiCUserSecurity_QueryInterface(This,riid,ppvObject) \
  4237. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4238. #define ICiCUserSecurity_AddRef(This) \
  4239. (This)->lpVtbl -> AddRef(This)
  4240. #define ICiCUserSecurity_Release(This) \
  4241. (This)->lpVtbl -> Release(This)
  4242. #define ICiCUserSecurity_Init(This,cbData,pbData) \
  4243. (This)->lpVtbl -> Init(This,cbData,pbData)
  4244. #define ICiCUserSecurity_Clear(This) \
  4245. (This)->lpVtbl -> Clear(This)
  4246. #define ICiCUserSecurity_IsValid(This,pfValid) \
  4247. (This)->lpVtbl -> IsValid(This,pfValid)
  4248. #define ICiCUserSecurity_GetSecurityInfo(This,pbData,pcbData) \
  4249. (This)->lpVtbl -> GetSecurityInfo(This,pbData,pcbData)
  4250. #endif /* COBJMACROS */
  4251. #endif /* C style interface */
  4252. SCODE STDMETHODCALLTYPE ICiCUserSecurity_Init_Proxy(
  4253. ICiCUserSecurity * This,
  4254. /* [in] */ ULONG cbData,
  4255. /* [size_is][in] */ const BYTE *pbData);
  4256. void __RPC_STUB ICiCUserSecurity_Init_Stub(
  4257. IRpcStubBuffer *This,
  4258. IRpcChannelBuffer *_pRpcChannelBuffer,
  4259. PRPC_MESSAGE _pRpcMessage,
  4260. DWORD *_pdwStubPhase);
  4261. SCODE STDMETHODCALLTYPE ICiCUserSecurity_Clear_Proxy(
  4262. ICiCUserSecurity * This);
  4263. void __RPC_STUB ICiCUserSecurity_Clear_Stub(
  4264. IRpcStubBuffer *This,
  4265. IRpcChannelBuffer *_pRpcChannelBuffer,
  4266. PRPC_MESSAGE _pRpcMessage,
  4267. DWORD *_pdwStubPhase);
  4268. SCODE STDMETHODCALLTYPE ICiCUserSecurity_IsValid_Proxy(
  4269. ICiCUserSecurity * This,
  4270. /* [out] */ BOOL *pfValid);
  4271. void __RPC_STUB ICiCUserSecurity_IsValid_Stub(
  4272. IRpcStubBuffer *This,
  4273. IRpcChannelBuffer *_pRpcChannelBuffer,
  4274. PRPC_MESSAGE _pRpcMessage,
  4275. DWORD *_pdwStubPhase);
  4276. SCODE STDMETHODCALLTYPE ICiCUserSecurity_GetSecurityInfo_Proxy(
  4277. ICiCUserSecurity * This,
  4278. /* [size_is][out] */ BYTE *pbData,
  4279. /* [out][in] */ ULONG *pcbData);
  4280. void __RPC_STUB ICiCUserSecurity_GetSecurityInfo_Stub(
  4281. IRpcStubBuffer *This,
  4282. IRpcChannelBuffer *_pRpcChannelBuffer,
  4283. PRPC_MESSAGE _pRpcMessage,
  4284. DWORD *_pdwStubPhase);
  4285. #endif /* __ICiCUserSecurity_INTERFACE_DEFINED__ */
  4286. #ifndef __ICiCSecurityChecker_INTERFACE_DEFINED__
  4287. #define __ICiCSecurityChecker_INTERFACE_DEFINED__
  4288. /* interface ICiCSecurityChecker */
  4289. /* [unique][uuid][object][local] */
  4290. EXTERN_C const IID IID_ICiCSecurityChecker;
  4291. #if defined(__cplusplus) && !defined(CINTERFACE)
  4292. MIDL_INTERFACE("CA130CF4-3CC2-11D0-8C90-0020AF1D740E")
  4293. ICiCSecurityChecker : public IUnknown
  4294. {
  4295. public:
  4296. virtual SCODE STDMETHODCALLTYPE AccessCheck(
  4297. /* [in] */ const ICiCUserSecurity *pICiCUserSecurity,
  4298. /* [in] */ SDID sdid,
  4299. /* [in] */ CI_ACCESS_MODE am,
  4300. /* [out] */ BOOL *pfGranted) = 0;
  4301. virtual SCODE STDMETHODCALLTYPE BulkAccessCheck(
  4302. /* [in] */ const ICiCUserSecurity *pICiCUserSecurity,
  4303. /* [in] */ ULONG nIds,
  4304. /* [size_is][in] */ const SDID *aSDID,
  4305. /* [size_is][in] */ const CI_ACCESS_MODE *pam,
  4306. /* [size_is][out] */ BOOL *afGranted) = 0;
  4307. };
  4308. #else /* C style interface */
  4309. typedef struct ICiCSecurityCheckerVtbl
  4310. {
  4311. BEGIN_INTERFACE
  4312. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4313. ICiCSecurityChecker * This,
  4314. /* [in] */ REFIID riid,
  4315. /* [iid_is][out] */ void **ppvObject);
  4316. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4317. ICiCSecurityChecker * This);
  4318. ULONG ( STDMETHODCALLTYPE *Release )(
  4319. ICiCSecurityChecker * This);
  4320. SCODE ( STDMETHODCALLTYPE *AccessCheck )(
  4321. ICiCSecurityChecker * This,
  4322. /* [in] */ const ICiCUserSecurity *pICiCUserSecurity,
  4323. /* [in] */ SDID sdid,
  4324. /* [in] */ CI_ACCESS_MODE am,
  4325. /* [out] */ BOOL *pfGranted);
  4326. SCODE ( STDMETHODCALLTYPE *BulkAccessCheck )(
  4327. ICiCSecurityChecker * This,
  4328. /* [in] */ const ICiCUserSecurity *pICiCUserSecurity,
  4329. /* [in] */ ULONG nIds,
  4330. /* [size_is][in] */ const SDID *aSDID,
  4331. /* [size_is][in] */ const CI_ACCESS_MODE *pam,
  4332. /* [size_is][out] */ BOOL *afGranted);
  4333. END_INTERFACE
  4334. } ICiCSecurityCheckerVtbl;
  4335. interface ICiCSecurityChecker
  4336. {
  4337. CONST_VTBL struct ICiCSecurityCheckerVtbl *lpVtbl;
  4338. };
  4339. #ifdef COBJMACROS
  4340. #define ICiCSecurityChecker_QueryInterface(This,riid,ppvObject) \
  4341. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4342. #define ICiCSecurityChecker_AddRef(This) \
  4343. (This)->lpVtbl -> AddRef(This)
  4344. #define ICiCSecurityChecker_Release(This) \
  4345. (This)->lpVtbl -> Release(This)
  4346. #define ICiCSecurityChecker_AccessCheck(This,pICiCUserSecurity,sdid,am,pfGranted) \
  4347. (This)->lpVtbl -> AccessCheck(This,pICiCUserSecurity,sdid,am,pfGranted)
  4348. #define ICiCSecurityChecker_BulkAccessCheck(This,pICiCUserSecurity,nIds,aSDID,pam,afGranted) \
  4349. (This)->lpVtbl -> BulkAccessCheck(This,pICiCUserSecurity,nIds,aSDID,pam,afGranted)
  4350. #endif /* COBJMACROS */
  4351. #endif /* C style interface */
  4352. SCODE STDMETHODCALLTYPE ICiCSecurityChecker_AccessCheck_Proxy(
  4353. ICiCSecurityChecker * This,
  4354. /* [in] */ const ICiCUserSecurity *pICiCUserSecurity,
  4355. /* [in] */ SDID sdid,
  4356. /* [in] */ CI_ACCESS_MODE am,
  4357. /* [out] */ BOOL *pfGranted);
  4358. void __RPC_STUB ICiCSecurityChecker_AccessCheck_Stub(
  4359. IRpcStubBuffer *This,
  4360. IRpcChannelBuffer *_pRpcChannelBuffer,
  4361. PRPC_MESSAGE _pRpcMessage,
  4362. DWORD *_pdwStubPhase);
  4363. SCODE STDMETHODCALLTYPE ICiCSecurityChecker_BulkAccessCheck_Proxy(
  4364. ICiCSecurityChecker * This,
  4365. /* [in] */ const ICiCUserSecurity *pICiCUserSecurity,
  4366. /* [in] */ ULONG nIds,
  4367. /* [size_is][in] */ const SDID *aSDID,
  4368. /* [size_is][in] */ const CI_ACCESS_MODE *pam,
  4369. /* [size_is][out] */ BOOL *afGranted);
  4370. void __RPC_STUB ICiCSecurityChecker_BulkAccessCheck_Stub(
  4371. IRpcStubBuffer *This,
  4372. IRpcChannelBuffer *_pRpcChannelBuffer,
  4373. PRPC_MESSAGE _pRpcMessage,
  4374. DWORD *_pdwStubPhase);
  4375. #endif /* __ICiCSecurityChecker_INTERFACE_DEFINED__ */
  4376. #ifndef __ICiDocChangeNotifySink_INTERFACE_DEFINED__
  4377. #define __ICiDocChangeNotifySink_INTERFACE_DEFINED__
  4378. /* interface ICiDocChangeNotifySink */
  4379. /* [unique][uuid][object][local] */
  4380. EXTERN_C const IID IID_ICiDocChangeNotifySink;
  4381. #if defined(__cplusplus) && !defined(CINTERFACE)
  4382. MIDL_INTERFACE("8BFA1386-3CE5-11D0-8C90-0020AF1D740E")
  4383. ICiDocChangeNotifySink : public IUnknown
  4384. {
  4385. public:
  4386. virtual SCODE STDMETHODCALLTYPE ProcessWorkidChange(
  4387. /* [in] */ WORKID wid,
  4388. /* [in] */ CI_UPDATE_TYPE change) = 0;
  4389. virtual SCODE STDMETHODCALLTYPE ProcessDocNameChange(
  4390. /* [in] */ ICiCDocName *pICiCDocName,
  4391. /* [in] */ CI_UPDATE_TYPE change) = 0;
  4392. };
  4393. #else /* C style interface */
  4394. typedef struct ICiDocChangeNotifySinkVtbl
  4395. {
  4396. BEGIN_INTERFACE
  4397. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4398. ICiDocChangeNotifySink * This,
  4399. /* [in] */ REFIID riid,
  4400. /* [iid_is][out] */ void **ppvObject);
  4401. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4402. ICiDocChangeNotifySink * This);
  4403. ULONG ( STDMETHODCALLTYPE *Release )(
  4404. ICiDocChangeNotifySink * This);
  4405. SCODE ( STDMETHODCALLTYPE *ProcessWorkidChange )(
  4406. ICiDocChangeNotifySink * This,
  4407. /* [in] */ WORKID wid,
  4408. /* [in] */ CI_UPDATE_TYPE change);
  4409. SCODE ( STDMETHODCALLTYPE *ProcessDocNameChange )(
  4410. ICiDocChangeNotifySink * This,
  4411. /* [in] */ ICiCDocName *pICiCDocName,
  4412. /* [in] */ CI_UPDATE_TYPE change);
  4413. END_INTERFACE
  4414. } ICiDocChangeNotifySinkVtbl;
  4415. interface ICiDocChangeNotifySink
  4416. {
  4417. CONST_VTBL struct ICiDocChangeNotifySinkVtbl *lpVtbl;
  4418. };
  4419. #ifdef COBJMACROS
  4420. #define ICiDocChangeNotifySink_QueryInterface(This,riid,ppvObject) \
  4421. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4422. #define ICiDocChangeNotifySink_AddRef(This) \
  4423. (This)->lpVtbl -> AddRef(This)
  4424. #define ICiDocChangeNotifySink_Release(This) \
  4425. (This)->lpVtbl -> Release(This)
  4426. #define ICiDocChangeNotifySink_ProcessWorkidChange(This,wid,change) \
  4427. (This)->lpVtbl -> ProcessWorkidChange(This,wid,change)
  4428. #define ICiDocChangeNotifySink_ProcessDocNameChange(This,pICiCDocName,change) \
  4429. (This)->lpVtbl -> ProcessDocNameChange(This,pICiCDocName,change)
  4430. #endif /* COBJMACROS */
  4431. #endif /* C style interface */
  4432. SCODE STDMETHODCALLTYPE ICiDocChangeNotifySink_ProcessWorkidChange_Proxy(
  4433. ICiDocChangeNotifySink * This,
  4434. /* [in] */ WORKID wid,
  4435. /* [in] */ CI_UPDATE_TYPE change);
  4436. void __RPC_STUB ICiDocChangeNotifySink_ProcessWorkidChange_Stub(
  4437. IRpcStubBuffer *This,
  4438. IRpcChannelBuffer *_pRpcChannelBuffer,
  4439. PRPC_MESSAGE _pRpcMessage,
  4440. DWORD *_pdwStubPhase);
  4441. SCODE STDMETHODCALLTYPE ICiDocChangeNotifySink_ProcessDocNameChange_Proxy(
  4442. ICiDocChangeNotifySink * This,
  4443. /* [in] */ ICiCDocName *pICiCDocName,
  4444. /* [in] */ CI_UPDATE_TYPE change);
  4445. void __RPC_STUB ICiDocChangeNotifySink_ProcessDocNameChange_Stub(
  4446. IRpcStubBuffer *This,
  4447. IRpcChannelBuffer *_pRpcChannelBuffer,
  4448. PRPC_MESSAGE _pRpcMessage,
  4449. DWORD *_pdwStubPhase);
  4450. #endif /* __ICiDocChangeNotifySink_INTERFACE_DEFINED__ */
  4451. #ifndef __ICiCQueryNotification_INTERFACE_DEFINED__
  4452. #define __ICiCQueryNotification_INTERFACE_DEFINED__
  4453. /* interface ICiCQueryNotification */
  4454. /* [unique][uuid][object][local] */
  4455. EXTERN_C const IID IID_ICiCQueryNotification;
  4456. #if defined(__cplusplus) && !defined(CINTERFACE)
  4457. MIDL_INTERFACE("0A9E9F6C-3CE2-11D0-8C90-0020AF1D740E")
  4458. ICiCQueryNotification : public IUnknown
  4459. {
  4460. public:
  4461. virtual SCODE STDMETHODCALLTYPE RegisterScope(
  4462. /* [in] */ ICiDocChangeNotifySink *pINotifySink,
  4463. /* [in] */ const ICiCScope *pICiCScope,
  4464. /* [out] */ HANDLE *phNotify) = 0;
  4465. virtual SCODE STDMETHODCALLTYPE CloseNotifications(
  4466. /* [in] */ HANDLE hNotify) = 0;
  4467. };
  4468. #else /* C style interface */
  4469. typedef struct ICiCQueryNotificationVtbl
  4470. {
  4471. BEGIN_INTERFACE
  4472. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4473. ICiCQueryNotification * This,
  4474. /* [in] */ REFIID riid,
  4475. /* [iid_is][out] */ void **ppvObject);
  4476. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4477. ICiCQueryNotification * This);
  4478. ULONG ( STDMETHODCALLTYPE *Release )(
  4479. ICiCQueryNotification * This);
  4480. SCODE ( STDMETHODCALLTYPE *RegisterScope )(
  4481. ICiCQueryNotification * This,
  4482. /* [in] */ ICiDocChangeNotifySink *pINotifySink,
  4483. /* [in] */ const ICiCScope *pICiCScope,
  4484. /* [out] */ HANDLE *phNotify);
  4485. SCODE ( STDMETHODCALLTYPE *CloseNotifications )(
  4486. ICiCQueryNotification * This,
  4487. /* [in] */ HANDLE hNotify);
  4488. END_INTERFACE
  4489. } ICiCQueryNotificationVtbl;
  4490. interface ICiCQueryNotification
  4491. {
  4492. CONST_VTBL struct ICiCQueryNotificationVtbl *lpVtbl;
  4493. };
  4494. #ifdef COBJMACROS
  4495. #define ICiCQueryNotification_QueryInterface(This,riid,ppvObject) \
  4496. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4497. #define ICiCQueryNotification_AddRef(This) \
  4498. (This)->lpVtbl -> AddRef(This)
  4499. #define ICiCQueryNotification_Release(This) \
  4500. (This)->lpVtbl -> Release(This)
  4501. #define ICiCQueryNotification_RegisterScope(This,pINotifySink,pICiCScope,phNotify) \
  4502. (This)->lpVtbl -> RegisterScope(This,pINotifySink,pICiCScope,phNotify)
  4503. #define ICiCQueryNotification_CloseNotifications(This,hNotify) \
  4504. (This)->lpVtbl -> CloseNotifications(This,hNotify)
  4505. #endif /* COBJMACROS */
  4506. #endif /* C style interface */
  4507. SCODE STDMETHODCALLTYPE ICiCQueryNotification_RegisterScope_Proxy(
  4508. ICiCQueryNotification * This,
  4509. /* [in] */ ICiDocChangeNotifySink *pINotifySink,
  4510. /* [in] */ const ICiCScope *pICiCScope,
  4511. /* [out] */ HANDLE *phNotify);
  4512. void __RPC_STUB ICiCQueryNotification_RegisterScope_Stub(
  4513. IRpcStubBuffer *This,
  4514. IRpcChannelBuffer *_pRpcChannelBuffer,
  4515. PRPC_MESSAGE _pRpcMessage,
  4516. DWORD *_pdwStubPhase);
  4517. SCODE STDMETHODCALLTYPE ICiCQueryNotification_CloseNotifications_Proxy(
  4518. ICiCQueryNotification * This,
  4519. /* [in] */ HANDLE hNotify);
  4520. void __RPC_STUB ICiCQueryNotification_CloseNotifications_Stub(
  4521. IRpcStubBuffer *This,
  4522. IRpcChannelBuffer *_pRpcChannelBuffer,
  4523. PRPC_MESSAGE _pRpcMessage,
  4524. DWORD *_pdwStubPhase);
  4525. #endif /* __ICiCQueryNotification_INTERFACE_DEFINED__ */
  4526. #ifndef __ICiCEventLogItem_INTERFACE_DEFINED__
  4527. #define __ICiCEventLogItem_INTERFACE_DEFINED__
  4528. /* interface ICiCEventLogItem */
  4529. /* [unique][uuid][object][local] */
  4530. EXTERN_C const IID IID_ICiCEventLogItem;
  4531. #if defined(__cplusplus) && !defined(CINTERFACE)
  4532. MIDL_INTERFACE("44CC886A-4314-11D0-8C91-0020AF1D740E")
  4533. ICiCEventLogItem : public IUnknown
  4534. {
  4535. public:
  4536. virtual SCODE STDMETHODCALLTYPE Init(
  4537. /* [string][in] */ const WCHAR *pwszEventSource,
  4538. /* [in] */ DWORD dwMsgId) = 0;
  4539. virtual SCODE STDMETHODCALLTYPE AddDWordParam(
  4540. /* [in] */ DWORD dwParam) = 0;
  4541. virtual SCODE STDMETHODCALLTYPE AddAsciiString(
  4542. /* [string][in] */ const char *pszParam) = 0;
  4543. virtual SCODE STDMETHODCALLTYPE AddUnicodeString(
  4544. /* [string][in] */ const WCHAR *pwszParam) = 0;
  4545. virtual SCODE STDMETHODCALLTYPE AddVariantParam(
  4546. /* [in] */ const PROPVARIANT *pVarnt) = 0;
  4547. virtual SCODE STDMETHODCALLTYPE AddData(
  4548. /* [in] */ ULONG cbData,
  4549. /* [size_is][in] */ const BYTE *pbData) = 0;
  4550. virtual SCODE STDMETHODCALLTYPE WriteEvent( void) = 0;
  4551. };
  4552. #else /* C style interface */
  4553. typedef struct ICiCEventLogItemVtbl
  4554. {
  4555. BEGIN_INTERFACE
  4556. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4557. ICiCEventLogItem * This,
  4558. /* [in] */ REFIID riid,
  4559. /* [iid_is][out] */ void **ppvObject);
  4560. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4561. ICiCEventLogItem * This);
  4562. ULONG ( STDMETHODCALLTYPE *Release )(
  4563. ICiCEventLogItem * This);
  4564. SCODE ( STDMETHODCALLTYPE *Init )(
  4565. ICiCEventLogItem * This,
  4566. /* [string][in] */ const WCHAR *pwszEventSource,
  4567. /* [in] */ DWORD dwMsgId);
  4568. SCODE ( STDMETHODCALLTYPE *AddDWordParam )(
  4569. ICiCEventLogItem * This,
  4570. /* [in] */ DWORD dwParam);
  4571. SCODE ( STDMETHODCALLTYPE *AddAsciiString )(
  4572. ICiCEventLogItem * This,
  4573. /* [string][in] */ const char *pszParam);
  4574. SCODE ( STDMETHODCALLTYPE *AddUnicodeString )(
  4575. ICiCEventLogItem * This,
  4576. /* [string][in] */ const WCHAR *pwszParam);
  4577. SCODE ( STDMETHODCALLTYPE *AddVariantParam )(
  4578. ICiCEventLogItem * This,
  4579. /* [in] */ const PROPVARIANT *pVarnt);
  4580. SCODE ( STDMETHODCALLTYPE *AddData )(
  4581. ICiCEventLogItem * This,
  4582. /* [in] */ ULONG cbData,
  4583. /* [size_is][in] */ const BYTE *pbData);
  4584. SCODE ( STDMETHODCALLTYPE *WriteEvent )(
  4585. ICiCEventLogItem * This);
  4586. END_INTERFACE
  4587. } ICiCEventLogItemVtbl;
  4588. interface ICiCEventLogItem
  4589. {
  4590. CONST_VTBL struct ICiCEventLogItemVtbl *lpVtbl;
  4591. };
  4592. #ifdef COBJMACROS
  4593. #define ICiCEventLogItem_QueryInterface(This,riid,ppvObject) \
  4594. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4595. #define ICiCEventLogItem_AddRef(This) \
  4596. (This)->lpVtbl -> AddRef(This)
  4597. #define ICiCEventLogItem_Release(This) \
  4598. (This)->lpVtbl -> Release(This)
  4599. #define ICiCEventLogItem_Init(This,pwszEventSource,dwMsgId) \
  4600. (This)->lpVtbl -> Init(This,pwszEventSource,dwMsgId)
  4601. #define ICiCEventLogItem_AddDWordParam(This,dwParam) \
  4602. (This)->lpVtbl -> AddDWordParam(This,dwParam)
  4603. #define ICiCEventLogItem_AddAsciiString(This,pszParam) \
  4604. (This)->lpVtbl -> AddAsciiString(This,pszParam)
  4605. #define ICiCEventLogItem_AddUnicodeString(This,pwszParam) \
  4606. (This)->lpVtbl -> AddUnicodeString(This,pwszParam)
  4607. #define ICiCEventLogItem_AddVariantParam(This,pVarnt) \
  4608. (This)->lpVtbl -> AddVariantParam(This,pVarnt)
  4609. #define ICiCEventLogItem_AddData(This,cbData,pbData) \
  4610. (This)->lpVtbl -> AddData(This,cbData,pbData)
  4611. #define ICiCEventLogItem_WriteEvent(This) \
  4612. (This)->lpVtbl -> WriteEvent(This)
  4613. #endif /* COBJMACROS */
  4614. #endif /* C style interface */
  4615. SCODE STDMETHODCALLTYPE ICiCEventLogItem_Init_Proxy(
  4616. ICiCEventLogItem * This,
  4617. /* [string][in] */ const WCHAR *pwszEventSource,
  4618. /* [in] */ DWORD dwMsgId);
  4619. void __RPC_STUB ICiCEventLogItem_Init_Stub(
  4620. IRpcStubBuffer *This,
  4621. IRpcChannelBuffer *_pRpcChannelBuffer,
  4622. PRPC_MESSAGE _pRpcMessage,
  4623. DWORD *_pdwStubPhase);
  4624. SCODE STDMETHODCALLTYPE ICiCEventLogItem_AddDWordParam_Proxy(
  4625. ICiCEventLogItem * This,
  4626. /* [in] */ DWORD dwParam);
  4627. void __RPC_STUB ICiCEventLogItem_AddDWordParam_Stub(
  4628. IRpcStubBuffer *This,
  4629. IRpcChannelBuffer *_pRpcChannelBuffer,
  4630. PRPC_MESSAGE _pRpcMessage,
  4631. DWORD *_pdwStubPhase);
  4632. SCODE STDMETHODCALLTYPE ICiCEventLogItem_AddAsciiString_Proxy(
  4633. ICiCEventLogItem * This,
  4634. /* [string][in] */ const char *pszParam);
  4635. void __RPC_STUB ICiCEventLogItem_AddAsciiString_Stub(
  4636. IRpcStubBuffer *This,
  4637. IRpcChannelBuffer *_pRpcChannelBuffer,
  4638. PRPC_MESSAGE _pRpcMessage,
  4639. DWORD *_pdwStubPhase);
  4640. SCODE STDMETHODCALLTYPE ICiCEventLogItem_AddUnicodeString_Proxy(
  4641. ICiCEventLogItem * This,
  4642. /* [string][in] */ const WCHAR *pwszParam);
  4643. void __RPC_STUB ICiCEventLogItem_AddUnicodeString_Stub(
  4644. IRpcStubBuffer *This,
  4645. IRpcChannelBuffer *_pRpcChannelBuffer,
  4646. PRPC_MESSAGE _pRpcMessage,
  4647. DWORD *_pdwStubPhase);
  4648. SCODE STDMETHODCALLTYPE ICiCEventLogItem_AddVariantParam_Proxy(
  4649. ICiCEventLogItem * This,
  4650. /* [in] */ const PROPVARIANT *pVarnt);
  4651. void __RPC_STUB ICiCEventLogItem_AddVariantParam_Stub(
  4652. IRpcStubBuffer *This,
  4653. IRpcChannelBuffer *_pRpcChannelBuffer,
  4654. PRPC_MESSAGE _pRpcMessage,
  4655. DWORD *_pdwStubPhase);
  4656. SCODE STDMETHODCALLTYPE ICiCEventLogItem_AddData_Proxy(
  4657. ICiCEventLogItem * This,
  4658. /* [in] */ ULONG cbData,
  4659. /* [size_is][in] */ const BYTE *pbData);
  4660. void __RPC_STUB ICiCEventLogItem_AddData_Stub(
  4661. IRpcStubBuffer *This,
  4662. IRpcChannelBuffer *_pRpcChannelBuffer,
  4663. PRPC_MESSAGE _pRpcMessage,
  4664. DWORD *_pdwStubPhase);
  4665. SCODE STDMETHODCALLTYPE ICiCEventLogItem_WriteEvent_Proxy(
  4666. ICiCEventLogItem * This);
  4667. void __RPC_STUB ICiCEventLogItem_WriteEvent_Stub(
  4668. IRpcStubBuffer *This,
  4669. IRpcChannelBuffer *_pRpcChannelBuffer,
  4670. PRPC_MESSAGE _pRpcMessage,
  4671. DWORD *_pdwStubPhase);
  4672. #endif /* __ICiCEventLogItem_INTERFACE_DEFINED__ */
  4673. #ifndef __ICiCFilterStatus_INTERFACE_DEFINED__
  4674. #define __ICiCFilterStatus_INTERFACE_DEFINED__
  4675. /* interface ICiCFilterStatus */
  4676. /* [unique][uuid][object][local] */
  4677. EXTERN_C const IID IID_ICiCFilterStatus;
  4678. #if defined(__cplusplus) && !defined(CINTERFACE)
  4679. MIDL_INTERFACE("BC5F3D60-8BBC-11D1-8F73-00A0C91917F5")
  4680. ICiCFilterStatus : public IUnknown
  4681. {
  4682. public:
  4683. virtual SCODE STDMETHODCALLTYPE PreFilter(
  4684. /* [size_is][in] */ const BYTE *pbName,
  4685. /* [in] */ ULONG cbName) = 0;
  4686. virtual SCODE STDMETHODCALLTYPE PostFilter(
  4687. /* [size_is][in] */ const BYTE *pbName,
  4688. /* [in] */ ULONG cbName,
  4689. /* [in] */ SCODE scFilterStatus) = 0;
  4690. };
  4691. #else /* C style interface */
  4692. typedef struct ICiCFilterStatusVtbl
  4693. {
  4694. BEGIN_INTERFACE
  4695. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4696. ICiCFilterStatus * This,
  4697. /* [in] */ REFIID riid,
  4698. /* [iid_is][out] */ void **ppvObject);
  4699. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4700. ICiCFilterStatus * This);
  4701. ULONG ( STDMETHODCALLTYPE *Release )(
  4702. ICiCFilterStatus * This);
  4703. SCODE ( STDMETHODCALLTYPE *PreFilter )(
  4704. ICiCFilterStatus * This,
  4705. /* [size_is][in] */ const BYTE *pbName,
  4706. /* [in] */ ULONG cbName);
  4707. SCODE ( STDMETHODCALLTYPE *PostFilter )(
  4708. ICiCFilterStatus * This,
  4709. /* [size_is][in] */ const BYTE *pbName,
  4710. /* [in] */ ULONG cbName,
  4711. /* [in] */ SCODE scFilterStatus);
  4712. END_INTERFACE
  4713. } ICiCFilterStatusVtbl;
  4714. interface ICiCFilterStatus
  4715. {
  4716. CONST_VTBL struct ICiCFilterStatusVtbl *lpVtbl;
  4717. };
  4718. #ifdef COBJMACROS
  4719. #define ICiCFilterStatus_QueryInterface(This,riid,ppvObject) \
  4720. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4721. #define ICiCFilterStatus_AddRef(This) \
  4722. (This)->lpVtbl -> AddRef(This)
  4723. #define ICiCFilterStatus_Release(This) \
  4724. (This)->lpVtbl -> Release(This)
  4725. #define ICiCFilterStatus_PreFilter(This,pbName,cbName) \
  4726. (This)->lpVtbl -> PreFilter(This,pbName,cbName)
  4727. #define ICiCFilterStatus_PostFilter(This,pbName,cbName,scFilterStatus) \
  4728. (This)->lpVtbl -> PostFilter(This,pbName,cbName,scFilterStatus)
  4729. #endif /* COBJMACROS */
  4730. #endif /* C style interface */
  4731. SCODE STDMETHODCALLTYPE ICiCFilterStatus_PreFilter_Proxy(
  4732. ICiCFilterStatus * This,
  4733. /* [size_is][in] */ const BYTE *pbName,
  4734. /* [in] */ ULONG cbName);
  4735. void __RPC_STUB ICiCFilterStatus_PreFilter_Stub(
  4736. IRpcStubBuffer *This,
  4737. IRpcChannelBuffer *_pRpcChannelBuffer,
  4738. PRPC_MESSAGE _pRpcMessage,
  4739. DWORD *_pdwStubPhase);
  4740. SCODE STDMETHODCALLTYPE ICiCFilterStatus_PostFilter_Proxy(
  4741. ICiCFilterStatus * This,
  4742. /* [size_is][in] */ const BYTE *pbName,
  4743. /* [in] */ ULONG cbName,
  4744. /* [in] */ SCODE scFilterStatus);
  4745. void __RPC_STUB ICiCFilterStatus_PostFilter_Stub(
  4746. IRpcStubBuffer *This,
  4747. IRpcChannelBuffer *_pRpcChannelBuffer,
  4748. PRPC_MESSAGE _pRpcMessage,
  4749. DWORD *_pdwStubPhase);
  4750. #endif /* __ICiCFilterStatus_INTERFACE_DEFINED__ */
  4751. #ifndef __ICiCResourceMonitor_INTERFACE_DEFINED__
  4752. #define __ICiCResourceMonitor_INTERFACE_DEFINED__
  4753. /* interface ICiCResourceMonitor */
  4754. /* [unique][uuid][object][local] */
  4755. EXTERN_C const IID IID_ICiCResourceMonitor;
  4756. #if defined(__cplusplus) && !defined(CINTERFACE)
  4757. MIDL_INTERFACE("F700FF8E-20EE-11D2-80F7-00C04FA354BA")
  4758. ICiCResourceMonitor : public IUnknown
  4759. {
  4760. public:
  4761. virtual SCODE STDMETHODCALLTYPE IsMemoryLow( void) = 0;
  4762. virtual SCODE STDMETHODCALLTYPE IsBatteryLow( void) = 0;
  4763. virtual SCODE STDMETHODCALLTYPE IsIoHigh(
  4764. /* [in] */ BOOL *pfAbort) = 0;
  4765. virtual SCODE STDMETHODCALLTYPE IsUserActive(
  4766. BOOL fCheckLongTermActivity) = 0;
  4767. virtual SCODE STDMETHODCALLTYPE SampleUserActivity( void) = 0;
  4768. virtual SCODE STDMETHODCALLTYPE IsOnBatteryPower( void) = 0;
  4769. };
  4770. #else /* C style interface */
  4771. typedef struct ICiCResourceMonitorVtbl
  4772. {
  4773. BEGIN_INTERFACE
  4774. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4775. ICiCResourceMonitor * This,
  4776. /* [in] */ REFIID riid,
  4777. /* [iid_is][out] */ void **ppvObject);
  4778. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4779. ICiCResourceMonitor * This);
  4780. ULONG ( STDMETHODCALLTYPE *Release )(
  4781. ICiCResourceMonitor * This);
  4782. SCODE ( STDMETHODCALLTYPE *IsMemoryLow )(
  4783. ICiCResourceMonitor * This);
  4784. SCODE ( STDMETHODCALLTYPE *IsBatteryLow )(
  4785. ICiCResourceMonitor * This);
  4786. SCODE ( STDMETHODCALLTYPE *IsIoHigh )(
  4787. ICiCResourceMonitor * This,
  4788. /* [in] */ BOOL *pfAbort);
  4789. SCODE ( STDMETHODCALLTYPE *IsUserActive )(
  4790. ICiCResourceMonitor * This,
  4791. BOOL fCheckLongTermActivity);
  4792. SCODE ( STDMETHODCALLTYPE *SampleUserActivity )(
  4793. ICiCResourceMonitor * This);
  4794. SCODE ( STDMETHODCALLTYPE *IsOnBatteryPower )(
  4795. ICiCResourceMonitor * This);
  4796. END_INTERFACE
  4797. } ICiCResourceMonitorVtbl;
  4798. interface ICiCResourceMonitor
  4799. {
  4800. CONST_VTBL struct ICiCResourceMonitorVtbl *lpVtbl;
  4801. };
  4802. #ifdef COBJMACROS
  4803. #define ICiCResourceMonitor_QueryInterface(This,riid,ppvObject) \
  4804. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4805. #define ICiCResourceMonitor_AddRef(This) \
  4806. (This)->lpVtbl -> AddRef(This)
  4807. #define ICiCResourceMonitor_Release(This) \
  4808. (This)->lpVtbl -> Release(This)
  4809. #define ICiCResourceMonitor_IsMemoryLow(This) \
  4810. (This)->lpVtbl -> IsMemoryLow(This)
  4811. #define ICiCResourceMonitor_IsBatteryLow(This) \
  4812. (This)->lpVtbl -> IsBatteryLow(This)
  4813. #define ICiCResourceMonitor_IsIoHigh(This,pfAbort) \
  4814. (This)->lpVtbl -> IsIoHigh(This,pfAbort)
  4815. #define ICiCResourceMonitor_IsUserActive(This,fCheckLongTermActivity) \
  4816. (This)->lpVtbl -> IsUserActive(This,fCheckLongTermActivity)
  4817. #define ICiCResourceMonitor_SampleUserActivity(This) \
  4818. (This)->lpVtbl -> SampleUserActivity(This)
  4819. #define ICiCResourceMonitor_IsOnBatteryPower(This) \
  4820. (This)->lpVtbl -> IsOnBatteryPower(This)
  4821. #endif /* COBJMACROS */
  4822. #endif /* C style interface */
  4823. SCODE STDMETHODCALLTYPE ICiCResourceMonitor_IsMemoryLow_Proxy(
  4824. ICiCResourceMonitor * This);
  4825. void __RPC_STUB ICiCResourceMonitor_IsMemoryLow_Stub(
  4826. IRpcStubBuffer *This,
  4827. IRpcChannelBuffer *_pRpcChannelBuffer,
  4828. PRPC_MESSAGE _pRpcMessage,
  4829. DWORD *_pdwStubPhase);
  4830. SCODE STDMETHODCALLTYPE ICiCResourceMonitor_IsBatteryLow_Proxy(
  4831. ICiCResourceMonitor * This);
  4832. void __RPC_STUB ICiCResourceMonitor_IsBatteryLow_Stub(
  4833. IRpcStubBuffer *This,
  4834. IRpcChannelBuffer *_pRpcChannelBuffer,
  4835. PRPC_MESSAGE _pRpcMessage,
  4836. DWORD *_pdwStubPhase);
  4837. SCODE STDMETHODCALLTYPE ICiCResourceMonitor_IsIoHigh_Proxy(
  4838. ICiCResourceMonitor * This,
  4839. /* [in] */ BOOL *pfAbort);
  4840. void __RPC_STUB ICiCResourceMonitor_IsIoHigh_Stub(
  4841. IRpcStubBuffer *This,
  4842. IRpcChannelBuffer *_pRpcChannelBuffer,
  4843. PRPC_MESSAGE _pRpcMessage,
  4844. DWORD *_pdwStubPhase);
  4845. SCODE STDMETHODCALLTYPE ICiCResourceMonitor_IsUserActive_Proxy(
  4846. ICiCResourceMonitor * This,
  4847. BOOL fCheckLongTermActivity);
  4848. void __RPC_STUB ICiCResourceMonitor_IsUserActive_Stub(
  4849. IRpcStubBuffer *This,
  4850. IRpcChannelBuffer *_pRpcChannelBuffer,
  4851. PRPC_MESSAGE _pRpcMessage,
  4852. DWORD *_pdwStubPhase);
  4853. SCODE STDMETHODCALLTYPE ICiCResourceMonitor_SampleUserActivity_Proxy(
  4854. ICiCResourceMonitor * This);
  4855. void __RPC_STUB ICiCResourceMonitor_SampleUserActivity_Stub(
  4856. IRpcStubBuffer *This,
  4857. IRpcChannelBuffer *_pRpcChannelBuffer,
  4858. PRPC_MESSAGE _pRpcMessage,
  4859. DWORD *_pdwStubPhase);
  4860. SCODE STDMETHODCALLTYPE ICiCResourceMonitor_IsOnBatteryPower_Proxy(
  4861. ICiCResourceMonitor * This);
  4862. void __RPC_STUB ICiCResourceMonitor_IsOnBatteryPower_Stub(
  4863. IRpcStubBuffer *This,
  4864. IRpcChannelBuffer *_pRpcChannelBuffer,
  4865. PRPC_MESSAGE _pRpcMessage,
  4866. DWORD *_pdwStubPhase);
  4867. #endif /* __ICiCResourceMonitor_INTERFACE_DEFINED__ */
  4868. /* Additional Prototypes for ALL interfaces */
  4869. /* end of Additional Prototypes */
  4870. #ifdef __cplusplus
  4871. }
  4872. #endif
  4873. #endif