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.

293 lines
8.6 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 wmsbasicplugin.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 __wmsbasicplugin_h__
  27. #define __wmsbasicplugin_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMSBasicPlugin_FWD_DEFINED__
  33. #define __IWMSBasicPlugin_FWD_DEFINED__
  34. typedef interface IWMSBasicPlugin IWMSBasicPlugin;
  35. #endif /* __IWMSBasicPlugin_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "WMSNamedValues.h"
  38. #include "nsscore.h"
  39. #include "WMSEventLog.h"
  40. #ifdef __cplusplus
  41. extern "C"{
  42. #endif
  43. void * __RPC_USER MIDL_user_allocate(size_t);
  44. void __RPC_USER MIDL_user_free( void * );
  45. /* interface __MIDL_itf_wmsbasicplugin_0000 */
  46. /* [local] */
  47. //*****************************************************************************
  48. //
  49. // Microsoft Windows Media
  50. // Copyright (C) Microsoft Corporation. All rights reserved.
  51. //
  52. // Automatically generated by Midl from WMSBasicPlugin.idl
  53. //
  54. // DO NOT EDIT THIS FILE.
  55. //
  56. //*****************************************************************************
  57. EXTERN_GUID( IID_IWMSBasicPlugin, 0x66E6CE48,0xF8BB,0x4bcc,0x8F,0xD6,0x42,0xA9,0xD5,0xD3,0x28,0x71 );
  58. extern RPC_IF_HANDLE __MIDL_itf_wmsbasicplugin_0000_v0_0_c_ifspec;
  59. extern RPC_IF_HANDLE __MIDL_itf_wmsbasicplugin_0000_v0_0_s_ifspec;
  60. #ifndef __IWMSBasicPlugin_INTERFACE_DEFINED__
  61. #define __IWMSBasicPlugin_INTERFACE_DEFINED__
  62. /* interface IWMSBasicPlugin */
  63. /* [unique][version][helpstring][uuid][object] */
  64. EXTERN_C const IID IID_IWMSBasicPlugin;
  65. #if defined(__cplusplus) && !defined(CINTERFACE)
  66. MIDL_INTERFACE("66E6CE48-F8BB-4bcc-8FD6-42A9D5D32871")
  67. IWMSBasicPlugin : public IUnknown
  68. {
  69. public:
  70. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InitializePlugin(
  71. /* [in] */ IWMSContext *pServerContext,
  72. /* [in] */ IWMSNamedValues *pNamedValues,
  73. /* [in] */ IWMSClassObject *pClassFactory) = 0;
  74. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnHeartbeat( void) = 0;
  75. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCustomAdminInterface(
  76. /* [retval][out] */ IDispatch **ppValue) = 0;
  77. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ShutdownPlugin( void) = 0;
  78. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnablePlugin(
  79. /* [out][in] */ long *plFlags,
  80. /* [out][in] */ long *plHeartbeatPeriod) = 0;
  81. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DisablePlugin( void) = 0;
  82. };
  83. #else /* C style interface */
  84. typedef struct IWMSBasicPluginVtbl
  85. {
  86. BEGIN_INTERFACE
  87. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  88. IWMSBasicPlugin * This,
  89. /* [in] */ REFIID riid,
  90. /* [iid_is][out] */ void **ppvObject);
  91. ULONG ( STDMETHODCALLTYPE *AddRef )(
  92. IWMSBasicPlugin * This);
  93. ULONG ( STDMETHODCALLTYPE *Release )(
  94. IWMSBasicPlugin * This);
  95. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InitializePlugin )(
  96. IWMSBasicPlugin * This,
  97. /* [in] */ IWMSContext *pServerContext,
  98. /* [in] */ IWMSNamedValues *pNamedValues,
  99. /* [in] */ IWMSClassObject *pClassFactory);
  100. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnHeartbeat )(
  101. IWMSBasicPlugin * This);
  102. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCustomAdminInterface )(
  103. IWMSBasicPlugin * This,
  104. /* [retval][out] */ IDispatch **ppValue);
  105. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShutdownPlugin )(
  106. IWMSBasicPlugin * This);
  107. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnablePlugin )(
  108. IWMSBasicPlugin * This,
  109. /* [out][in] */ long *plFlags,
  110. /* [out][in] */ long *plHeartbeatPeriod);
  111. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DisablePlugin )(
  112. IWMSBasicPlugin * This);
  113. END_INTERFACE
  114. } IWMSBasicPluginVtbl;
  115. interface IWMSBasicPlugin
  116. {
  117. CONST_VTBL struct IWMSBasicPluginVtbl *lpVtbl;
  118. };
  119. #ifdef COBJMACROS
  120. #define IWMSBasicPlugin_QueryInterface(This,riid,ppvObject) \
  121. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  122. #define IWMSBasicPlugin_AddRef(This) \
  123. (This)->lpVtbl -> AddRef(This)
  124. #define IWMSBasicPlugin_Release(This) \
  125. (This)->lpVtbl -> Release(This)
  126. #define IWMSBasicPlugin_InitializePlugin(This,pServerContext,pNamedValues,pClassFactory) \
  127. (This)->lpVtbl -> InitializePlugin(This,pServerContext,pNamedValues,pClassFactory)
  128. #define IWMSBasicPlugin_OnHeartbeat(This) \
  129. (This)->lpVtbl -> OnHeartbeat(This)
  130. #define IWMSBasicPlugin_GetCustomAdminInterface(This,ppValue) \
  131. (This)->lpVtbl -> GetCustomAdminInterface(This,ppValue)
  132. #define IWMSBasicPlugin_ShutdownPlugin(This) \
  133. (This)->lpVtbl -> ShutdownPlugin(This)
  134. #define IWMSBasicPlugin_EnablePlugin(This,plFlags,plHeartbeatPeriod) \
  135. (This)->lpVtbl -> EnablePlugin(This,plFlags,plHeartbeatPeriod)
  136. #define IWMSBasicPlugin_DisablePlugin(This) \
  137. (This)->lpVtbl -> DisablePlugin(This)
  138. #endif /* COBJMACROS */
  139. #endif /* C style interface */
  140. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSBasicPlugin_InitializePlugin_Proxy(
  141. IWMSBasicPlugin * This,
  142. /* [in] */ IWMSContext *pServerContext,
  143. /* [in] */ IWMSNamedValues *pNamedValues,
  144. /* [in] */ IWMSClassObject *pClassFactory);
  145. void __RPC_STUB IWMSBasicPlugin_InitializePlugin_Stub(
  146. IRpcStubBuffer *This,
  147. IRpcChannelBuffer *_pRpcChannelBuffer,
  148. PRPC_MESSAGE _pRpcMessage,
  149. DWORD *_pdwStubPhase);
  150. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSBasicPlugin_OnHeartbeat_Proxy(
  151. IWMSBasicPlugin * This);
  152. void __RPC_STUB IWMSBasicPlugin_OnHeartbeat_Stub(
  153. IRpcStubBuffer *This,
  154. IRpcChannelBuffer *_pRpcChannelBuffer,
  155. PRPC_MESSAGE _pRpcMessage,
  156. DWORD *_pdwStubPhase);
  157. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSBasicPlugin_GetCustomAdminInterface_Proxy(
  158. IWMSBasicPlugin * This,
  159. /* [retval][out] */ IDispatch **ppValue);
  160. void __RPC_STUB IWMSBasicPlugin_GetCustomAdminInterface_Stub(
  161. IRpcStubBuffer *This,
  162. IRpcChannelBuffer *_pRpcChannelBuffer,
  163. PRPC_MESSAGE _pRpcMessage,
  164. DWORD *_pdwStubPhase);
  165. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSBasicPlugin_ShutdownPlugin_Proxy(
  166. IWMSBasicPlugin * This);
  167. void __RPC_STUB IWMSBasicPlugin_ShutdownPlugin_Stub(
  168. IRpcStubBuffer *This,
  169. IRpcChannelBuffer *_pRpcChannelBuffer,
  170. PRPC_MESSAGE _pRpcMessage,
  171. DWORD *_pdwStubPhase);
  172. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSBasicPlugin_EnablePlugin_Proxy(
  173. IWMSBasicPlugin * This,
  174. /* [out][in] */ long *plFlags,
  175. /* [out][in] */ long *plHeartbeatPeriod);
  176. void __RPC_STUB IWMSBasicPlugin_EnablePlugin_Stub(
  177. IRpcStubBuffer *This,
  178. IRpcChannelBuffer *_pRpcChannelBuffer,
  179. PRPC_MESSAGE _pRpcMessage,
  180. DWORD *_pdwStubPhase);
  181. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSBasicPlugin_DisablePlugin_Proxy(
  182. IWMSBasicPlugin * This);
  183. void __RPC_STUB IWMSBasicPlugin_DisablePlugin_Stub(
  184. IRpcStubBuffer *This,
  185. IRpcChannelBuffer *_pRpcChannelBuffer,
  186. PRPC_MESSAGE _pRpcMessage,
  187. DWORD *_pdwStubPhase);
  188. #endif /* __IWMSBasicPlugin_INTERFACE_DEFINED__ */
  189. /* Additional Prototypes for ALL interfaces */
  190. /* end of Additional Prototypes */
  191. #ifdef __cplusplus
  192. }
  193. #endif
  194. #endif