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.

2263 lines
72 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 msnotify.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  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__ 440
  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 __msnotify_h__
  27. #define __msnotify_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IEnumPropertyMap_FWD_DEFINED__
  33. #define __IEnumPropertyMap_FWD_DEFINED__
  34. typedef interface IEnumPropertyMap IEnumPropertyMap;
  35. #endif /* __IEnumPropertyMap_FWD_DEFINED__ */
  36. #ifndef __IPropertyMap_FWD_DEFINED__
  37. #define __IPropertyMap_FWD_DEFINED__
  38. typedef interface IPropertyMap IPropertyMap;
  39. #endif /* __IPropertyMap_FWD_DEFINED__ */
  40. #ifndef __INotification_FWD_DEFINED__
  41. #define __INotification_FWD_DEFINED__
  42. typedef interface INotification INotification;
  43. #endif /* __INotification_FWD_DEFINED__ */
  44. #ifndef __INotificationMgr_FWD_DEFINED__
  45. #define __INotificationMgr_FWD_DEFINED__
  46. typedef interface INotificationMgr INotificationMgr;
  47. #endif /* __INotificationMgr_FWD_DEFINED__ */
  48. #ifndef __INotificationSink_FWD_DEFINED__
  49. #define __INotificationSink_FWD_DEFINED__
  50. typedef interface INotificationSink INotificationSink;
  51. #endif /* __INotificationSink_FWD_DEFINED__ */
  52. #ifndef __IScheduleGroup_FWD_DEFINED__
  53. #define __IScheduleGroup_FWD_DEFINED__
  54. typedef interface IScheduleGroup IScheduleGroup;
  55. #endif /* __IScheduleGroup_FWD_DEFINED__ */
  56. #ifndef __IEnumScheduleGroup_FWD_DEFINED__
  57. #define __IEnumScheduleGroup_FWD_DEFINED__
  58. typedef interface IEnumScheduleGroup IEnumScheduleGroup;
  59. #endif /* __IEnumScheduleGroup_FWD_DEFINED__ */
  60. #ifndef __IEnumNotification_FWD_DEFINED__
  61. #define __IEnumNotification_FWD_DEFINED__
  62. typedef interface IEnumNotification IEnumNotification;
  63. #endif /* __IEnumNotification_FWD_DEFINED__ */
  64. #ifndef __INotificationReport_FWD_DEFINED__
  65. #define __INotificationReport_FWD_DEFINED__
  66. typedef interface INotificationReport INotificationReport;
  67. #endif /* __INotificationReport_FWD_DEFINED__ */
  68. /* header files for imported files */
  69. #include "objidl.h"
  70. #include "oleidl.h"
  71. #include "ocidl.h"
  72. #include "mstask.h"
  73. #ifdef __cplusplus
  74. extern "C"{
  75. #endif
  76. void * __RPC_USER MIDL_user_allocate(size_t);
  77. void __RPC_USER MIDL_user_free( void * );
  78. /* interface __MIDL_itf_msnotify_0000 */
  79. /* [local] */
  80. //=--------------------------------------------------------------------------=
  81. // MSNotify.h
  82. //=--------------------------------------------------------------------------=
  83. // (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  84. //
  85. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  86. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  87. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  88. // PARTICULAR PURPOSE.
  89. //=--------------------------------------------------------------------------=
  90. typedef /* [unique] */ INotification *LPNOTIFICATION;
  91. typedef /* [unique] */ INotificationMgr *LPNOTIFICATIONMGR;
  92. typedef /* [unique] */ INotificationSink *LPNOTIFICATIONSINK;
  93. typedef /* [unique] */ IEnumNotification *LPENUMNOTIFICATION;
  94. typedef /* [unique] */ IEnumScheduleGroup *LPENUMSCHEDULEGROUP;
  95. typedef /* [unique] */ IScheduleGroup *LPSCHEDULEGROUP;
  96. typedef /* [unique] */ INotificationReport *LPNOTIFICATIONREPORT;
  97. typedef REFGUID REFNOTIFICATIONTYPE;
  98. typedef GUID NOTIFICATIONTYPE;
  99. typedef GUID *PNOTIFICATIONTYPE;
  100. typedef GUID NOTIFICATIONCOOKIE;
  101. typedef GUID *PNOTIFICATIONCOOKIE;
  102. typedef struct _tagTASKDATA
  103. {
  104. ULONG cbSize;
  105. DWORD dwReserved;
  106. DWORD dwTaskFlags;
  107. DWORD dwPriority;
  108. DWORD dwDuration;
  109. DWORD nParallelTasks;
  110. } TASK_DATA;
  111. typedef struct _tagTASKDATA *PTASK_DATA;
  112. ////////////////////////////////////////////////////////////////////////////
  113. // Broadcast Destinations
  114. EXTERN_C const CLSID CLSID_GLOBAL_BROADCAST ;
  115. EXTERN_C const CLSID CLSID_PROCESS_BROADCAST ;
  116. EXTERN_C const CLSID CLSID_THREAD_BROADCAST ;
  117. EXTERN_C const GUID CLSID_StdNotificationMgr ;
  118. EXTERN_C const GUID NOTIFICATIONTYPE_NULL ;
  119. EXTERN_C const GUID NOTIFICATIONTYPE_ANOUNCMENT ;
  120. EXTERN_C const GUID NOTIFICATIONTYPE_TASK ;
  121. EXTERN_C const GUID NOTIFICATIONTYPE_ALERT ;
  122. EXTERN_C const GUID NOTIFICATIONTYPE_INET_IDLE ;
  123. EXTERN_C const GUID NOTIFICATIONTYPE_INET_OFFLINE ;
  124. EXTERN_C const GUID NOTIFICATIONTYPE_INET_ONLINE ;
  125. EXTERN_C const GUID NOTIFICATIONTYPE_TASKS_SUSPEND ;
  126. EXTERN_C const GUID NOTIFICATIONTYPE_TASKS_RESUME ;
  127. EXTERN_C const GUID NOTIFICATIONTYPE_TASKS_ABORT ;
  128. EXTERN_C const GUID NOTIFICATIONTYPE_TASKS_COMPLETED ;
  129. EXTERN_C const GUID NOTIFICATIONTYPE_TASKS_PROGRESS ;
  130. EXTERN_C const GUID NOTIFICATIONTYPE_AGENT_INIT ;
  131. EXTERN_C const GUID NOTIFICATIONTYPE_AGENT_START ;
  132. EXTERN_C const GUID NOTIFICATIONTYPE_BEGIN_REPORT ;
  133. EXTERN_C const GUID NOTIFICATIONTYPE_END_REPORT ;
  134. EXTERN_C const GUID NOTIFICATIONTYPE_CONNECT_TO_INTERNET;
  135. EXTERN_C const GUID NOTIFICATIONTYPE_DISCONNECT_FROM_INTERNET;
  136. EXTERN_C const GUID NOTIFICATIONTYPE_CONFIG_CHANGED ;
  137. EXTERN_C const GUID NOTIFICATIONTYPE_PROGRESS_REPORT ;
  138. EXTERN_C const GUID NOTIFICATIONTYPE_USER_IDLE_BEGIN ;
  139. EXTERN_C const GUID NOTIFICATIONTYPE_USER_IDLE_END ;
  140. EXTERN_C const GUID NOTIFICATIONTYPE_TASKS_STARTED ;
  141. EXTERN_C const GUID NOTIFICATIONTYPE_TASKS_ERROR ;
  142. EXTERN_C const GUID NOTIFICATIONTYPE_d ;
  143. EXTERN_C const GUID NOTIFICATIONTYPE_e ;
  144. EXTERN_C const GUID NOTIFICATIONTYPE_f ;
  145. EXTERN_C const GUID NOTIFICATIONTYPE_11 ;
  146. EXTERN_C const GUID NOTIFICATIONTYPE_12 ;
  147. EXTERN_C const GUID NOTIFICATIONTYPE_13 ;
  148. EXTERN_C const GUID NOTIFICATIONTYPE_14 ;
  149. EXTERN_C const GUID NOTIFICATIONTYPE_ITEM_START ;
  150. EXTERN_C const GUID NOTIFICATIONTYPE_ITEM_RESTART ;
  151. EXTERN_C const GUID NOTIFICATIONTYPE_ITEM_DONE ;
  152. EXTERN_C const GUID NOTIFICATIONTYPE_GROUP_START ;
  153. EXTERN_C const GUID NOTIFICATIONTYPE_GROUP_RESTART ;
  154. EXTERN_C const GUID NOTIFICATIONTYPE_GROUP_DONE ;
  155. EXTERN_C const GUID NOTIFICATIONTYPE_START_0 ;
  156. EXTERN_C const GUID NOTIFICATIONTYPE_START_1 ;
  157. EXTERN_C const GUID NOTIFICATIONTYPE_START_2 ;
  158. EXTERN_C const GUID NOTIFICATIONTYPE_START_3 ;
  159. EXTERN_C const GUID NOTIFICATIONTYPE_START_4 ;
  160. EXTERN_C const GUID NOTIFICATIONTYPE_START_5 ;
  161. EXTERN_C const GUID NOTIFICATIONTYPE_START_6 ;
  162. EXTERN_C const GUID NOTIFICATIONTYPE_START_7 ;
  163. EXTERN_C const GUID NOTIFICATIONTYPE_START_8 ;
  164. EXTERN_C const GUID NOTIFICATIONTYPE_START_9 ;
  165. EXTERN_C const GUID NOTIFICATIONTYPE_START_A ;
  166. EXTERN_C const GUID NOTIFICATIONTYPE_START_B ;
  167. EXTERN_C const GUID NOTIFICATIONTYPE_START_C ;
  168. EXTERN_C const GUID NOTIFICATIONTYPE_START_D ;
  169. EXTERN_C const GUID NOTIFICATIONTYPE_START_E ;
  170. EXTERN_C const GUID NOTIFICATIONTYPE_START_F ;
  171. #define NOTIFICATIONTYPE_ALL NOTIFICATIONTYPE_NULL
  172. EXTERN_C const GUID NOTFCOOKIE_SCHEDULE_GROUP_DAILY ;
  173. EXTERN_C const GUID NOTFCOOKIE_SCHEDULE_GROUP_WEEKLY ;
  174. EXTERN_C const GUID NOTFCOOKIE_SCHEDULE_GROUP_MONTHLY ;
  175. EXTERN_C const GUID NOTFCOOKIE_SCHEDULE_GROUP_MANUAL ;
  176. #ifndef _LPENUMPROPERTYMAP_DEFINED
  177. #define _LPENUMPROPERTYMAP_DEFINED
  178. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0000_v0_0_c_ifspec;
  179. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0000_v0_0_s_ifspec;
  180. #ifndef __IEnumPropertyMap_INTERFACE_DEFINED__
  181. #define __IEnumPropertyMap_INTERFACE_DEFINED__
  182. /* interface IEnumPropertyMap */
  183. /* [unique][uuid][object][local] */
  184. typedef /* [unique] */ IEnumPropertyMap *LPENUMPROPERTYMAP;
  185. typedef struct _tagSTATPROPMAP
  186. {
  187. LPOLESTR pstrName;
  188. DWORD dwFlags;
  189. VARIANT variantValue;
  190. } STATPROPMAP;
  191. typedef struct _tagSTATPROPMAP *LPSTATPROPMAP;
  192. EXTERN_C const IID IID_IEnumPropertyMap;
  193. #if defined(__cplusplus) && !defined(CINTERFACE)
  194. MIDL_INTERFACE("c733e4a1-576e-11d0-b28c-00c04fd7cd22")
  195. IEnumPropertyMap : public IUnknown
  196. {
  197. public:
  198. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
  199. /* [in] */ ULONG celt,
  200. /* [length_is][size_is][out] */ STATPROPMAP *rgelt,
  201. /* [out] */ ULONG *pceltFetched) = 0;
  202. virtual HRESULT STDMETHODCALLTYPE Skip(
  203. /* [in] */ ULONG celt) = 0;
  204. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  205. virtual HRESULT STDMETHODCALLTYPE Clone(
  206. /* [out] */ IEnumPropertyMap **ppenum) = 0;
  207. };
  208. #else /* C style interface */
  209. typedef struct IEnumPropertyMapVtbl
  210. {
  211. BEGIN_INTERFACE
  212. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  213. IEnumPropertyMap * This,
  214. /* [in] */ REFIID riid,
  215. /* [iid_is][out] */ void **ppvObject);
  216. ULONG ( STDMETHODCALLTYPE *AddRef )(
  217. IEnumPropertyMap * This);
  218. ULONG ( STDMETHODCALLTYPE *Release )(
  219. IEnumPropertyMap * This);
  220. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
  221. IEnumPropertyMap * This,
  222. /* [in] */ ULONG celt,
  223. /* [length_is][size_is][out] */ STATPROPMAP *rgelt,
  224. /* [out] */ ULONG *pceltFetched);
  225. HRESULT ( STDMETHODCALLTYPE *Skip )(
  226. IEnumPropertyMap * This,
  227. /* [in] */ ULONG celt);
  228. HRESULT ( STDMETHODCALLTYPE *Reset )(
  229. IEnumPropertyMap * This);
  230. HRESULT ( STDMETHODCALLTYPE *Clone )(
  231. IEnumPropertyMap * This,
  232. /* [out] */ IEnumPropertyMap **ppenum);
  233. END_INTERFACE
  234. } IEnumPropertyMapVtbl;
  235. interface IEnumPropertyMap
  236. {
  237. CONST_VTBL struct IEnumPropertyMapVtbl *lpVtbl;
  238. };
  239. #ifdef COBJMACROS
  240. #define IEnumPropertyMap_QueryInterface(This,riid,ppvObject) \
  241. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  242. #define IEnumPropertyMap_AddRef(This) \
  243. (This)->lpVtbl -> AddRef(This)
  244. #define IEnumPropertyMap_Release(This) \
  245. (This)->lpVtbl -> Release(This)
  246. #define IEnumPropertyMap_Next(This,celt,rgelt,pceltFetched) \
  247. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  248. #define IEnumPropertyMap_Skip(This,celt) \
  249. (This)->lpVtbl -> Skip(This,celt)
  250. #define IEnumPropertyMap_Reset(This) \
  251. (This)->lpVtbl -> Reset(This)
  252. #define IEnumPropertyMap_Clone(This,ppenum) \
  253. (This)->lpVtbl -> Clone(This,ppenum)
  254. #endif /* COBJMACROS */
  255. #endif /* C style interface */
  256. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumPropertyMap_RemoteNext_Proxy(
  257. IEnumPropertyMap * This,
  258. /* [in] */ ULONG celt,
  259. /* [length_is][size_is][out] */ STATPROPMAP *rgelt,
  260. /* [out] */ ULONG *pceltFetched);
  261. void __RPC_STUB IEnumPropertyMap_RemoteNext_Stub(
  262. IRpcStubBuffer *This,
  263. IRpcChannelBuffer *_pRpcChannelBuffer,
  264. PRPC_MESSAGE _pRpcMessage,
  265. DWORD *_pdwStubPhase);
  266. HRESULT STDMETHODCALLTYPE IEnumPropertyMap_Skip_Proxy(
  267. IEnumPropertyMap * This,
  268. /* [in] */ ULONG celt);
  269. void __RPC_STUB IEnumPropertyMap_Skip_Stub(
  270. IRpcStubBuffer *This,
  271. IRpcChannelBuffer *_pRpcChannelBuffer,
  272. PRPC_MESSAGE _pRpcMessage,
  273. DWORD *_pdwStubPhase);
  274. HRESULT STDMETHODCALLTYPE IEnumPropertyMap_Reset_Proxy(
  275. IEnumPropertyMap * This);
  276. void __RPC_STUB IEnumPropertyMap_Reset_Stub(
  277. IRpcStubBuffer *This,
  278. IRpcChannelBuffer *_pRpcChannelBuffer,
  279. PRPC_MESSAGE _pRpcMessage,
  280. DWORD *_pdwStubPhase);
  281. HRESULT STDMETHODCALLTYPE IEnumPropertyMap_Clone_Proxy(
  282. IEnumPropertyMap * This,
  283. /* [out] */ IEnumPropertyMap **ppenum);
  284. void __RPC_STUB IEnumPropertyMap_Clone_Stub(
  285. IRpcStubBuffer *This,
  286. IRpcChannelBuffer *_pRpcChannelBuffer,
  287. PRPC_MESSAGE _pRpcMessage,
  288. DWORD *_pdwStubPhase);
  289. #endif /* __IEnumPropertyMap_INTERFACE_DEFINED__ */
  290. /* interface __MIDL_itf_msnotify_0268 */
  291. /* [local] */
  292. #endif
  293. #ifndef _LPPROPERTYMAP
  294. #define _LPPROPERTYMAP
  295. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0268_v0_0_c_ifspec;
  296. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0268_v0_0_s_ifspec;
  297. #ifndef __IPropertyMap_INTERFACE_DEFINED__
  298. #define __IPropertyMap_INTERFACE_DEFINED__
  299. /* interface IPropertyMap */
  300. /* [unique][uuid][object][local] */
  301. typedef /* [unique] */ IPropertyMap *LPPROPERTYMAP;
  302. EXTERN_C const IID IID_IPropertyMap;
  303. #if defined(__cplusplus) && !defined(CINTERFACE)
  304. MIDL_INTERFACE("c733e4a2-576e-11d0-b28c-00c04fd7cd22")
  305. IPropertyMap : public IUnknown
  306. {
  307. public:
  308. virtual HRESULT STDMETHODCALLTYPE Write(
  309. /* [in] */ LPCWSTR pstrName,
  310. /* [in] */ VARIANT variantValue,
  311. /* [in] */ DWORD dwFlags) = 0;
  312. virtual HRESULT STDMETHODCALLTYPE Read(
  313. /* [in] */ LPCWSTR pstrName,
  314. /* [out] */ VARIANT *pVariantValue) = 0;
  315. virtual HRESULT STDMETHODCALLTYPE GetCount(
  316. /* [out] */ ULONG *pCount) = 0;
  317. virtual HRESULT STDMETHODCALLTYPE GetEnumMAP(
  318. /* [out] */ LPENUMPROPERTYMAP *ppEnumMap) = 0;
  319. };
  320. #else /* C style interface */
  321. typedef struct IPropertyMapVtbl
  322. {
  323. BEGIN_INTERFACE
  324. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  325. IPropertyMap * This,
  326. /* [in] */ REFIID riid,
  327. /* [iid_is][out] */ void **ppvObject);
  328. ULONG ( STDMETHODCALLTYPE *AddRef )(
  329. IPropertyMap * This);
  330. ULONG ( STDMETHODCALLTYPE *Release )(
  331. IPropertyMap * This);
  332. HRESULT ( STDMETHODCALLTYPE *Write )(
  333. IPropertyMap * This,
  334. /* [in] */ LPCWSTR pstrName,
  335. /* [in] */ VARIANT variantValue,
  336. /* [in] */ DWORD dwFlags);
  337. HRESULT ( STDMETHODCALLTYPE *Read )(
  338. IPropertyMap * This,
  339. /* [in] */ LPCWSTR pstrName,
  340. /* [out] */ VARIANT *pVariantValue);
  341. HRESULT ( STDMETHODCALLTYPE *GetCount )(
  342. IPropertyMap * This,
  343. /* [out] */ ULONG *pCount);
  344. HRESULT ( STDMETHODCALLTYPE *GetEnumMAP )(
  345. IPropertyMap * This,
  346. /* [out] */ LPENUMPROPERTYMAP *ppEnumMap);
  347. END_INTERFACE
  348. } IPropertyMapVtbl;
  349. interface IPropertyMap
  350. {
  351. CONST_VTBL struct IPropertyMapVtbl *lpVtbl;
  352. };
  353. #ifdef COBJMACROS
  354. #define IPropertyMap_QueryInterface(This,riid,ppvObject) \
  355. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  356. #define IPropertyMap_AddRef(This) \
  357. (This)->lpVtbl -> AddRef(This)
  358. #define IPropertyMap_Release(This) \
  359. (This)->lpVtbl -> Release(This)
  360. #define IPropertyMap_Write(This,pstrName,variantValue,dwFlags) \
  361. (This)->lpVtbl -> Write(This,pstrName,variantValue,dwFlags)
  362. #define IPropertyMap_Read(This,pstrName,pVariantValue) \
  363. (This)->lpVtbl -> Read(This,pstrName,pVariantValue)
  364. #define IPropertyMap_GetCount(This,pCount) \
  365. (This)->lpVtbl -> GetCount(This,pCount)
  366. #define IPropertyMap_GetEnumMAP(This,ppEnumMap) \
  367. (This)->lpVtbl -> GetEnumMAP(This,ppEnumMap)
  368. #endif /* COBJMACROS */
  369. #endif /* C style interface */
  370. HRESULT STDMETHODCALLTYPE IPropertyMap_Write_Proxy(
  371. IPropertyMap * This,
  372. /* [in] */ LPCWSTR pstrName,
  373. /* [in] */ VARIANT variantValue,
  374. /* [in] */ DWORD dwFlags);
  375. void __RPC_STUB IPropertyMap_Write_Stub(
  376. IRpcStubBuffer *This,
  377. IRpcChannelBuffer *_pRpcChannelBuffer,
  378. PRPC_MESSAGE _pRpcMessage,
  379. DWORD *_pdwStubPhase);
  380. HRESULT STDMETHODCALLTYPE IPropertyMap_Read_Proxy(
  381. IPropertyMap * This,
  382. /* [in] */ LPCWSTR pstrName,
  383. /* [out] */ VARIANT *pVariantValue);
  384. void __RPC_STUB IPropertyMap_Read_Stub(
  385. IRpcStubBuffer *This,
  386. IRpcChannelBuffer *_pRpcChannelBuffer,
  387. PRPC_MESSAGE _pRpcMessage,
  388. DWORD *_pdwStubPhase);
  389. HRESULT STDMETHODCALLTYPE IPropertyMap_GetCount_Proxy(
  390. IPropertyMap * This,
  391. /* [out] */ ULONG *pCount);
  392. void __RPC_STUB IPropertyMap_GetCount_Stub(
  393. IRpcStubBuffer *This,
  394. IRpcChannelBuffer *_pRpcChannelBuffer,
  395. PRPC_MESSAGE _pRpcMessage,
  396. DWORD *_pdwStubPhase);
  397. HRESULT STDMETHODCALLTYPE IPropertyMap_GetEnumMAP_Proxy(
  398. IPropertyMap * This,
  399. /* [out] */ LPENUMPROPERTYMAP *ppEnumMap);
  400. void __RPC_STUB IPropertyMap_GetEnumMAP_Stub(
  401. IRpcStubBuffer *This,
  402. IRpcChannelBuffer *_pRpcChannelBuffer,
  403. PRPC_MESSAGE _pRpcMessage,
  404. DWORD *_pdwStubPhase);
  405. #endif /* __IPropertyMap_INTERFACE_DEFINED__ */
  406. /* interface __MIDL_itf_msnotify_0269 */
  407. /* [local] */
  408. #endif
  409. #define NOTF_E_NOTIFICATION_NOT_DELIVERED _HRESULT_TYPEDEF_(0x800C0F00L)
  410. #ifndef _LPNOTIFICATION
  411. #define _LPNOTIFICATION
  412. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0269_v0_0_c_ifspec;
  413. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0269_v0_0_s_ifspec;
  414. #ifndef __INotification_INTERFACE_DEFINED__
  415. #define __INotification_INTERFACE_DEFINED__
  416. /* interface INotification */
  417. /* [unique][uuid][object][local] */
  418. typedef
  419. enum _tagNOTFSINKMODE
  420. { NM_PERMANENT = 0x8,
  421. NM_ACCEPT_DIRECTED_NOTIFICATION = 0x10
  422. } _NOTFSINKMODE;
  423. typedef DWORD NOTFSINKMODE;
  424. typedef DWORD NOTIFICATIONFLAGS;
  425. typedef
  426. enum _tagDELIVERMODE
  427. { DM_DELIVER_PREFERED = 0x1,
  428. DM_DELIVER_DELAYED = 0x2,
  429. DM_DELIVER_LAST_DELAYED = 0x4,
  430. DM_ONLY_IF_RUNNING = 0x20,
  431. DM_THROTTLE_MODE = 0x80,
  432. DM_NEED_COMPLETIONREPORT = 0x100,
  433. DM_NEED_PROGRESSREPORT = 0x200,
  434. DM_DELIVER_DEFAULT_THREAD = 0x400,
  435. DM_DELIVER_DEFAULT_PROCESS = 0x800
  436. } _DELIVERMODE;
  437. typedef DWORD DELIVERMODE;
  438. EXTERN_C const IID IID_INotification;
  439. #if defined(__cplusplus) && !defined(CINTERFACE)
  440. MIDL_INTERFACE("c733e4a3-576e-11d0-b28c-00c04fd7cd22")
  441. INotification : public IPropertyMap
  442. {
  443. public:
  444. virtual HRESULT STDMETHODCALLTYPE GetNotificationInfo(
  445. /* [out] */ PNOTIFICATIONTYPE pNotificationType,
  446. /* [out] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  447. /* [out] */ NOTIFICATIONFLAGS *pNotificationFlags,
  448. /* [out] */ DELIVERMODE *pDeliverMode,
  449. /* [in] */ DWORD dwReserved) = 0;
  450. virtual HRESULT STDMETHODCALLTYPE Clone(
  451. /* [in] */ REFNOTIFICATIONTYPE rNotificationType,
  452. /* [out] */ LPNOTIFICATION *ppNotification,
  453. /* [in] */ DWORD dwReserved) = 0;
  454. };
  455. #else /* C style interface */
  456. typedef struct INotificationVtbl
  457. {
  458. BEGIN_INTERFACE
  459. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  460. INotification * This,
  461. /* [in] */ REFIID riid,
  462. /* [iid_is][out] */ void **ppvObject);
  463. ULONG ( STDMETHODCALLTYPE *AddRef )(
  464. INotification * This);
  465. ULONG ( STDMETHODCALLTYPE *Release )(
  466. INotification * This);
  467. HRESULT ( STDMETHODCALLTYPE *Write )(
  468. INotification * This,
  469. /* [in] */ LPCWSTR pstrName,
  470. /* [in] */ VARIANT variantValue,
  471. /* [in] */ DWORD dwFlags);
  472. HRESULT ( STDMETHODCALLTYPE *Read )(
  473. INotification * This,
  474. /* [in] */ LPCWSTR pstrName,
  475. /* [out] */ VARIANT *pVariantValue);
  476. HRESULT ( STDMETHODCALLTYPE *GetCount )(
  477. INotification * This,
  478. /* [out] */ ULONG *pCount);
  479. HRESULT ( STDMETHODCALLTYPE *GetEnumMAP )(
  480. INotification * This,
  481. /* [out] */ LPENUMPROPERTYMAP *ppEnumMap);
  482. HRESULT ( STDMETHODCALLTYPE *GetNotificationInfo )(
  483. INotification * This,
  484. /* [out] */ PNOTIFICATIONTYPE pNotificationType,
  485. /* [out] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  486. /* [out] */ NOTIFICATIONFLAGS *pNotificationFlags,
  487. /* [out] */ DELIVERMODE *pDeliverMode,
  488. /* [in] */ DWORD dwReserved);
  489. HRESULT ( STDMETHODCALLTYPE *Clone )(
  490. INotification * This,
  491. /* [in] */ REFNOTIFICATIONTYPE rNotificationType,
  492. /* [out] */ LPNOTIFICATION *ppNotification,
  493. /* [in] */ DWORD dwReserved);
  494. END_INTERFACE
  495. } INotificationVtbl;
  496. interface INotification
  497. {
  498. CONST_VTBL struct INotificationVtbl *lpVtbl;
  499. };
  500. #ifdef COBJMACROS
  501. #define INotification_QueryInterface(This,riid,ppvObject) \
  502. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  503. #define INotification_AddRef(This) \
  504. (This)->lpVtbl -> AddRef(This)
  505. #define INotification_Release(This) \
  506. (This)->lpVtbl -> Release(This)
  507. #define INotification_Write(This,pstrName,variantValue,dwFlags) \
  508. (This)->lpVtbl -> Write(This,pstrName,variantValue,dwFlags)
  509. #define INotification_Read(This,pstrName,pVariantValue) \
  510. (This)->lpVtbl -> Read(This,pstrName,pVariantValue)
  511. #define INotification_GetCount(This,pCount) \
  512. (This)->lpVtbl -> GetCount(This,pCount)
  513. #define INotification_GetEnumMAP(This,ppEnumMap) \
  514. (This)->lpVtbl -> GetEnumMAP(This,ppEnumMap)
  515. #define INotification_GetNotificationInfo(This,pNotificationType,pNotificationCookie,pNotificationFlags,pDeliverMode,dwReserved) \
  516. (This)->lpVtbl -> GetNotificationInfo(This,pNotificationType,pNotificationCookie,pNotificationFlags,pDeliverMode,dwReserved)
  517. #define INotification_Clone(This,rNotificationType,ppNotification,dwReserved) \
  518. (This)->lpVtbl -> Clone(This,rNotificationType,ppNotification,dwReserved)
  519. #endif /* COBJMACROS */
  520. #endif /* C style interface */
  521. HRESULT STDMETHODCALLTYPE INotification_GetNotificationInfo_Proxy(
  522. INotification * This,
  523. /* [out] */ PNOTIFICATIONTYPE pNotificationType,
  524. /* [out] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  525. /* [out] */ NOTIFICATIONFLAGS *pNotificationFlags,
  526. /* [out] */ DELIVERMODE *pDeliverMode,
  527. /* [in] */ DWORD dwReserved);
  528. void __RPC_STUB INotification_GetNotificationInfo_Stub(
  529. IRpcStubBuffer *This,
  530. IRpcChannelBuffer *_pRpcChannelBuffer,
  531. PRPC_MESSAGE _pRpcMessage,
  532. DWORD *_pdwStubPhase);
  533. HRESULT STDMETHODCALLTYPE INotification_Clone_Proxy(
  534. INotification * This,
  535. /* [in] */ REFNOTIFICATIONTYPE rNotificationType,
  536. /* [out] */ LPNOTIFICATION *ppNotification,
  537. /* [in] */ DWORD dwReserved);
  538. void __RPC_STUB INotification_Clone_Stub(
  539. IRpcStubBuffer *This,
  540. IRpcChannelBuffer *_pRpcChannelBuffer,
  541. PRPC_MESSAGE _pRpcMessage,
  542. DWORD *_pdwStubPhase);
  543. #endif /* __INotification_INTERFACE_DEFINED__ */
  544. /* interface __MIDL_itf_msnotify_0270 */
  545. /* [local] */
  546. #endif
  547. #ifndef _LPNOTIFICATIONMGR_DEFINED
  548. #define _LPNOTIFICATIONMGR_DEFINED
  549. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0270_v0_0_c_ifspec;
  550. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0270_v0_0_s_ifspec;
  551. #ifndef __INotificationMgr_INTERFACE_DEFINED__
  552. #define __INotificationMgr_INTERFACE_DEFINED__
  553. /* interface INotificationMgr */
  554. /* [unique][uuid][object][local] */
  555. typedef
  556. enum _tagGROUPMODE
  557. { GM_GROUP_SEQUENTIAL = 0x1
  558. } _GROUPMODE;
  559. typedef DWORD GROUPMODE;
  560. typedef
  561. enum _tagENUM_FLAGS
  562. { EF_NOT_NOTIFICATION = 0x1,
  563. EF_NOT_SCHEDULEGROUPITEM = 0x2,
  564. EF_NOTIFICATION_INPROGRESS = 0x4,
  565. EF_NOTIFICATION_THROTTLED = 0x8,
  566. EF_NOTIFICATION_SUSPENDED = 0x10
  567. } _ENUM_FLAGS;
  568. typedef DWORD ENUM_FLAGS;
  569. typedef struct _tagNotificationItem
  570. {
  571. ULONG cbSize;
  572. LPNOTIFICATION pNotification;
  573. NOTIFICATIONTYPE NotificationType;
  574. NOTIFICATIONFLAGS NotificationFlags;
  575. DELIVERMODE DeliverMode;
  576. NOTIFICATIONCOOKIE NotificationCookie;
  577. TASK_TRIGGER TaskTrigger;
  578. TASK_DATA TaskData;
  579. NOTIFICATIONCOOKIE groupCookie;
  580. CLSID clsidSender;
  581. CLSID clsidDest;
  582. FILETIME dateLastRun;
  583. FILETIME dateNextRun;
  584. DWORD dwNotificationState;
  585. } NOTIFICATIONITEM;
  586. typedef struct _tagNotificationItem *PNOTIFICATIONITEM;
  587. EXTERN_C const IID IID_INotificationMgr;
  588. #if defined(__cplusplus) && !defined(CINTERFACE)
  589. MIDL_INTERFACE("c733e4a4-576e-11d0-b28c-00c04fd7cd22")
  590. INotificationMgr : public IUnknown
  591. {
  592. public:
  593. virtual HRESULT STDMETHODCALLTYPE RegisterNotificationSink(
  594. /* [in] */ LPNOTIFICATIONSINK pNotfctnSink,
  595. /* [in] */ LPCLSID pNotificationDest,
  596. /* [in] */ NOTFSINKMODE NotfctnSinkMode,
  597. /* [in] */ ULONG cNotifications,
  598. /* [in] */ PNOTIFICATIONTYPE pNotificationIDs,
  599. /* [out] */ PNOTIFICATIONCOOKIE pRegisterCookie,
  600. /* [in] */ DWORD dwReserved) = 0;
  601. virtual HRESULT STDMETHODCALLTYPE UnregisterNotificationSink(
  602. /* [in] */ PNOTIFICATIONCOOKIE pRegisterCookie) = 0;
  603. virtual HRESULT STDMETHODCALLTYPE CreateNotification(
  604. /* [in] */ REFNOTIFICATIONTYPE rNotificationType,
  605. /* [in] */ NOTIFICATIONFLAGS NotificationFlags,
  606. /* [in] */ LPUNKNOWN pUnkOuter,
  607. /* [out] */ LPNOTIFICATION *ppNotification,
  608. /* [in] */ DWORD dwReserved) = 0;
  609. virtual HRESULT STDMETHODCALLTYPE FindNotification(
  610. /* [in] */ PNOTIFICATIONCOOKIE pNotificatioCookie,
  611. /* [out] */ PNOTIFICATIONITEM pNotificationItem,
  612. /* [in] */ DWORD grfEnumMode) = 0;
  613. virtual HRESULT STDMETHODCALLTYPE DeliverNotification(
  614. /* [in] */ LPNOTIFICATION pNotification,
  615. /* [in] */ REFCLSID rNotificationDest,
  616. /* [in] */ DELIVERMODE deliverMode,
  617. /* [in] */ LPNOTIFICATIONSINK pReportNotfctnSink,
  618. /* [out] */ LPNOTIFICATIONREPORT *ppNotfctnReport,
  619. /* [in] */ PTASK_DATA pTaskData) = 0;
  620. virtual HRESULT STDMETHODCALLTYPE ScheduleNotification(
  621. /* [in] */ LPNOTIFICATION pNotification,
  622. /* [in] */ REFCLSID rNotificationDest,
  623. /* [in] */ PTASK_TRIGGER pTaskTrigger,
  624. /* [in] */ PTASK_DATA pTaskData,
  625. /* [in] */ DELIVERMODE deliverMode,
  626. /* [in] */ LPCLSID pClsidSender,
  627. /* [in] */ LPNOTIFICATIONSINK pReportNotfctnSink,
  628. /* [out] */ LPNOTIFICATIONREPORT *ppNotfctnReport,
  629. /* [out] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  630. /* [in] */ DWORD dwReserved) = 0;
  631. virtual HRESULT STDMETHODCALLTYPE UpdateNotification(
  632. /* [in] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  633. /* [in] */ PTASK_TRIGGER pTaskTrigger,
  634. /* [in] */ PTASK_DATA pTaskData,
  635. /* [in] */ DELIVERMODE deliverMode,
  636. /* [in] */ DWORD dwReserved) = 0;
  637. virtual HRESULT STDMETHODCALLTYPE RevokeNotification(
  638. /* [in] */ PNOTIFICATIONCOOKIE pnotificationCookie,
  639. /* [out] */ PNOTIFICATIONITEM pNotificationItem,
  640. /* [in] */ DWORD grfEnumMode) = 0;
  641. virtual HRESULT STDMETHODCALLTYPE GetEnumNotification(
  642. /* [in] */ DWORD grfEnumFlags,
  643. /* [out] */ LPENUMNOTIFICATION *ppEnumNotification) = 0;
  644. virtual HRESULT STDMETHODCALLTYPE CreateScheduleGroup(
  645. /* [in] */ DWORD grfGroupCreateFlags,
  646. /* [out] */ LPSCHEDULEGROUP *ppSchGroup,
  647. /* [out] */ PNOTIFICATIONCOOKIE pGroupCookie,
  648. /* [in] */ DWORD dwReserved) = 0;
  649. virtual HRESULT STDMETHODCALLTYPE FindScheduleGroup(
  650. /* [in] */ PNOTIFICATIONCOOKIE pGroupCookie,
  651. /* [out] */ LPSCHEDULEGROUP *ppSchGroup,
  652. /* [in] */ DWORD dwReserved) = 0;
  653. virtual HRESULT STDMETHODCALLTYPE RevokeScheduleGroup(
  654. /* [in] */ PNOTIFICATIONCOOKIE pGroupCookie,
  655. /* [out] */ LPSCHEDULEGROUP *ppSchGroup,
  656. /* [in] */ DWORD dwReserved) = 0;
  657. virtual HRESULT STDMETHODCALLTYPE GetEnumScheduleGroup(
  658. /* [in] */ DWORD grfEnumFlags,
  659. /* [out] */ LPENUMSCHEDULEGROUP *ppEnumScheduleGroup) = 0;
  660. virtual HRESULT STDMETHODCALLTYPE DeliverReport(
  661. /* [in] */ LPNOTIFICATION pNotification,
  662. /* [in] */ PNOTIFICATIONCOOKIE pRunningNotfCookie,
  663. /* [in] */ DWORD dwReserved) = 0;
  664. };
  665. #else /* C style interface */
  666. typedef struct INotificationMgrVtbl
  667. {
  668. BEGIN_INTERFACE
  669. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  670. INotificationMgr * This,
  671. /* [in] */ REFIID riid,
  672. /* [iid_is][out] */ void **ppvObject);
  673. ULONG ( STDMETHODCALLTYPE *AddRef )(
  674. INotificationMgr * This);
  675. ULONG ( STDMETHODCALLTYPE *Release )(
  676. INotificationMgr * This);
  677. HRESULT ( STDMETHODCALLTYPE *RegisterNotificationSink )(
  678. INotificationMgr * This,
  679. /* [in] */ LPNOTIFICATIONSINK pNotfctnSink,
  680. /* [in] */ LPCLSID pNotificationDest,
  681. /* [in] */ NOTFSINKMODE NotfctnSinkMode,
  682. /* [in] */ ULONG cNotifications,
  683. /* [in] */ PNOTIFICATIONTYPE pNotificationIDs,
  684. /* [out] */ PNOTIFICATIONCOOKIE pRegisterCookie,
  685. /* [in] */ DWORD dwReserved);
  686. HRESULT ( STDMETHODCALLTYPE *UnregisterNotificationSink )(
  687. INotificationMgr * This,
  688. /* [in] */ PNOTIFICATIONCOOKIE pRegisterCookie);
  689. HRESULT ( STDMETHODCALLTYPE *CreateNotification )(
  690. INotificationMgr * This,
  691. /* [in] */ REFNOTIFICATIONTYPE rNotificationType,
  692. /* [in] */ NOTIFICATIONFLAGS NotificationFlags,
  693. /* [in] */ LPUNKNOWN pUnkOuter,
  694. /* [out] */ LPNOTIFICATION *ppNotification,
  695. /* [in] */ DWORD dwReserved);
  696. HRESULT ( STDMETHODCALLTYPE *FindNotification )(
  697. INotificationMgr * This,
  698. /* [in] */ PNOTIFICATIONCOOKIE pNotificatioCookie,
  699. /* [out] */ PNOTIFICATIONITEM pNotificationItem,
  700. /* [in] */ DWORD grfEnumMode);
  701. HRESULT ( STDMETHODCALLTYPE *DeliverNotification )(
  702. INotificationMgr * This,
  703. /* [in] */ LPNOTIFICATION pNotification,
  704. /* [in] */ REFCLSID rNotificationDest,
  705. /* [in] */ DELIVERMODE deliverMode,
  706. /* [in] */ LPNOTIFICATIONSINK pReportNotfctnSink,
  707. /* [out] */ LPNOTIFICATIONREPORT *ppNotfctnReport,
  708. /* [in] */ PTASK_DATA pTaskData);
  709. HRESULT ( STDMETHODCALLTYPE *ScheduleNotification )(
  710. INotificationMgr * This,
  711. /* [in] */ LPNOTIFICATION pNotification,
  712. /* [in] */ REFCLSID rNotificationDest,
  713. /* [in] */ PTASK_TRIGGER pTaskTrigger,
  714. /* [in] */ PTASK_DATA pTaskData,
  715. /* [in] */ DELIVERMODE deliverMode,
  716. /* [in] */ LPCLSID pClsidSender,
  717. /* [in] */ LPNOTIFICATIONSINK pReportNotfctnSink,
  718. /* [out] */ LPNOTIFICATIONREPORT *ppNotfctnReport,
  719. /* [out] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  720. /* [in] */ DWORD dwReserved);
  721. HRESULT ( STDMETHODCALLTYPE *UpdateNotification )(
  722. INotificationMgr * This,
  723. /* [in] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  724. /* [in] */ PTASK_TRIGGER pTaskTrigger,
  725. /* [in] */ PTASK_DATA pTaskData,
  726. /* [in] */ DELIVERMODE deliverMode,
  727. /* [in] */ DWORD dwReserved);
  728. HRESULT ( STDMETHODCALLTYPE *RevokeNotification )(
  729. INotificationMgr * This,
  730. /* [in] */ PNOTIFICATIONCOOKIE pnotificationCookie,
  731. /* [out] */ PNOTIFICATIONITEM pNotificationItem,
  732. /* [in] */ DWORD grfEnumMode);
  733. HRESULT ( STDMETHODCALLTYPE *GetEnumNotification )(
  734. INotificationMgr * This,
  735. /* [in] */ DWORD grfEnumFlags,
  736. /* [out] */ LPENUMNOTIFICATION *ppEnumNotification);
  737. HRESULT ( STDMETHODCALLTYPE *CreateScheduleGroup )(
  738. INotificationMgr * This,
  739. /* [in] */ DWORD grfGroupCreateFlags,
  740. /* [out] */ LPSCHEDULEGROUP *ppSchGroup,
  741. /* [out] */ PNOTIFICATIONCOOKIE pGroupCookie,
  742. /* [in] */ DWORD dwReserved);
  743. HRESULT ( STDMETHODCALLTYPE *FindScheduleGroup )(
  744. INotificationMgr * This,
  745. /* [in] */ PNOTIFICATIONCOOKIE pGroupCookie,
  746. /* [out] */ LPSCHEDULEGROUP *ppSchGroup,
  747. /* [in] */ DWORD dwReserved);
  748. HRESULT ( STDMETHODCALLTYPE *RevokeScheduleGroup )(
  749. INotificationMgr * This,
  750. /* [in] */ PNOTIFICATIONCOOKIE pGroupCookie,
  751. /* [out] */ LPSCHEDULEGROUP *ppSchGroup,
  752. /* [in] */ DWORD dwReserved);
  753. HRESULT ( STDMETHODCALLTYPE *GetEnumScheduleGroup )(
  754. INotificationMgr * This,
  755. /* [in] */ DWORD grfEnumFlags,
  756. /* [out] */ LPENUMSCHEDULEGROUP *ppEnumScheduleGroup);
  757. HRESULT ( STDMETHODCALLTYPE *DeliverReport )(
  758. INotificationMgr * This,
  759. /* [in] */ LPNOTIFICATION pNotification,
  760. /* [in] */ PNOTIFICATIONCOOKIE pRunningNotfCookie,
  761. /* [in] */ DWORD dwReserved);
  762. END_INTERFACE
  763. } INotificationMgrVtbl;
  764. interface INotificationMgr
  765. {
  766. CONST_VTBL struct INotificationMgrVtbl *lpVtbl;
  767. };
  768. #ifdef COBJMACROS
  769. #define INotificationMgr_QueryInterface(This,riid,ppvObject) \
  770. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  771. #define INotificationMgr_AddRef(This) \
  772. (This)->lpVtbl -> AddRef(This)
  773. #define INotificationMgr_Release(This) \
  774. (This)->lpVtbl -> Release(This)
  775. #define INotificationMgr_RegisterNotificationSink(This,pNotfctnSink,pNotificationDest,NotfctnSinkMode,cNotifications,pNotificationIDs,pRegisterCookie,dwReserved) \
  776. (This)->lpVtbl -> RegisterNotificationSink(This,pNotfctnSink,pNotificationDest,NotfctnSinkMode,cNotifications,pNotificationIDs,pRegisterCookie,dwReserved)
  777. #define INotificationMgr_UnregisterNotificationSink(This,pRegisterCookie) \
  778. (This)->lpVtbl -> UnregisterNotificationSink(This,pRegisterCookie)
  779. #define INotificationMgr_CreateNotification(This,rNotificationType,NotificationFlags,pUnkOuter,ppNotification,dwReserved) \
  780. (This)->lpVtbl -> CreateNotification(This,rNotificationType,NotificationFlags,pUnkOuter,ppNotification,dwReserved)
  781. #define INotificationMgr_FindNotification(This,pNotificatioCookie,pNotificationItem,grfEnumMode) \
  782. (This)->lpVtbl -> FindNotification(This,pNotificatioCookie,pNotificationItem,grfEnumMode)
  783. #define INotificationMgr_DeliverNotification(This,pNotification,rNotificationDest,deliverMode,pReportNotfctnSink,ppNotfctnReport,pTaskData) \
  784. (This)->lpVtbl -> DeliverNotification(This,pNotification,rNotificationDest,deliverMode,pReportNotfctnSink,ppNotfctnReport,pTaskData)
  785. #define INotificationMgr_ScheduleNotification(This,pNotification,rNotificationDest,pTaskTrigger,pTaskData,deliverMode,pClsidSender,pReportNotfctnSink,ppNotfctnReport,pNotificationCookie,dwReserved) \
  786. (This)->lpVtbl -> ScheduleNotification(This,pNotification,rNotificationDest,pTaskTrigger,pTaskData,deliverMode,pClsidSender,pReportNotfctnSink,ppNotfctnReport,pNotificationCookie,dwReserved)
  787. #define INotificationMgr_UpdateNotification(This,pNotificationCookie,pTaskTrigger,pTaskData,deliverMode,dwReserved) \
  788. (This)->lpVtbl -> UpdateNotification(This,pNotificationCookie,pTaskTrigger,pTaskData,deliverMode,dwReserved)
  789. #define INotificationMgr_RevokeNotification(This,pnotificationCookie,pNotificationItem,grfEnumMode) \
  790. (This)->lpVtbl -> RevokeNotification(This,pnotificationCookie,pNotificationItem,grfEnumMode)
  791. #define INotificationMgr_GetEnumNotification(This,grfEnumFlags,ppEnumNotification) \
  792. (This)->lpVtbl -> GetEnumNotification(This,grfEnumFlags,ppEnumNotification)
  793. #define INotificationMgr_CreateScheduleGroup(This,grfGroupCreateFlags,ppSchGroup,pGroupCookie,dwReserved) \
  794. (This)->lpVtbl -> CreateScheduleGroup(This,grfGroupCreateFlags,ppSchGroup,pGroupCookie,dwReserved)
  795. #define INotificationMgr_FindScheduleGroup(This,pGroupCookie,ppSchGroup,dwReserved) \
  796. (This)->lpVtbl -> FindScheduleGroup(This,pGroupCookie,ppSchGroup,dwReserved)
  797. #define INotificationMgr_RevokeScheduleGroup(This,pGroupCookie,ppSchGroup,dwReserved) \
  798. (This)->lpVtbl -> RevokeScheduleGroup(This,pGroupCookie,ppSchGroup,dwReserved)
  799. #define INotificationMgr_GetEnumScheduleGroup(This,grfEnumFlags,ppEnumScheduleGroup) \
  800. (This)->lpVtbl -> GetEnumScheduleGroup(This,grfEnumFlags,ppEnumScheduleGroup)
  801. #define INotificationMgr_DeliverReport(This,pNotification,pRunningNotfCookie,dwReserved) \
  802. (This)->lpVtbl -> DeliverReport(This,pNotification,pRunningNotfCookie,dwReserved)
  803. #endif /* COBJMACROS */
  804. #endif /* C style interface */
  805. HRESULT STDMETHODCALLTYPE INotificationMgr_RegisterNotificationSink_Proxy(
  806. INotificationMgr * This,
  807. /* [in] */ LPNOTIFICATIONSINK pNotfctnSink,
  808. /* [in] */ LPCLSID pNotificationDest,
  809. /* [in] */ NOTFSINKMODE NotfctnSinkMode,
  810. /* [in] */ ULONG cNotifications,
  811. /* [in] */ PNOTIFICATIONTYPE pNotificationIDs,
  812. /* [out] */ PNOTIFICATIONCOOKIE pRegisterCookie,
  813. /* [in] */ DWORD dwReserved);
  814. void __RPC_STUB INotificationMgr_RegisterNotificationSink_Stub(
  815. IRpcStubBuffer *This,
  816. IRpcChannelBuffer *_pRpcChannelBuffer,
  817. PRPC_MESSAGE _pRpcMessage,
  818. DWORD *_pdwStubPhase);
  819. HRESULT STDMETHODCALLTYPE INotificationMgr_UnregisterNotificationSink_Proxy(
  820. INotificationMgr * This,
  821. /* [in] */ PNOTIFICATIONCOOKIE pRegisterCookie);
  822. void __RPC_STUB INotificationMgr_UnregisterNotificationSink_Stub(
  823. IRpcStubBuffer *This,
  824. IRpcChannelBuffer *_pRpcChannelBuffer,
  825. PRPC_MESSAGE _pRpcMessage,
  826. DWORD *_pdwStubPhase);
  827. HRESULT STDMETHODCALLTYPE INotificationMgr_CreateNotification_Proxy(
  828. INotificationMgr * This,
  829. /* [in] */ REFNOTIFICATIONTYPE rNotificationType,
  830. /* [in] */ NOTIFICATIONFLAGS NotificationFlags,
  831. /* [in] */ LPUNKNOWN pUnkOuter,
  832. /* [out] */ LPNOTIFICATION *ppNotification,
  833. /* [in] */ DWORD dwReserved);
  834. void __RPC_STUB INotificationMgr_CreateNotification_Stub(
  835. IRpcStubBuffer *This,
  836. IRpcChannelBuffer *_pRpcChannelBuffer,
  837. PRPC_MESSAGE _pRpcMessage,
  838. DWORD *_pdwStubPhase);
  839. HRESULT STDMETHODCALLTYPE INotificationMgr_FindNotification_Proxy(
  840. INotificationMgr * This,
  841. /* [in] */ PNOTIFICATIONCOOKIE pNotificatioCookie,
  842. /* [out] */ PNOTIFICATIONITEM pNotificationItem,
  843. /* [in] */ DWORD grfEnumMode);
  844. void __RPC_STUB INotificationMgr_FindNotification_Stub(
  845. IRpcStubBuffer *This,
  846. IRpcChannelBuffer *_pRpcChannelBuffer,
  847. PRPC_MESSAGE _pRpcMessage,
  848. DWORD *_pdwStubPhase);
  849. HRESULT STDMETHODCALLTYPE INotificationMgr_DeliverNotification_Proxy(
  850. INotificationMgr * This,
  851. /* [in] */ LPNOTIFICATION pNotification,
  852. /* [in] */ REFCLSID rNotificationDest,
  853. /* [in] */ DELIVERMODE deliverMode,
  854. /* [in] */ LPNOTIFICATIONSINK pReportNotfctnSink,
  855. /* [out] */ LPNOTIFICATIONREPORT *ppNotfctnReport,
  856. /* [in] */ PTASK_DATA pTaskData);
  857. void __RPC_STUB INotificationMgr_DeliverNotification_Stub(
  858. IRpcStubBuffer *This,
  859. IRpcChannelBuffer *_pRpcChannelBuffer,
  860. PRPC_MESSAGE _pRpcMessage,
  861. DWORD *_pdwStubPhase);
  862. HRESULT STDMETHODCALLTYPE INotificationMgr_ScheduleNotification_Proxy(
  863. INotificationMgr * This,
  864. /* [in] */ LPNOTIFICATION pNotification,
  865. /* [in] */ REFCLSID rNotificationDest,
  866. /* [in] */ PTASK_TRIGGER pTaskTrigger,
  867. /* [in] */ PTASK_DATA pTaskData,
  868. /* [in] */ DELIVERMODE deliverMode,
  869. /* [in] */ LPCLSID pClsidSender,
  870. /* [in] */ LPNOTIFICATIONSINK pReportNotfctnSink,
  871. /* [out] */ LPNOTIFICATIONREPORT *ppNotfctnReport,
  872. /* [out] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  873. /* [in] */ DWORD dwReserved);
  874. void __RPC_STUB INotificationMgr_ScheduleNotification_Stub(
  875. IRpcStubBuffer *This,
  876. IRpcChannelBuffer *_pRpcChannelBuffer,
  877. PRPC_MESSAGE _pRpcMessage,
  878. DWORD *_pdwStubPhase);
  879. HRESULT STDMETHODCALLTYPE INotificationMgr_UpdateNotification_Proxy(
  880. INotificationMgr * This,
  881. /* [in] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  882. /* [in] */ PTASK_TRIGGER pTaskTrigger,
  883. /* [in] */ PTASK_DATA pTaskData,
  884. /* [in] */ DELIVERMODE deliverMode,
  885. /* [in] */ DWORD dwReserved);
  886. void __RPC_STUB INotificationMgr_UpdateNotification_Stub(
  887. IRpcStubBuffer *This,
  888. IRpcChannelBuffer *_pRpcChannelBuffer,
  889. PRPC_MESSAGE _pRpcMessage,
  890. DWORD *_pdwStubPhase);
  891. HRESULT STDMETHODCALLTYPE INotificationMgr_RevokeNotification_Proxy(
  892. INotificationMgr * This,
  893. /* [in] */ PNOTIFICATIONCOOKIE pnotificationCookie,
  894. /* [out] */ PNOTIFICATIONITEM pNotificationItem,
  895. /* [in] */ DWORD grfEnumMode);
  896. void __RPC_STUB INotificationMgr_RevokeNotification_Stub(
  897. IRpcStubBuffer *This,
  898. IRpcChannelBuffer *_pRpcChannelBuffer,
  899. PRPC_MESSAGE _pRpcMessage,
  900. DWORD *_pdwStubPhase);
  901. HRESULT STDMETHODCALLTYPE INotificationMgr_GetEnumNotification_Proxy(
  902. INotificationMgr * This,
  903. /* [in] */ DWORD grfEnumFlags,
  904. /* [out] */ LPENUMNOTIFICATION *ppEnumNotification);
  905. void __RPC_STUB INotificationMgr_GetEnumNotification_Stub(
  906. IRpcStubBuffer *This,
  907. IRpcChannelBuffer *_pRpcChannelBuffer,
  908. PRPC_MESSAGE _pRpcMessage,
  909. DWORD *_pdwStubPhase);
  910. HRESULT STDMETHODCALLTYPE INotificationMgr_CreateScheduleGroup_Proxy(
  911. INotificationMgr * This,
  912. /* [in] */ DWORD grfGroupCreateFlags,
  913. /* [out] */ LPSCHEDULEGROUP *ppSchGroup,
  914. /* [out] */ PNOTIFICATIONCOOKIE pGroupCookie,
  915. /* [in] */ DWORD dwReserved);
  916. void __RPC_STUB INotificationMgr_CreateScheduleGroup_Stub(
  917. IRpcStubBuffer *This,
  918. IRpcChannelBuffer *_pRpcChannelBuffer,
  919. PRPC_MESSAGE _pRpcMessage,
  920. DWORD *_pdwStubPhase);
  921. HRESULT STDMETHODCALLTYPE INotificationMgr_FindScheduleGroup_Proxy(
  922. INotificationMgr * This,
  923. /* [in] */ PNOTIFICATIONCOOKIE pGroupCookie,
  924. /* [out] */ LPSCHEDULEGROUP *ppSchGroup,
  925. /* [in] */ DWORD dwReserved);
  926. void __RPC_STUB INotificationMgr_FindScheduleGroup_Stub(
  927. IRpcStubBuffer *This,
  928. IRpcChannelBuffer *_pRpcChannelBuffer,
  929. PRPC_MESSAGE _pRpcMessage,
  930. DWORD *_pdwStubPhase);
  931. HRESULT STDMETHODCALLTYPE INotificationMgr_RevokeScheduleGroup_Proxy(
  932. INotificationMgr * This,
  933. /* [in] */ PNOTIFICATIONCOOKIE pGroupCookie,
  934. /* [out] */ LPSCHEDULEGROUP *ppSchGroup,
  935. /* [in] */ DWORD dwReserved);
  936. void __RPC_STUB INotificationMgr_RevokeScheduleGroup_Stub(
  937. IRpcStubBuffer *This,
  938. IRpcChannelBuffer *_pRpcChannelBuffer,
  939. PRPC_MESSAGE _pRpcMessage,
  940. DWORD *_pdwStubPhase);
  941. HRESULT STDMETHODCALLTYPE INotificationMgr_GetEnumScheduleGroup_Proxy(
  942. INotificationMgr * This,
  943. /* [in] */ DWORD grfEnumFlags,
  944. /* [out] */ LPENUMSCHEDULEGROUP *ppEnumScheduleGroup);
  945. void __RPC_STUB INotificationMgr_GetEnumScheduleGroup_Stub(
  946. IRpcStubBuffer *This,
  947. IRpcChannelBuffer *_pRpcChannelBuffer,
  948. PRPC_MESSAGE _pRpcMessage,
  949. DWORD *_pdwStubPhase);
  950. HRESULT STDMETHODCALLTYPE INotificationMgr_DeliverReport_Proxy(
  951. INotificationMgr * This,
  952. /* [in] */ LPNOTIFICATION pNotification,
  953. /* [in] */ PNOTIFICATIONCOOKIE pRunningNotfCookie,
  954. /* [in] */ DWORD dwReserved);
  955. void __RPC_STUB INotificationMgr_DeliverReport_Stub(
  956. IRpcStubBuffer *This,
  957. IRpcChannelBuffer *_pRpcChannelBuffer,
  958. PRPC_MESSAGE _pRpcMessage,
  959. DWORD *_pdwStubPhase);
  960. #endif /* __INotificationMgr_INTERFACE_DEFINED__ */
  961. /* interface __MIDL_itf_msnotify_0271 */
  962. /* [local] */
  963. #endif
  964. #ifndef _LPNOTIFICATIONSINK_DEFINED
  965. #define _LPNOTIFICATIONSINK_DEFINED
  966. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0271_v0_0_c_ifspec;
  967. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0271_v0_0_s_ifspec;
  968. #ifndef __INotificationSink_INTERFACE_DEFINED__
  969. #define __INotificationSink_INTERFACE_DEFINED__
  970. /* interface INotificationSink */
  971. /* [unique][uuid][object][local] */
  972. EXTERN_C const IID IID_INotificationSink;
  973. #if defined(__cplusplus) && !defined(CINTERFACE)
  974. MIDL_INTERFACE("c733e4a5-576e-11d0-b28c-00c04fd7cd22")
  975. INotificationSink : public IUnknown
  976. {
  977. public:
  978. virtual HRESULT STDMETHODCALLTYPE OnNotification(
  979. /* [in] */ LPNOTIFICATION pNotification,
  980. /* [in] */ LPNOTIFICATIONREPORT pNotfctnReport,
  981. /* [in] */ DWORD dwReserved) = 0;
  982. };
  983. #else /* C style interface */
  984. typedef struct INotificationSinkVtbl
  985. {
  986. BEGIN_INTERFACE
  987. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  988. INotificationSink * This,
  989. /* [in] */ REFIID riid,
  990. /* [iid_is][out] */ void **ppvObject);
  991. ULONG ( STDMETHODCALLTYPE *AddRef )(
  992. INotificationSink * This);
  993. ULONG ( STDMETHODCALLTYPE *Release )(
  994. INotificationSink * This);
  995. HRESULT ( STDMETHODCALLTYPE *OnNotification )(
  996. INotificationSink * This,
  997. /* [in] */ LPNOTIFICATION pNotification,
  998. /* [in] */ LPNOTIFICATIONREPORT pNotfctnReport,
  999. /* [in] */ DWORD dwReserved);
  1000. END_INTERFACE
  1001. } INotificationSinkVtbl;
  1002. interface INotificationSink
  1003. {
  1004. CONST_VTBL struct INotificationSinkVtbl *lpVtbl;
  1005. };
  1006. #ifdef COBJMACROS
  1007. #define INotificationSink_QueryInterface(This,riid,ppvObject) \
  1008. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1009. #define INotificationSink_AddRef(This) \
  1010. (This)->lpVtbl -> AddRef(This)
  1011. #define INotificationSink_Release(This) \
  1012. (This)->lpVtbl -> Release(This)
  1013. #define INotificationSink_OnNotification(This,pNotification,pNotfctnReport,dwReserved) \
  1014. (This)->lpVtbl -> OnNotification(This,pNotification,pNotfctnReport,dwReserved)
  1015. #endif /* COBJMACROS */
  1016. #endif /* C style interface */
  1017. HRESULT STDMETHODCALLTYPE INotificationSink_OnNotification_Proxy(
  1018. INotificationSink * This,
  1019. /* [in] */ LPNOTIFICATION pNotification,
  1020. /* [in] */ LPNOTIFICATIONREPORT pNotfctnReport,
  1021. /* [in] */ DWORD dwReserved);
  1022. void __RPC_STUB INotificationSink_OnNotification_Stub(
  1023. IRpcStubBuffer *This,
  1024. IRpcChannelBuffer *_pRpcChannelBuffer,
  1025. PRPC_MESSAGE _pRpcMessage,
  1026. DWORD *_pdwStubPhase);
  1027. #endif /* __INotificationSink_INTERFACE_DEFINED__ */
  1028. /* interface __MIDL_itf_msnotify_0272 */
  1029. /* [local] */
  1030. #endif
  1031. #ifndef _LPGROUPMGR_DEFINED
  1032. #define _LPGROUPMGR_DEFINED
  1033. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0272_v0_0_c_ifspec;
  1034. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0272_v0_0_s_ifspec;
  1035. #ifndef __IScheduleGroup_INTERFACE_DEFINED__
  1036. #define __IScheduleGroup_INTERFACE_DEFINED__
  1037. /* interface IScheduleGroup */
  1038. /* [unique][uuid][object][local] */
  1039. typedef struct _tagGroupInfo
  1040. {
  1041. ULONG cbSize;
  1042. LPWSTR pwzGroupname;
  1043. } GROUPINFO;
  1044. typedef struct _tagGroupInfo *PGROUPINFO;
  1045. EXTERN_C const IID IID_IScheduleGroup;
  1046. #if defined(__cplusplus) && !defined(CINTERFACE)
  1047. MIDL_INTERFACE("c733e4a6-576e-11d0-b28c-00c04fd7cd22")
  1048. IScheduleGroup : public IUnknown
  1049. {
  1050. public:
  1051. virtual HRESULT STDMETHODCALLTYPE SetAttributes(
  1052. /* [in] */ PTASK_TRIGGER pTaskTrigger,
  1053. /* [in] */ PTASK_DATA pTaskData,
  1054. /* [in] */ PNOTIFICATIONCOOKIE pGroupCookie,
  1055. /* [in] */ PGROUPINFO pGroupInfo,
  1056. /* [in] */ GROUPMODE grfGroupMode) = 0;
  1057. virtual HRESULT STDMETHODCALLTYPE GetAttributes(
  1058. /* [out] */ PTASK_TRIGGER pTaskTrigger,
  1059. /* [out] */ PTASK_DATA pTaskData,
  1060. /* [out] */ PNOTIFICATIONCOOKIE pGroupCookie,
  1061. /* [out] */ PGROUPINFO pGroupInfo,
  1062. /* [out] */ GROUPMODE *pgrfGroupMode,
  1063. /* [out] */ LONG *pElements) = 0;
  1064. virtual HRESULT STDMETHODCALLTYPE AddNotification(
  1065. /* [in] */ LPNOTIFICATION pNotification,
  1066. /* [in] */ REFCLSID rNotificationDest,
  1067. /* [in] */ DELIVERMODE deliverMode,
  1068. /* [in] */ LPCLSID pClsidSender,
  1069. /* [in] */ LPNOTIFICATIONSINK pReportNotfctnSink,
  1070. /* [out] */ LPNOTIFICATIONREPORT *ppNotfctnReport,
  1071. /* [out] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  1072. /* [in] */ PTASK_DATA pTaskData) = 0;
  1073. virtual HRESULT STDMETHODCALLTYPE FindNotification(
  1074. /* [in] */ PNOTIFICATIONCOOKIE pNotificatioCookie,
  1075. /* [out] */ PNOTIFICATIONITEM pNotificationItem,
  1076. /* [in] */ DWORD dwReserved) = 0;
  1077. virtual HRESULT STDMETHODCALLTYPE RevokeNotification(
  1078. /* [in] */ PNOTIFICATIONCOOKIE pnotificationCookie,
  1079. /* [out] */ PNOTIFICATIONITEM pschedulNotification,
  1080. /* [in] */ DWORD dwReserved) = 0;
  1081. virtual HRESULT STDMETHODCALLTYPE GetEnumNotification(
  1082. /* [in] */ DWORD grfFlags,
  1083. /* [out] */ LPENUMNOTIFICATION *ppEnumNotification) = 0;
  1084. };
  1085. #else /* C style interface */
  1086. typedef struct IScheduleGroupVtbl
  1087. {
  1088. BEGIN_INTERFACE
  1089. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1090. IScheduleGroup * This,
  1091. /* [in] */ REFIID riid,
  1092. /* [iid_is][out] */ void **ppvObject);
  1093. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1094. IScheduleGroup * This);
  1095. ULONG ( STDMETHODCALLTYPE *Release )(
  1096. IScheduleGroup * This);
  1097. HRESULT ( STDMETHODCALLTYPE *SetAttributes )(
  1098. IScheduleGroup * This,
  1099. /* [in] */ PTASK_TRIGGER pTaskTrigger,
  1100. /* [in] */ PTASK_DATA pTaskData,
  1101. /* [in] */ PNOTIFICATIONCOOKIE pGroupCookie,
  1102. /* [in] */ PGROUPINFO pGroupInfo,
  1103. /* [in] */ GROUPMODE grfGroupMode);
  1104. HRESULT ( STDMETHODCALLTYPE *GetAttributes )(
  1105. IScheduleGroup * This,
  1106. /* [out] */ PTASK_TRIGGER pTaskTrigger,
  1107. /* [out] */ PTASK_DATA pTaskData,
  1108. /* [out] */ PNOTIFICATIONCOOKIE pGroupCookie,
  1109. /* [out] */ PGROUPINFO pGroupInfo,
  1110. /* [out] */ GROUPMODE *pgrfGroupMode,
  1111. /* [out] */ LONG *pElements);
  1112. HRESULT ( STDMETHODCALLTYPE *AddNotification )(
  1113. IScheduleGroup * This,
  1114. /* [in] */ LPNOTIFICATION pNotification,
  1115. /* [in] */ REFCLSID rNotificationDest,
  1116. /* [in] */ DELIVERMODE deliverMode,
  1117. /* [in] */ LPCLSID pClsidSender,
  1118. /* [in] */ LPNOTIFICATIONSINK pReportNotfctnSink,
  1119. /* [out] */ LPNOTIFICATIONREPORT *ppNotfctnReport,
  1120. /* [out] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  1121. /* [in] */ PTASK_DATA pTaskData);
  1122. HRESULT ( STDMETHODCALLTYPE *FindNotification )(
  1123. IScheduleGroup * This,
  1124. /* [in] */ PNOTIFICATIONCOOKIE pNotificatioCookie,
  1125. /* [out] */ PNOTIFICATIONITEM pNotificationItem,
  1126. /* [in] */ DWORD dwReserved);
  1127. HRESULT ( STDMETHODCALLTYPE *RevokeNotification )(
  1128. IScheduleGroup * This,
  1129. /* [in] */ PNOTIFICATIONCOOKIE pnotificationCookie,
  1130. /* [out] */ PNOTIFICATIONITEM pschedulNotification,
  1131. /* [in] */ DWORD dwReserved);
  1132. HRESULT ( STDMETHODCALLTYPE *GetEnumNotification )(
  1133. IScheduleGroup * This,
  1134. /* [in] */ DWORD grfFlags,
  1135. /* [out] */ LPENUMNOTIFICATION *ppEnumNotification);
  1136. END_INTERFACE
  1137. } IScheduleGroupVtbl;
  1138. interface IScheduleGroup
  1139. {
  1140. CONST_VTBL struct IScheduleGroupVtbl *lpVtbl;
  1141. };
  1142. #ifdef COBJMACROS
  1143. #define IScheduleGroup_QueryInterface(This,riid,ppvObject) \
  1144. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1145. #define IScheduleGroup_AddRef(This) \
  1146. (This)->lpVtbl -> AddRef(This)
  1147. #define IScheduleGroup_Release(This) \
  1148. (This)->lpVtbl -> Release(This)
  1149. #define IScheduleGroup_SetAttributes(This,pTaskTrigger,pTaskData,pGroupCookie,pGroupInfo,grfGroupMode) \
  1150. (This)->lpVtbl -> SetAttributes(This,pTaskTrigger,pTaskData,pGroupCookie,pGroupInfo,grfGroupMode)
  1151. #define IScheduleGroup_GetAttributes(This,pTaskTrigger,pTaskData,pGroupCookie,pGroupInfo,pgrfGroupMode,pElements) \
  1152. (This)->lpVtbl -> GetAttributes(This,pTaskTrigger,pTaskData,pGroupCookie,pGroupInfo,pgrfGroupMode,pElements)
  1153. #define IScheduleGroup_AddNotification(This,pNotification,rNotificationDest,deliverMode,pClsidSender,pReportNotfctnSink,ppNotfctnReport,pNotificationCookie,pTaskData) \
  1154. (This)->lpVtbl -> AddNotification(This,pNotification,rNotificationDest,deliverMode,pClsidSender,pReportNotfctnSink,ppNotfctnReport,pNotificationCookie,pTaskData)
  1155. #define IScheduleGroup_FindNotification(This,pNotificatioCookie,pNotificationItem,dwReserved) \
  1156. (This)->lpVtbl -> FindNotification(This,pNotificatioCookie,pNotificationItem,dwReserved)
  1157. #define IScheduleGroup_RevokeNotification(This,pnotificationCookie,pschedulNotification,dwReserved) \
  1158. (This)->lpVtbl -> RevokeNotification(This,pnotificationCookie,pschedulNotification,dwReserved)
  1159. #define IScheduleGroup_GetEnumNotification(This,grfFlags,ppEnumNotification) \
  1160. (This)->lpVtbl -> GetEnumNotification(This,grfFlags,ppEnumNotification)
  1161. #endif /* COBJMACROS */
  1162. #endif /* C style interface */
  1163. HRESULT STDMETHODCALLTYPE IScheduleGroup_SetAttributes_Proxy(
  1164. IScheduleGroup * This,
  1165. /* [in] */ PTASK_TRIGGER pTaskTrigger,
  1166. /* [in] */ PTASK_DATA pTaskData,
  1167. /* [in] */ PNOTIFICATIONCOOKIE pGroupCookie,
  1168. /* [in] */ PGROUPINFO pGroupInfo,
  1169. /* [in] */ GROUPMODE grfGroupMode);
  1170. void __RPC_STUB IScheduleGroup_SetAttributes_Stub(
  1171. IRpcStubBuffer *This,
  1172. IRpcChannelBuffer *_pRpcChannelBuffer,
  1173. PRPC_MESSAGE _pRpcMessage,
  1174. DWORD *_pdwStubPhase);
  1175. HRESULT STDMETHODCALLTYPE IScheduleGroup_GetAttributes_Proxy(
  1176. IScheduleGroup * This,
  1177. /* [out] */ PTASK_TRIGGER pTaskTrigger,
  1178. /* [out] */ PTASK_DATA pTaskData,
  1179. /* [out] */ PNOTIFICATIONCOOKIE pGroupCookie,
  1180. /* [out] */ PGROUPINFO pGroupInfo,
  1181. /* [out] */ GROUPMODE *pgrfGroupMode,
  1182. /* [out] */ LONG *pElements);
  1183. void __RPC_STUB IScheduleGroup_GetAttributes_Stub(
  1184. IRpcStubBuffer *This,
  1185. IRpcChannelBuffer *_pRpcChannelBuffer,
  1186. PRPC_MESSAGE _pRpcMessage,
  1187. DWORD *_pdwStubPhase);
  1188. HRESULT STDMETHODCALLTYPE IScheduleGroup_AddNotification_Proxy(
  1189. IScheduleGroup * This,
  1190. /* [in] */ LPNOTIFICATION pNotification,
  1191. /* [in] */ REFCLSID rNotificationDest,
  1192. /* [in] */ DELIVERMODE deliverMode,
  1193. /* [in] */ LPCLSID pClsidSender,
  1194. /* [in] */ LPNOTIFICATIONSINK pReportNotfctnSink,
  1195. /* [out] */ LPNOTIFICATIONREPORT *ppNotfctnReport,
  1196. /* [out] */ PNOTIFICATIONCOOKIE pNotificationCookie,
  1197. /* [in] */ PTASK_DATA pTaskData);
  1198. void __RPC_STUB IScheduleGroup_AddNotification_Stub(
  1199. IRpcStubBuffer *This,
  1200. IRpcChannelBuffer *_pRpcChannelBuffer,
  1201. PRPC_MESSAGE _pRpcMessage,
  1202. DWORD *_pdwStubPhase);
  1203. HRESULT STDMETHODCALLTYPE IScheduleGroup_FindNotification_Proxy(
  1204. IScheduleGroup * This,
  1205. /* [in] */ PNOTIFICATIONCOOKIE pNotificatioCookie,
  1206. /* [out] */ PNOTIFICATIONITEM pNotificationItem,
  1207. /* [in] */ DWORD dwReserved);
  1208. void __RPC_STUB IScheduleGroup_FindNotification_Stub(
  1209. IRpcStubBuffer *This,
  1210. IRpcChannelBuffer *_pRpcChannelBuffer,
  1211. PRPC_MESSAGE _pRpcMessage,
  1212. DWORD *_pdwStubPhase);
  1213. HRESULT STDMETHODCALLTYPE IScheduleGroup_RevokeNotification_Proxy(
  1214. IScheduleGroup * This,
  1215. /* [in] */ PNOTIFICATIONCOOKIE pnotificationCookie,
  1216. /* [out] */ PNOTIFICATIONITEM pschedulNotification,
  1217. /* [in] */ DWORD dwReserved);
  1218. void __RPC_STUB IScheduleGroup_RevokeNotification_Stub(
  1219. IRpcStubBuffer *This,
  1220. IRpcChannelBuffer *_pRpcChannelBuffer,
  1221. PRPC_MESSAGE _pRpcMessage,
  1222. DWORD *_pdwStubPhase);
  1223. HRESULT STDMETHODCALLTYPE IScheduleGroup_GetEnumNotification_Proxy(
  1224. IScheduleGroup * This,
  1225. /* [in] */ DWORD grfFlags,
  1226. /* [out] */ LPENUMNOTIFICATION *ppEnumNotification);
  1227. void __RPC_STUB IScheduleGroup_GetEnumNotification_Stub(
  1228. IRpcStubBuffer *This,
  1229. IRpcChannelBuffer *_pRpcChannelBuffer,
  1230. PRPC_MESSAGE _pRpcMessage,
  1231. DWORD *_pdwStubPhase);
  1232. #endif /* __IScheduleGroup_INTERFACE_DEFINED__ */
  1233. /* interface __MIDL_itf_msnotify_0273 */
  1234. /* [local] */
  1235. #endif
  1236. #ifndef _LPENUMSCHEDULEGROUP_DEFINED
  1237. #define _LPENUMSCHEDULEGROUP_DEFINED
  1238. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0273_v0_0_c_ifspec;
  1239. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0273_v0_0_s_ifspec;
  1240. #ifndef __IEnumScheduleGroup_INTERFACE_DEFINED__
  1241. #define __IEnumScheduleGroup_INTERFACE_DEFINED__
  1242. /* interface IEnumScheduleGroup */
  1243. /* [unique][uuid][object][local] */
  1244. EXTERN_C const IID IID_IEnumScheduleGroup;
  1245. #if defined(__cplusplus) && !defined(CINTERFACE)
  1246. MIDL_INTERFACE("c733e4a9-576e-11d0-b28c-00c04fd7cd22")
  1247. IEnumScheduleGroup : public IUnknown
  1248. {
  1249. public:
  1250. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
  1251. /* [in] */ ULONG celt,
  1252. /* [length_is][size_is][out] */ LPSCHEDULEGROUP *rgelt,
  1253. /* [out] */ ULONG *pceltFetched) = 0;
  1254. virtual HRESULT STDMETHODCALLTYPE Skip(
  1255. /* [in] */ ULONG celt) = 0;
  1256. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1257. virtual HRESULT STDMETHODCALLTYPE Clone(
  1258. /* [out] */ IEnumScheduleGroup **ppenum) = 0;
  1259. };
  1260. #else /* C style interface */
  1261. typedef struct IEnumScheduleGroupVtbl
  1262. {
  1263. BEGIN_INTERFACE
  1264. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1265. IEnumScheduleGroup * This,
  1266. /* [in] */ REFIID riid,
  1267. /* [iid_is][out] */ void **ppvObject);
  1268. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1269. IEnumScheduleGroup * This);
  1270. ULONG ( STDMETHODCALLTYPE *Release )(
  1271. IEnumScheduleGroup * This);
  1272. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
  1273. IEnumScheduleGroup * This,
  1274. /* [in] */ ULONG celt,
  1275. /* [length_is][size_is][out] */ LPSCHEDULEGROUP *rgelt,
  1276. /* [out] */ ULONG *pceltFetched);
  1277. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1278. IEnumScheduleGroup * This,
  1279. /* [in] */ ULONG celt);
  1280. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1281. IEnumScheduleGroup * This);
  1282. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1283. IEnumScheduleGroup * This,
  1284. /* [out] */ IEnumScheduleGroup **ppenum);
  1285. END_INTERFACE
  1286. } IEnumScheduleGroupVtbl;
  1287. interface IEnumScheduleGroup
  1288. {
  1289. CONST_VTBL struct IEnumScheduleGroupVtbl *lpVtbl;
  1290. };
  1291. #ifdef COBJMACROS
  1292. #define IEnumScheduleGroup_QueryInterface(This,riid,ppvObject) \
  1293. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1294. #define IEnumScheduleGroup_AddRef(This) \
  1295. (This)->lpVtbl -> AddRef(This)
  1296. #define IEnumScheduleGroup_Release(This) \
  1297. (This)->lpVtbl -> Release(This)
  1298. #define IEnumScheduleGroup_Next(This,celt,rgelt,pceltFetched) \
  1299. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1300. #define IEnumScheduleGroup_Skip(This,celt) \
  1301. (This)->lpVtbl -> Skip(This,celt)
  1302. #define IEnumScheduleGroup_Reset(This) \
  1303. (This)->lpVtbl -> Reset(This)
  1304. #define IEnumScheduleGroup_Clone(This,ppenum) \
  1305. (This)->lpVtbl -> Clone(This,ppenum)
  1306. #endif /* COBJMACROS */
  1307. #endif /* C style interface */
  1308. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumScheduleGroup_RemoteNext_Proxy(
  1309. IEnumScheduleGroup * This,
  1310. /* [in] */ ULONG celt,
  1311. /* [length_is][size_is][out] */ LPSCHEDULEGROUP *rgelt,
  1312. /* [out] */ ULONG *pceltFetched);
  1313. void __RPC_STUB IEnumScheduleGroup_RemoteNext_Stub(
  1314. IRpcStubBuffer *This,
  1315. IRpcChannelBuffer *_pRpcChannelBuffer,
  1316. PRPC_MESSAGE _pRpcMessage,
  1317. DWORD *_pdwStubPhase);
  1318. HRESULT STDMETHODCALLTYPE IEnumScheduleGroup_Skip_Proxy(
  1319. IEnumScheduleGroup * This,
  1320. /* [in] */ ULONG celt);
  1321. void __RPC_STUB IEnumScheduleGroup_Skip_Stub(
  1322. IRpcStubBuffer *This,
  1323. IRpcChannelBuffer *_pRpcChannelBuffer,
  1324. PRPC_MESSAGE _pRpcMessage,
  1325. DWORD *_pdwStubPhase);
  1326. HRESULT STDMETHODCALLTYPE IEnumScheduleGroup_Reset_Proxy(
  1327. IEnumScheduleGroup * This);
  1328. void __RPC_STUB IEnumScheduleGroup_Reset_Stub(
  1329. IRpcStubBuffer *This,
  1330. IRpcChannelBuffer *_pRpcChannelBuffer,
  1331. PRPC_MESSAGE _pRpcMessage,
  1332. DWORD *_pdwStubPhase);
  1333. HRESULT STDMETHODCALLTYPE IEnumScheduleGroup_Clone_Proxy(
  1334. IEnumScheduleGroup * This,
  1335. /* [out] */ IEnumScheduleGroup **ppenum);
  1336. void __RPC_STUB IEnumScheduleGroup_Clone_Stub(
  1337. IRpcStubBuffer *This,
  1338. IRpcChannelBuffer *_pRpcChannelBuffer,
  1339. PRPC_MESSAGE _pRpcMessage,
  1340. DWORD *_pdwStubPhase);
  1341. #endif /* __IEnumScheduleGroup_INTERFACE_DEFINED__ */
  1342. /* interface __MIDL_itf_msnotify_0274 */
  1343. /* [local] */
  1344. #endif
  1345. #ifndef _LPENUMNOTIFICATION_DEFINED
  1346. #define _LPENUMNOTIFICATION_DEFINED
  1347. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0274_v0_0_c_ifspec;
  1348. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0274_v0_0_s_ifspec;
  1349. #ifndef __IEnumNotification_INTERFACE_DEFINED__
  1350. #define __IEnumNotification_INTERFACE_DEFINED__
  1351. /* interface IEnumNotification */
  1352. /* [unique][uuid][object][local] */
  1353. EXTERN_C const IID IID_IEnumNotification;
  1354. #if defined(__cplusplus) && !defined(CINTERFACE)
  1355. MIDL_INTERFACE("c733e4a8-576e-11d0-b28c-00c04fd7cd22")
  1356. IEnumNotification : public IUnknown
  1357. {
  1358. public:
  1359. virtual /* [local] */ HRESULT STDMETHODCALLTYPE Next(
  1360. /* [in] */ ULONG celt,
  1361. /* [length_is][size_is][out] */ NOTIFICATIONITEM *rgelt,
  1362. /* [out] */ ULONG *pceltFetched) = 0;
  1363. virtual HRESULT STDMETHODCALLTYPE Skip(
  1364. /* [in] */ ULONG celt) = 0;
  1365. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1366. virtual HRESULT STDMETHODCALLTYPE Clone(
  1367. /* [out] */ IEnumNotification **ppenum) = 0;
  1368. };
  1369. #else /* C style interface */
  1370. typedef struct IEnumNotificationVtbl
  1371. {
  1372. BEGIN_INTERFACE
  1373. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1374. IEnumNotification * This,
  1375. /* [in] */ REFIID riid,
  1376. /* [iid_is][out] */ void **ppvObject);
  1377. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1378. IEnumNotification * This);
  1379. ULONG ( STDMETHODCALLTYPE *Release )(
  1380. IEnumNotification * This);
  1381. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
  1382. IEnumNotification * This,
  1383. /* [in] */ ULONG celt,
  1384. /* [length_is][size_is][out] */ NOTIFICATIONITEM *rgelt,
  1385. /* [out] */ ULONG *pceltFetched);
  1386. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1387. IEnumNotification * This,
  1388. /* [in] */ ULONG celt);
  1389. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1390. IEnumNotification * This);
  1391. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1392. IEnumNotification * This,
  1393. /* [out] */ IEnumNotification **ppenum);
  1394. END_INTERFACE
  1395. } IEnumNotificationVtbl;
  1396. interface IEnumNotification
  1397. {
  1398. CONST_VTBL struct IEnumNotificationVtbl *lpVtbl;
  1399. };
  1400. #ifdef COBJMACROS
  1401. #define IEnumNotification_QueryInterface(This,riid,ppvObject) \
  1402. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1403. #define IEnumNotification_AddRef(This) \
  1404. (This)->lpVtbl -> AddRef(This)
  1405. #define IEnumNotification_Release(This) \
  1406. (This)->lpVtbl -> Release(This)
  1407. #define IEnumNotification_Next(This,celt,rgelt,pceltFetched) \
  1408. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1409. #define IEnumNotification_Skip(This,celt) \
  1410. (This)->lpVtbl -> Skip(This,celt)
  1411. #define IEnumNotification_Reset(This) \
  1412. (This)->lpVtbl -> Reset(This)
  1413. #define IEnumNotification_Clone(This,ppenum) \
  1414. (This)->lpVtbl -> Clone(This,ppenum)
  1415. #endif /* COBJMACROS */
  1416. #endif /* C style interface */
  1417. /* [call_as] */ HRESULT STDMETHODCALLTYPE IEnumNotification_RemoteNext_Proxy(
  1418. IEnumNotification * This,
  1419. /* [in] */ ULONG celt,
  1420. /* [length_is][size_is][out] */ NOTIFICATIONITEM *rgelt,
  1421. /* [out] */ ULONG *pceltFetched);
  1422. void __RPC_STUB IEnumNotification_RemoteNext_Stub(
  1423. IRpcStubBuffer *This,
  1424. IRpcChannelBuffer *_pRpcChannelBuffer,
  1425. PRPC_MESSAGE _pRpcMessage,
  1426. DWORD *_pdwStubPhase);
  1427. HRESULT STDMETHODCALLTYPE IEnumNotification_Skip_Proxy(
  1428. IEnumNotification * This,
  1429. /* [in] */ ULONG celt);
  1430. void __RPC_STUB IEnumNotification_Skip_Stub(
  1431. IRpcStubBuffer *This,
  1432. IRpcChannelBuffer *_pRpcChannelBuffer,
  1433. PRPC_MESSAGE _pRpcMessage,
  1434. DWORD *_pdwStubPhase);
  1435. HRESULT STDMETHODCALLTYPE IEnumNotification_Reset_Proxy(
  1436. IEnumNotification * This);
  1437. void __RPC_STUB IEnumNotification_Reset_Stub(
  1438. IRpcStubBuffer *This,
  1439. IRpcChannelBuffer *_pRpcChannelBuffer,
  1440. PRPC_MESSAGE _pRpcMessage,
  1441. DWORD *_pdwStubPhase);
  1442. HRESULT STDMETHODCALLTYPE IEnumNotification_Clone_Proxy(
  1443. IEnumNotification * This,
  1444. /* [out] */ IEnumNotification **ppenum);
  1445. void __RPC_STUB IEnumNotification_Clone_Stub(
  1446. IRpcStubBuffer *This,
  1447. IRpcChannelBuffer *_pRpcChannelBuffer,
  1448. PRPC_MESSAGE _pRpcMessage,
  1449. DWORD *_pdwStubPhase);
  1450. #endif /* __IEnumNotification_INTERFACE_DEFINED__ */
  1451. /* interface __MIDL_itf_msnotify_0275 */
  1452. /* [local] */
  1453. #endif
  1454. #ifndef _LPNOTIFICATIONREPORT_DEFINED
  1455. #define _LPNOTIFICATIONREPORT_DEFINED
  1456. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0275_v0_0_c_ifspec;
  1457. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0275_v0_0_s_ifspec;
  1458. #ifndef __INotificationReport_INTERFACE_DEFINED__
  1459. #define __INotificationReport_INTERFACE_DEFINED__
  1460. /* interface INotificationReport */
  1461. /* [unique][uuid][object][local] */
  1462. EXTERN_C const IID IID_INotificationReport;
  1463. #if defined(__cplusplus) && !defined(CINTERFACE)
  1464. MIDL_INTERFACE("c733e4a7-576e-11d0-b28c-00c04fd7cd22")
  1465. INotificationReport : public IUnknown
  1466. {
  1467. public:
  1468. virtual HRESULT STDMETHODCALLTYPE DeliverUpdate(
  1469. /* [in] */ LPNOTIFICATION pNotification,
  1470. /* [in] */ DELIVERMODE deliverMode,
  1471. /* [in] */ DWORD dwReserved) = 0;
  1472. virtual HRESULT STDMETHODCALLTYPE GetOriginalNotification(
  1473. /* [out] */ LPNOTIFICATION *ppNotification) = 0;
  1474. virtual HRESULT STDMETHODCALLTYPE GetNotificationStatus(
  1475. /* [in] */ DWORD dwStatusIn,
  1476. /* [out] */ DWORD *pdwStatusOut,
  1477. /* [in] */ DWORD dwReserved) = 0;
  1478. };
  1479. #else /* C style interface */
  1480. typedef struct INotificationReportVtbl
  1481. {
  1482. BEGIN_INTERFACE
  1483. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1484. INotificationReport * This,
  1485. /* [in] */ REFIID riid,
  1486. /* [iid_is][out] */ void **ppvObject);
  1487. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1488. INotificationReport * This);
  1489. ULONG ( STDMETHODCALLTYPE *Release )(
  1490. INotificationReport * This);
  1491. HRESULT ( STDMETHODCALLTYPE *DeliverUpdate )(
  1492. INotificationReport * This,
  1493. /* [in] */ LPNOTIFICATION pNotification,
  1494. /* [in] */ DELIVERMODE deliverMode,
  1495. /* [in] */ DWORD dwReserved);
  1496. HRESULT ( STDMETHODCALLTYPE *GetOriginalNotification )(
  1497. INotificationReport * This,
  1498. /* [out] */ LPNOTIFICATION *ppNotification);
  1499. HRESULT ( STDMETHODCALLTYPE *GetNotificationStatus )(
  1500. INotificationReport * This,
  1501. /* [in] */ DWORD dwStatusIn,
  1502. /* [out] */ DWORD *pdwStatusOut,
  1503. /* [in] */ DWORD dwReserved);
  1504. END_INTERFACE
  1505. } INotificationReportVtbl;
  1506. interface INotificationReport
  1507. {
  1508. CONST_VTBL struct INotificationReportVtbl *lpVtbl;
  1509. };
  1510. #ifdef COBJMACROS
  1511. #define INotificationReport_QueryInterface(This,riid,ppvObject) \
  1512. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1513. #define INotificationReport_AddRef(This) \
  1514. (This)->lpVtbl -> AddRef(This)
  1515. #define INotificationReport_Release(This) \
  1516. (This)->lpVtbl -> Release(This)
  1517. #define INotificationReport_DeliverUpdate(This,pNotification,deliverMode,dwReserved) \
  1518. (This)->lpVtbl -> DeliverUpdate(This,pNotification,deliverMode,dwReserved)
  1519. #define INotificationReport_GetOriginalNotification(This,ppNotification) \
  1520. (This)->lpVtbl -> GetOriginalNotification(This,ppNotification)
  1521. #define INotificationReport_GetNotificationStatus(This,dwStatusIn,pdwStatusOut,dwReserved) \
  1522. (This)->lpVtbl -> GetNotificationStatus(This,dwStatusIn,pdwStatusOut,dwReserved)
  1523. #endif /* COBJMACROS */
  1524. #endif /* C style interface */
  1525. HRESULT STDMETHODCALLTYPE INotificationReport_DeliverUpdate_Proxy(
  1526. INotificationReport * This,
  1527. /* [in] */ LPNOTIFICATION pNotification,
  1528. /* [in] */ DELIVERMODE deliverMode,
  1529. /* [in] */ DWORD dwReserved);
  1530. void __RPC_STUB INotificationReport_DeliverUpdate_Stub(
  1531. IRpcStubBuffer *This,
  1532. IRpcChannelBuffer *_pRpcChannelBuffer,
  1533. PRPC_MESSAGE _pRpcMessage,
  1534. DWORD *_pdwStubPhase);
  1535. HRESULT STDMETHODCALLTYPE INotificationReport_GetOriginalNotification_Proxy(
  1536. INotificationReport * This,
  1537. /* [out] */ LPNOTIFICATION *ppNotification);
  1538. void __RPC_STUB INotificationReport_GetOriginalNotification_Stub(
  1539. IRpcStubBuffer *This,
  1540. IRpcChannelBuffer *_pRpcChannelBuffer,
  1541. PRPC_MESSAGE _pRpcMessage,
  1542. DWORD *_pdwStubPhase);
  1543. HRESULT STDMETHODCALLTYPE INotificationReport_GetNotificationStatus_Proxy(
  1544. INotificationReport * This,
  1545. /* [in] */ DWORD dwStatusIn,
  1546. /* [out] */ DWORD *pdwStatusOut,
  1547. /* [in] */ DWORD dwReserved);
  1548. void __RPC_STUB INotificationReport_GetNotificationStatus_Stub(
  1549. IRpcStubBuffer *This,
  1550. IRpcChannelBuffer *_pRpcChannelBuffer,
  1551. PRPC_MESSAGE _pRpcMessage,
  1552. DWORD *_pdwStubPhase);
  1553. #endif /* __INotificationReport_INTERFACE_DEFINED__ */
  1554. /* interface __MIDL_itf_msnotify_0276 */
  1555. /* [local] */
  1556. #endif
  1557. #ifndef _NOTIFICAITON_HELPER_APIS_
  1558. #define _NOTIFICAITON_HELPER_APIS_
  1559. //
  1560. // HELPER APIS
  1561. //
  1562. STDAPI NotfDeliverNotification(REFNOTIFICATIONTYPE rNotificationType
  1563. ,REFCLSID rClsidDest
  1564. ,DELIVERMODE deliverMode
  1565. ,DWORD dwReserved
  1566. );
  1567. #endif
  1568. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0276_v0_0_c_ifspec;
  1569. extern RPC_IF_HANDLE __MIDL_itf_msnotify_0276_v0_0_s_ifspec;
  1570. /* Additional Prototypes for ALL interfaces */
  1571. /* end of Additional Prototypes */
  1572. #ifdef __cplusplus
  1573. }
  1574. #endif
  1575. #endif