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

7203 lines
210 KiB

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