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.

348 lines
9.5 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 notftn.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 __notftn_h__
  27. #define __notftn_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __INotificationRunning_FWD_DEFINED__
  33. #define __INotificationRunning_FWD_DEFINED__
  34. typedef interface INotificationRunning INotificationRunning;
  35. #endif /* __INotificationRunning_FWD_DEFINED__ */
  36. #ifndef __INotificationProcessMgr0_FWD_DEFINED__
  37. #define __INotificationProcessMgr0_FWD_DEFINED__
  38. typedef interface INotificationProcessMgr0 INotificationProcessMgr0;
  39. #endif /* __INotificationProcessMgr0_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "msnotify.h"
  42. #ifdef __cplusplus
  43. extern "C"{
  44. #endif
  45. void * __RPC_USER MIDL_user_allocate(size_t);
  46. void __RPC_USER MIDL_user_free( void * );
  47. /* interface __MIDL_itf_notftn_0000 */
  48. /* [local] */
  49. #include <msnotify.h>
  50. #ifndef _LPNOTIFICATIONRUNNING_DEFINED
  51. #define _LPNOTIFICATIONRUNNING_DEFINED
  52. extern RPC_IF_HANDLE __MIDL_itf_notftn_0000_v0_0_c_ifspec;
  53. extern RPC_IF_HANDLE __MIDL_itf_notftn_0000_v0_0_s_ifspec;
  54. #ifndef __INotificationRunning_INTERFACE_DEFINED__
  55. #define __INotificationRunning_INTERFACE_DEFINED__
  56. /* interface INotificationRunning */
  57. /* [unique][uuid][object][local] */
  58. typedef /* [unique] */ INotificationRunning *LPNOTIFICATIONRUNNING;
  59. EXTERN_C const IID IID_INotificationRunning;
  60. #if defined(__cplusplus) && !defined(CINTERFACE)
  61. MIDL_INTERFACE("c733e4ad-576e-11d0-b28c-00c04fd7cd22")
  62. INotificationRunning : public IUnknown
  63. {
  64. public:
  65. };
  66. #else /* C style interface */
  67. typedef struct INotificationRunningVtbl
  68. {
  69. BEGIN_INTERFACE
  70. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  71. INotificationRunning * This,
  72. /* [in] */ REFIID riid,
  73. /* [iid_is][out] */ void **ppvObject);
  74. ULONG ( STDMETHODCALLTYPE *AddRef )(
  75. INotificationRunning * This);
  76. ULONG ( STDMETHODCALLTYPE *Release )(
  77. INotificationRunning * This);
  78. END_INTERFACE
  79. } INotificationRunningVtbl;
  80. interface INotificationRunning
  81. {
  82. CONST_VTBL struct INotificationRunningVtbl *lpVtbl;
  83. };
  84. #ifdef COBJMACROS
  85. #define INotificationRunning_QueryInterface(This,riid,ppvObject) \
  86. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  87. #define INotificationRunning_AddRef(This) \
  88. (This)->lpVtbl -> AddRef(This)
  89. #define INotificationRunning_Release(This) \
  90. (This)->lpVtbl -> Release(This)
  91. #endif /* COBJMACROS */
  92. #endif /* C style interface */
  93. #endif /* __INotificationRunning_INTERFACE_DEFINED__ */
  94. /* interface __MIDL_itf_notftn_0278 */
  95. /* [local] */
  96. #endif
  97. #ifndef _LPNOTIFICATIONPROCESSMGR0_DEFINED
  98. #define _LPNOTIFICATIONPROCESSMGR0_DEFINED
  99. extern RPC_IF_HANDLE __MIDL_itf_notftn_0278_v0_0_c_ifspec;
  100. extern RPC_IF_HANDLE __MIDL_itf_notftn_0278_v0_0_s_ifspec;
  101. #ifndef __INotificationProcessMgr0_INTERFACE_DEFINED__
  102. #define __INotificationProcessMgr0_INTERFACE_DEFINED__
  103. /* interface INotificationProcessMgr0 */
  104. /* [unique][uuid][object][local] */
  105. typedef /* [unique] */ INotificationProcessMgr0 *LPNOTIFICATIONPROCESSMGR0;
  106. typedef
  107. enum _tagNOTIFICATIONMGRMODE
  108. { NM_DEFAULT_PROCESS = 0x1,
  109. NM_DEFAULT_THREAD = 0x2
  110. } _NOTIFICATIONMGRMODE;
  111. typedef DWORD NOTIFICATIONMGRMODE;
  112. typedef
  113. enum _tagTHROTTLE_ITEMS_FLAGS
  114. { TF_DONT_DELIVER_SCHEDULED_ITEMS = 0x1,
  115. TF_APPLY_EXCLUDE_RANGE = 0x2,
  116. TF_APPLY_UPDATEINTERVAL = 0x4
  117. } _THROTTLE_ITEMS_FLAGS;
  118. typedef DWORD THROTTLE_ITEMS_FLAGS;
  119. typedef struct THROTTLEITEM
  120. {
  121. NOTIFICATIONTYPE NotificationType;
  122. LONG nParallel;
  123. DWORD dwFlags;
  124. SYSTEMTIME stBegin;
  125. SYSTEMTIME stEnd;
  126. DWORD dwMinItemUpdateInterval;
  127. } THROTTLEITEM;
  128. typedef struct THROTTLEITEM *PTHROTTLEITEM;
  129. EXTERN_C const IID IID_INotificationProcessMgr0;
  130. #if defined(__cplusplus) && !defined(CINTERFACE)
  131. MIDL_INTERFACE("c733e4ae-576e-11d0-b28c-00c04fd7cd22")
  132. INotificationProcessMgr0 : public IUnknown
  133. {
  134. public:
  135. virtual HRESULT STDMETHODCALLTYPE SetMode(
  136. /* [in] */ REFCLSID rClsID,
  137. /* [in] */ NOTIFICATIONMGRMODE NotificationMgrMode,
  138. /* [out] */ LPCLSID *pClsIDPre,
  139. /* [in] */ DWORD dwReserved) = 0;
  140. virtual HRESULT STDMETHODCALLTYPE RegisterThrottleNotificationType(
  141. /* [in] */ ULONG cItems,
  142. /* [size_is][in] */ PTHROTTLEITEM pThrottleItems,
  143. /* [out] */ ULONG *pcItemsOut,
  144. /* [out] */ PTHROTTLEITEM *ppThrottleItemsOut,
  145. /* [in] */ DWORD dwMode,
  146. /* [in] */ DWORD dwReserved) = 0;
  147. };
  148. #else /* C style interface */
  149. typedef struct INotificationProcessMgr0Vtbl
  150. {
  151. BEGIN_INTERFACE
  152. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  153. INotificationProcessMgr0 * This,
  154. /* [in] */ REFIID riid,
  155. /* [iid_is][out] */ void **ppvObject);
  156. ULONG ( STDMETHODCALLTYPE *AddRef )(
  157. INotificationProcessMgr0 * This);
  158. ULONG ( STDMETHODCALLTYPE *Release )(
  159. INotificationProcessMgr0 * This);
  160. HRESULT ( STDMETHODCALLTYPE *SetMode )(
  161. INotificationProcessMgr0 * This,
  162. /* [in] */ REFCLSID rClsID,
  163. /* [in] */ NOTIFICATIONMGRMODE NotificationMgrMode,
  164. /* [out] */ LPCLSID *pClsIDPre,
  165. /* [in] */ DWORD dwReserved);
  166. HRESULT ( STDMETHODCALLTYPE *RegisterThrottleNotificationType )(
  167. INotificationProcessMgr0 * This,
  168. /* [in] */ ULONG cItems,
  169. /* [size_is][in] */ PTHROTTLEITEM pThrottleItems,
  170. /* [out] */ ULONG *pcItemsOut,
  171. /* [out] */ PTHROTTLEITEM *ppThrottleItemsOut,
  172. /* [in] */ DWORD dwMode,
  173. /* [in] */ DWORD dwReserved);
  174. END_INTERFACE
  175. } INotificationProcessMgr0Vtbl;
  176. interface INotificationProcessMgr0
  177. {
  178. CONST_VTBL struct INotificationProcessMgr0Vtbl *lpVtbl;
  179. };
  180. #ifdef COBJMACROS
  181. #define INotificationProcessMgr0_QueryInterface(This,riid,ppvObject) \
  182. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  183. #define INotificationProcessMgr0_AddRef(This) \
  184. (This)->lpVtbl -> AddRef(This)
  185. #define INotificationProcessMgr0_Release(This) \
  186. (This)->lpVtbl -> Release(This)
  187. #define INotificationProcessMgr0_SetMode(This,rClsID,NotificationMgrMode,pClsIDPre,dwReserved) \
  188. (This)->lpVtbl -> SetMode(This,rClsID,NotificationMgrMode,pClsIDPre,dwReserved)
  189. #define INotificationProcessMgr0_RegisterThrottleNotificationType(This,cItems,pThrottleItems,pcItemsOut,ppThrottleItemsOut,dwMode,dwReserved) \
  190. (This)->lpVtbl -> RegisterThrottleNotificationType(This,cItems,pThrottleItems,pcItemsOut,ppThrottleItemsOut,dwMode,dwReserved)
  191. #endif /* COBJMACROS */
  192. #endif /* C style interface */
  193. HRESULT STDMETHODCALLTYPE INotificationProcessMgr0_SetMode_Proxy(
  194. INotificationProcessMgr0 * This,
  195. /* [in] */ REFCLSID rClsID,
  196. /* [in] */ NOTIFICATIONMGRMODE NotificationMgrMode,
  197. /* [out] */ LPCLSID *pClsIDPre,
  198. /* [in] */ DWORD dwReserved);
  199. void __RPC_STUB INotificationProcessMgr0_SetMode_Stub(
  200. IRpcStubBuffer *This,
  201. IRpcChannelBuffer *_pRpcChannelBuffer,
  202. PRPC_MESSAGE _pRpcMessage,
  203. DWORD *_pdwStubPhase);
  204. HRESULT STDMETHODCALLTYPE INotificationProcessMgr0_RegisterThrottleNotificationType_Proxy(
  205. INotificationProcessMgr0 * This,
  206. /* [in] */ ULONG cItems,
  207. /* [size_is][in] */ PTHROTTLEITEM pThrottleItems,
  208. /* [out] */ ULONG *pcItemsOut,
  209. /* [out] */ PTHROTTLEITEM *ppThrottleItemsOut,
  210. /* [in] */ DWORD dwMode,
  211. /* [in] */ DWORD dwReserved);
  212. void __RPC_STUB INotificationProcessMgr0_RegisterThrottleNotificationType_Stub(
  213. IRpcStubBuffer *This,
  214. IRpcChannelBuffer *_pRpcChannelBuffer,
  215. PRPC_MESSAGE _pRpcMessage,
  216. DWORD *_pdwStubPhase);
  217. #endif /* __INotificationProcessMgr0_INTERFACE_DEFINED__ */
  218. /* interface __MIDL_itf_notftn_0279 */
  219. /* [local] */
  220. #endif
  221. #define DM_SYNCHRONOUS 0x00000010
  222. #define DM_ONLY_IF_NOT_PENDING 0x00001000
  223. extern RPC_IF_HANDLE __MIDL_itf_notftn_0279_v0_0_c_ifspec;
  224. extern RPC_IF_HANDLE __MIDL_itf_notftn_0279_v0_0_s_ifspec;
  225. /* Additional Prototypes for ALL interfaces */
  226. /* end of Additional Prototypes */
  227. #ifdef __cplusplus
  228. }
  229. #endif
  230. #endif