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.

578 lines
19 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 event.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 __event_h__
  27. #define __event_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMSEventNotificationPlugin_FWD_DEFINED__
  33. #define __IWMSEventNotificationPlugin_FWD_DEFINED__
  34. typedef interface IWMSEventNotificationPlugin IWMSEventNotificationPlugin;
  35. #endif /* __IWMSEventNotificationPlugin_FWD_DEFINED__ */
  36. #ifndef __IWMSEventAuthorizationPlugin_FWD_DEFINED__
  37. #define __IWMSEventAuthorizationPlugin_FWD_DEFINED__
  38. typedef interface IWMSEventAuthorizationPlugin IWMSEventAuthorizationPlugin;
  39. #endif /* __IWMSEventAuthorizationPlugin_FWD_DEFINED__ */
  40. #ifndef __IWMSEventAuthorizationCallback_FWD_DEFINED__
  41. #define __IWMSEventAuthorizationCallback_FWD_DEFINED__
  42. typedef interface IWMSEventAuthorizationCallback IWMSEventAuthorizationCallback;
  43. #endif /* __IWMSEventAuthorizationCallback_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "oaidl.h"
  46. #include "WMSContext.h"
  47. #include "WMSEvent.h"
  48. #ifdef __cplusplus
  49. extern "C"{
  50. #endif
  51. void * __RPC_USER MIDL_user_allocate(size_t);
  52. void __RPC_USER MIDL_user_free( void * );
  53. /* interface __MIDL_itf_event_0000 */
  54. /* [local] */
  55. //+-------------------------------------------------------------------------
  56. //
  57. // Microsoft Windows Media Technologies
  58. // Copyright (C) Microsoft Corporation. All rights reserved.
  59. //
  60. // Automatically generated by Midl from event.idl
  61. //
  62. // DO NOT EDIT THIS FILE.
  63. //
  64. //--------------------------------------------------------------------------
  65. #if _MSC_VER > 1000
  66. #pragma once
  67. #endif // _MSC_VER > 1000
  68. EXTERN_GUID( IID_IWMSEventNotificationPlugin , 0xBE185FF0,0x6932,0x11d2,0x8B,0x3B,0x00,0x60,0x97,0xB0,0x12,0x06 );
  69. EXTERN_GUID( IID_IWMSEventAuthorizationPlugin , 0xBE185FF1,0x6932,0x11d2,0x8B,0x3B,0x00,0x60,0x97,0xB0,0x12,0x06 );
  70. EXTERN_GUID( IID_IWMSEventAuthorizationCallback , 0xBE185FF2,0x6932,0x11d2,0x8B,0x3B,0x00,0x60,0x97,0xB0,0x12,0x06 );
  71. EXTERN_GUID( IID_IWMSCustomEventCallback , 0x8fbd4d04,0x970d,0x4d37,0xbb,0xc6,0x6f,0xbb,0xb7,0x4e,0xac,0x9d );
  72. typedef /* [public] */
  73. enum WMS_SERVER_EVENT_TYPE
  74. { WMS_EVENT_SERVER_ONLINE = 0,
  75. WMS_EVENT_SERVER_OFFLINE = 1,
  76. WMS_EVENT_SERVER_CRITICAL_ERROR = 2,
  77. WMS_EVENT_SERVER_PROPERTY_CHANGE = 3,
  78. WMS_EVENT_SERVER_ALLOW_CLIENTS_TO_CONNECT_CHANGE = 4,
  79. WMS_EVENT_SERVER_PLUGIN_LOAD_TYPE_CHANGE = 5,
  80. WMS_EVENT_SERVER_REVERSE_PROXY_MODE_CHANGE = 6,
  81. WMS_EVENT_SERVER_DOWNLOAD_START = 7,
  82. WMS_EVENT_SERVER_DOWNLOAD_COMPLETE = 8,
  83. WMS_NUM_SERVER_EVENTS = 9
  84. } WMS_SERVER_EVENT_TYPE;
  85. typedef /* [public] */
  86. enum WMS_PUBLISHING_POINT_EVENT_TYPE
  87. { WMS_EVENT_PUBLISHING_POINT_ADD = 0,
  88. WMS_EVENT_PUBLISHING_POINT_REMOVE = 1,
  89. WMS_EVENT_PUBLISHING_POINT_ALLOW_CLIENTS_TO_CONNECT_CHANGE = 2,
  90. WMS_EVENT_PUBLISHING_POINT_START_WITHOUT_DATA = 3,
  91. WMS_EVENT_PUBLISHING_POINT_START = 4,
  92. WMS_EVENT_PUBLISHING_POINT_STOP = 5,
  93. WMS_EVENT_PUBLISHING_POINT_START_ARCHIVE = 6,
  94. WMS_EVENT_PUBLISHING_POINT_STOP_ARCHIVE = 7,
  95. WMS_EVENT_PUBLISHING_POINT_NAME_CHANGE = 8,
  96. WMS_EVENT_PUBLISHING_POINT_PATH_CHANGE = 9,
  97. WMS_EVENT_PUBLISHING_POINT_ALLOW_CLIENT_TO_START_AND_STOP_CHANGE = 10,
  98. WMS_EVENT_PUBLISHING_POINT_PROPERTY_CHANGE = 11,
  99. WMS_EVENT_PUBLISHING_POINT_WRAPPER_PATH_CHANGE = 12,
  100. WMS_EVENT_PUBLISHING_POINT_ENABLE_WRAPPER_PATH_CHANGE = 13,
  101. WMS_EVENT_PUBLISHING_POINT_ALLOW_CONTENT_CACHING_CHANGE = 14,
  102. WMS_EVENT_PUBLISHING_POINT_STREAM_END = 15,
  103. WMS_EVENT_PUBLISHING_POINT_CRITICAL_ERROR = 16,
  104. WMS_EVENT_PUBLISHING_POINT_ENABLE_CLIENT_WILDCARD_DIRECTORY_ACCESS_CHANGE = 17,
  105. WMS_EVENT_PUBLISHING_POINT_DISTRIBUTION_USER_NAME_CHANGE = 18,
  106. WMS_EVENT_PUBLISHING_POINT_DISTRIBUTION_PASSWORD_CHANGE = 19,
  107. WMS_EVENT_PUBLISHING_POINT_ALLOW_PLAYER_SIDE_DISK_CACHING_CHANGE = 20,
  108. WMS_EVENT_PUBLISHING_POINT_BUFFER_SETTING_CHANGE = 21,
  109. WMS_EVENT_PUBLISHING_POINT_ENABLE_FEC_CHANGE = 22,
  110. WMS_NUM_PUBLISHINGPOINT_EVENTS = 23
  111. } WMS_PUBLISHING_POINT_EVENT_TYPE;
  112. typedef /* [public] */
  113. enum WMS_LIMIT_CHANGE_EVENT_TYPE
  114. { WMS_EVENT_LIMIT_CHANGE_CONNECTED_PLAYERS = 0,
  115. WMS_EVENT_LIMIT_CHANGE_PLAYER_BANDWIDTH = 1,
  116. WMS_EVENT_LIMIT_CHANGE_PLAYER_CONNECTION_BANDWIDTH = 2,
  117. WMS_EVENT_LIMIT_CHANGE_DISTRIBUTION_CONNECTIONS = 3,
  118. WMS_EVENT_LIMIT_CHANGE_PLAYER_INACTIVITY_TIMEOUT = 4,
  119. WMS_EVENT_LIMIT_CHANGE_PLAYER_ACKNOWLEDGEMENT_TIMEOUT = 5,
  120. WMS_EVENT_LIMIT_CHANGE_CONNECTION_RATE = 6,
  121. WMS_EVENT_LIMIT_CHANGE_CPU_UTILIZATION_DURING_CONNECTION = 7,
  122. WMS_EVENT_LIMIT_CHANGE_DISTRIBUTION_BANDWIDTH = 8,
  123. WMS_EVENT_LIMIT_CHANGE_DISTRIBUTION_CONNECTION_BANDWIDTH = 9,
  124. WMS_EVENT_LIMIT_CHANGE_DIAGNOSTIC_EVENTS = 10,
  125. WMS_EVENT_LIMIT_CHANGE_PLAYER_CACHE_DELIVERY_RATE = 11,
  126. WMS_EVENT_LIMIT_CHANGE_FEC_PACKET_SPAN = 12,
  127. WMS_EVENT_LIMIT_CHANGE_INCOMING_BANDWIDTH = 13,
  128. WMS_NUM_LIMIT_CHANGE_EVENTS = 14
  129. } WMS_LIMIT_CHANGE_EVENT_TYPE;
  130. typedef /* [public] */
  131. enum WMS_LIMIT_HIT_EVENT_TYPE
  132. { WMS_EVENT_LIMIT_HIT_CONNECTED_PLAYERS = 0,
  133. WMS_EVENT_LIMIT_HIT_PLAYER_BANDWIDTH = 1,
  134. WMS_EVENT_LIMIT_HIT_PLAYER_CONNECTION_BANDWIDTH = 2,
  135. WMS_EVENT_LIMIT_HIT_DISTRIBUTION_CONNECTIONS = 3,
  136. WMS_EVENT_LIMIT_HIT_PLAYER_INACTIVITY_TIMEOUT = 4,
  137. WMS_EVENT_LIMIT_HIT_PLAYER_ACKNOWLEDGEMENT_TIMEOUT = 5,
  138. WMS_EVENT_LIMIT_HIT_CONNECTION_RATE = 6,
  139. WMS_EVENT_LIMIT_HIT_CPU_UTILIZATION_DURING_CONNECTION = 7,
  140. WMS_EVENT_LIMIT_HIT_DISTRIBUTION_BANDWIDTH = 8,
  141. WMS_EVENT_LIMIT_HIT_DISTRIBUTION_CONNECTION_BANDWIDTH = 9,
  142. WMS_EVENT_LIMIT_HIT_INCOMING_BANDWIDTH = 10,
  143. WMS_NUM_LIMIT_HIT_EVENTS = 11
  144. } WMS_LIMIT_HIT_EVENT_TYPE;
  145. typedef /* [public] */
  146. enum WMS_PLUGIN_EVENT_TYPE
  147. { WMS_EVENT_PLUGIN_ADD = 0,
  148. WMS_EVENT_PLUGIN_REMOVE = 1,
  149. WMS_EVENT_PLUGIN_ENABLE = 2,
  150. WMS_EVENT_PLUGIN_DISABLE = 3,
  151. WMS_EVENT_PLUGIN_PROPERTY_CHANGE = 4,
  152. WMS_EVENT_PLUGIN_ERROR = 5,
  153. WMS_EVENT_PLUGIN_NAME_CHANGE = 6,
  154. WMS_EVENT_PLUGIN_LOAD_TYPE_CHANGE = 7,
  155. WMS_EVENT_PLUGIN_SELECTION_ORDER_CHANGE = 8,
  156. WMS_NUM_PLUGIN_EVENTS = 9
  157. } WMS_PLUGIN_EVENT_TYPE;
  158. typedef /* [public] */
  159. enum WMS_CACHE_EVENT_TYPE
  160. { WMS_EVENT_CACHE_HIT = 0,
  161. WMS_EVENT_CACHE_MISS = 1,
  162. WMS_EVENT_CACHE_DOWNLOAD_START = 2,
  163. WMS_EVENT_CACHE_DOWNLOAD_COMPLETE = 3,
  164. WMS_EVENT_CACHE_REDIRECT = 4,
  165. WMS_EVENT_CACHE_REDIRECT_TO_PROXY = 5,
  166. WMS_EVENT_CACHE_PRESTUFF_COMPLETE = 6,
  167. WMS_NUM_CACHE_EVENTS = 7
  168. } WMS_CACHE_EVENT_TYPE;
  169. typedef /* [public] */
  170. enum WMS_PLAYLIST_EVENT_TYPE
  171. { WMS_EVENT_PLAYLIST_SWITCH = 0,
  172. WMS_EVENT_PLAYLIST_CUE = 1,
  173. WMS_EVENT_PLAYLIST_MODIFY = 2,
  174. WMS_EVENT_PLAYLIST_FAILOVER = 3,
  175. WMS_NUM_PLAYLIST_EVENTS = 4
  176. } WMS_PLAYLIST_EVENT_TYPE;
  177. typedef /* [public] */
  178. enum WMS_RECORD_PROGRESS_OPCODE
  179. { WMS_RECORD_PROGRESS_ARCHIVE_STARTED = 0,
  180. WMS_RECORD_PROGRESS_ARCHIVE_FINISHED = 1
  181. } WMS_RECORD_PROGRESS_OPCODE;
  182. extern RPC_IF_HANDLE __MIDL_itf_event_0000_v0_0_c_ifspec;
  183. extern RPC_IF_HANDLE __MIDL_itf_event_0000_v0_0_s_ifspec;
  184. #ifndef __IWMSEventNotificationPlugin_INTERFACE_DEFINED__
  185. #define __IWMSEventNotificationPlugin_INTERFACE_DEFINED__
  186. /* interface IWMSEventNotificationPlugin */
  187. /* [helpstring][unique][version][uuid][object] */
  188. EXTERN_C const IID IID_IWMSEventNotificationPlugin;
  189. #if defined(__cplusplus) && !defined(CINTERFACE)
  190. MIDL_INTERFACE("BE185FF0-6932-11d2-8B3B-006097B01206")
  191. IWMSEventNotificationPlugin : public IUnknown
  192. {
  193. public:
  194. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetHandledEvents(
  195. /* [retval][out] */ VARIANT *pvarEvents) = 0;
  196. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnEvent(
  197. /* [in] */ WMS_EVENT *pEvent,
  198. /* [in] */ IWMSContext *pUserCtx,
  199. /* [in] */ IWMSContext *pPresentationCtx,
  200. /* [in] */ IWMSCommandContext *pCommandCtx) = 0;
  201. };
  202. #else /* C style interface */
  203. typedef struct IWMSEventNotificationPluginVtbl
  204. {
  205. BEGIN_INTERFACE
  206. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  207. IWMSEventNotificationPlugin * This,
  208. /* [in] */ REFIID riid,
  209. /* [iid_is][out] */ void **ppvObject);
  210. ULONG ( STDMETHODCALLTYPE *AddRef )(
  211. IWMSEventNotificationPlugin * This);
  212. ULONG ( STDMETHODCALLTYPE *Release )(
  213. IWMSEventNotificationPlugin * This);
  214. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetHandledEvents )(
  215. IWMSEventNotificationPlugin * This,
  216. /* [retval][out] */ VARIANT *pvarEvents);
  217. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnEvent )(
  218. IWMSEventNotificationPlugin * This,
  219. /* [in] */ WMS_EVENT *pEvent,
  220. /* [in] */ IWMSContext *pUserCtx,
  221. /* [in] */ IWMSContext *pPresentationCtx,
  222. /* [in] */ IWMSCommandContext *pCommandCtx);
  223. END_INTERFACE
  224. } IWMSEventNotificationPluginVtbl;
  225. interface IWMSEventNotificationPlugin
  226. {
  227. CONST_VTBL struct IWMSEventNotificationPluginVtbl *lpVtbl;
  228. };
  229. #ifdef COBJMACROS
  230. #define IWMSEventNotificationPlugin_QueryInterface(This,riid,ppvObject) \
  231. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  232. #define IWMSEventNotificationPlugin_AddRef(This) \
  233. (This)->lpVtbl -> AddRef(This)
  234. #define IWMSEventNotificationPlugin_Release(This) \
  235. (This)->lpVtbl -> Release(This)
  236. #define IWMSEventNotificationPlugin_GetHandledEvents(This,pvarEvents) \
  237. (This)->lpVtbl -> GetHandledEvents(This,pvarEvents)
  238. #define IWMSEventNotificationPlugin_OnEvent(This,pEvent,pUserCtx,pPresentationCtx,pCommandCtx) \
  239. (This)->lpVtbl -> OnEvent(This,pEvent,pUserCtx,pPresentationCtx,pCommandCtx)
  240. #endif /* COBJMACROS */
  241. #endif /* C style interface */
  242. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSEventNotificationPlugin_GetHandledEvents_Proxy(
  243. IWMSEventNotificationPlugin * This,
  244. /* [retval][out] */ VARIANT *pvarEvents);
  245. void __RPC_STUB IWMSEventNotificationPlugin_GetHandledEvents_Stub(
  246. IRpcStubBuffer *This,
  247. IRpcChannelBuffer *_pRpcChannelBuffer,
  248. PRPC_MESSAGE _pRpcMessage,
  249. DWORD *_pdwStubPhase);
  250. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSEventNotificationPlugin_OnEvent_Proxy(
  251. IWMSEventNotificationPlugin * This,
  252. /* [in] */ WMS_EVENT *pEvent,
  253. /* [in] */ IWMSContext *pUserCtx,
  254. /* [in] */ IWMSContext *pPresentationCtx,
  255. /* [in] */ IWMSCommandContext *pCommandCtx);
  256. void __RPC_STUB IWMSEventNotificationPlugin_OnEvent_Stub(
  257. IRpcStubBuffer *This,
  258. IRpcChannelBuffer *_pRpcChannelBuffer,
  259. PRPC_MESSAGE _pRpcMessage,
  260. DWORD *_pdwStubPhase);
  261. #endif /* __IWMSEventNotificationPlugin_INTERFACE_DEFINED__ */
  262. #ifndef __IWMSEventAuthorizationPlugin_INTERFACE_DEFINED__
  263. #define __IWMSEventAuthorizationPlugin_INTERFACE_DEFINED__
  264. /* interface IWMSEventAuthorizationPlugin */
  265. /* [helpstring][unique][version][uuid][object] */
  266. EXTERN_C const IID IID_IWMSEventAuthorizationPlugin;
  267. #if defined(__cplusplus) && !defined(CINTERFACE)
  268. MIDL_INTERFACE("BE185FF1-6932-11d2-8B3B-006097B01206")
  269. IWMSEventAuthorizationPlugin : public IUnknown
  270. {
  271. public:
  272. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAuthorizedEvents(
  273. /* [retval][out] */ VARIANT *pvarEvents) = 0;
  274. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AuthorizeEvent(
  275. /* [in] */ WMS_EVENT *pEvent,
  276. /* [in] */ IWMSContext *pUserCtx,
  277. /* [in] */ IWMSContext *pPresentationCtx,
  278. /* [in] */ IWMSCommandContext *pCommandCtx,
  279. /* [in] */ IWMSEventAuthorizationCallback *pCallback,
  280. /* [in] */ VARIANT Context) = 0;
  281. };
  282. #else /* C style interface */
  283. typedef struct IWMSEventAuthorizationPluginVtbl
  284. {
  285. BEGIN_INTERFACE
  286. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  287. IWMSEventAuthorizationPlugin * This,
  288. /* [in] */ REFIID riid,
  289. /* [iid_is][out] */ void **ppvObject);
  290. ULONG ( STDMETHODCALLTYPE *AddRef )(
  291. IWMSEventAuthorizationPlugin * This);
  292. ULONG ( STDMETHODCALLTYPE *Release )(
  293. IWMSEventAuthorizationPlugin * This);
  294. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAuthorizedEvents )(
  295. IWMSEventAuthorizationPlugin * This,
  296. /* [retval][out] */ VARIANT *pvarEvents);
  297. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AuthorizeEvent )(
  298. IWMSEventAuthorizationPlugin * This,
  299. /* [in] */ WMS_EVENT *pEvent,
  300. /* [in] */ IWMSContext *pUserCtx,
  301. /* [in] */ IWMSContext *pPresentationCtx,
  302. /* [in] */ IWMSCommandContext *pCommandCtx,
  303. /* [in] */ IWMSEventAuthorizationCallback *pCallback,
  304. /* [in] */ VARIANT Context);
  305. END_INTERFACE
  306. } IWMSEventAuthorizationPluginVtbl;
  307. interface IWMSEventAuthorizationPlugin
  308. {
  309. CONST_VTBL struct IWMSEventAuthorizationPluginVtbl *lpVtbl;
  310. };
  311. #ifdef COBJMACROS
  312. #define IWMSEventAuthorizationPlugin_QueryInterface(This,riid,ppvObject) \
  313. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  314. #define IWMSEventAuthorizationPlugin_AddRef(This) \
  315. (This)->lpVtbl -> AddRef(This)
  316. #define IWMSEventAuthorizationPlugin_Release(This) \
  317. (This)->lpVtbl -> Release(This)
  318. #define IWMSEventAuthorizationPlugin_GetAuthorizedEvents(This,pvarEvents) \
  319. (This)->lpVtbl -> GetAuthorizedEvents(This,pvarEvents)
  320. #define IWMSEventAuthorizationPlugin_AuthorizeEvent(This,pEvent,pUserCtx,pPresentationCtx,pCommandCtx,pCallback,Context) \
  321. (This)->lpVtbl -> AuthorizeEvent(This,pEvent,pUserCtx,pPresentationCtx,pCommandCtx,pCallback,Context)
  322. #endif /* COBJMACROS */
  323. #endif /* C style interface */
  324. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSEventAuthorizationPlugin_GetAuthorizedEvents_Proxy(
  325. IWMSEventAuthorizationPlugin * This,
  326. /* [retval][out] */ VARIANT *pvarEvents);
  327. void __RPC_STUB IWMSEventAuthorizationPlugin_GetAuthorizedEvents_Stub(
  328. IRpcStubBuffer *This,
  329. IRpcChannelBuffer *_pRpcChannelBuffer,
  330. PRPC_MESSAGE _pRpcMessage,
  331. DWORD *_pdwStubPhase);
  332. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSEventAuthorizationPlugin_AuthorizeEvent_Proxy(
  333. IWMSEventAuthorizationPlugin * This,
  334. /* [in] */ WMS_EVENT *pEvent,
  335. /* [in] */ IWMSContext *pUserCtx,
  336. /* [in] */ IWMSContext *pPresentationCtx,
  337. /* [in] */ IWMSCommandContext *pCommandCtx,
  338. /* [in] */ IWMSEventAuthorizationCallback *pCallback,
  339. /* [in] */ VARIANT Context);
  340. void __RPC_STUB IWMSEventAuthorizationPlugin_AuthorizeEvent_Stub(
  341. IRpcStubBuffer *This,
  342. IRpcChannelBuffer *_pRpcChannelBuffer,
  343. PRPC_MESSAGE _pRpcMessage,
  344. DWORD *_pdwStubPhase);
  345. #endif /* __IWMSEventAuthorizationPlugin_INTERFACE_DEFINED__ */
  346. #ifndef __IWMSEventAuthorizationCallback_INTERFACE_DEFINED__
  347. #define __IWMSEventAuthorizationCallback_INTERFACE_DEFINED__
  348. /* interface IWMSEventAuthorizationCallback */
  349. /* [helpstring][unique][version][uuid][object] */
  350. EXTERN_C const IID IID_IWMSEventAuthorizationCallback;
  351. #if defined(__cplusplus) && !defined(CINTERFACE)
  352. MIDL_INTERFACE("BE185FF2-6932-11d2-8B3B-006097B01206")
  353. IWMSEventAuthorizationCallback : public IUnknown
  354. {
  355. public:
  356. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnAuthorizeEvent(
  357. /* [in] */ long hr,
  358. /* [in] */ VARIANT Context) = 0;
  359. };
  360. #else /* C style interface */
  361. typedef struct IWMSEventAuthorizationCallbackVtbl
  362. {
  363. BEGIN_INTERFACE
  364. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  365. IWMSEventAuthorizationCallback * This,
  366. /* [in] */ REFIID riid,
  367. /* [iid_is][out] */ void **ppvObject);
  368. ULONG ( STDMETHODCALLTYPE *AddRef )(
  369. IWMSEventAuthorizationCallback * This);
  370. ULONG ( STDMETHODCALLTYPE *Release )(
  371. IWMSEventAuthorizationCallback * This);
  372. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnAuthorizeEvent )(
  373. IWMSEventAuthorizationCallback * This,
  374. /* [in] */ long hr,
  375. /* [in] */ VARIANT Context);
  376. END_INTERFACE
  377. } IWMSEventAuthorizationCallbackVtbl;
  378. interface IWMSEventAuthorizationCallback
  379. {
  380. CONST_VTBL struct IWMSEventAuthorizationCallbackVtbl *lpVtbl;
  381. };
  382. #ifdef COBJMACROS
  383. #define IWMSEventAuthorizationCallback_QueryInterface(This,riid,ppvObject) \
  384. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  385. #define IWMSEventAuthorizationCallback_AddRef(This) \
  386. (This)->lpVtbl -> AddRef(This)
  387. #define IWMSEventAuthorizationCallback_Release(This) \
  388. (This)->lpVtbl -> Release(This)
  389. #define IWMSEventAuthorizationCallback_OnAuthorizeEvent(This,hr,Context) \
  390. (This)->lpVtbl -> OnAuthorizeEvent(This,hr,Context)
  391. #endif /* COBJMACROS */
  392. #endif /* C style interface */
  393. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSEventAuthorizationCallback_OnAuthorizeEvent_Proxy(
  394. IWMSEventAuthorizationCallback * This,
  395. /* [in] */ long hr,
  396. /* [in] */ VARIANT Context);
  397. void __RPC_STUB IWMSEventAuthorizationCallback_OnAuthorizeEvent_Stub(
  398. IRpcStubBuffer *This,
  399. IRpcChannelBuffer *_pRpcChannelBuffer,
  400. PRPC_MESSAGE _pRpcMessage,
  401. DWORD *_pdwStubPhase);
  402. #endif /* __IWMSEventAuthorizationCallback_INTERFACE_DEFINED__ */
  403. /* Additional Prototypes for ALL interfaces */
  404. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  405. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  406. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  407. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  408. /* end of Additional Prototypes */
  409. #ifdef __cplusplus
  410. }
  411. #endif
  412. #endif