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.

248 lines
7.4 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 wmseventlog.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 __wmseventlog_h__
  27. #define __wmseventlog_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMSEventLog_FWD_DEFINED__
  33. #define __IWMSEventLog_FWD_DEFINED__
  34. typedef interface IWMSEventLog IWMSEventLog;
  35. #endif /* __IWMSEventLog_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "oaidl.h"
  38. #include "WMSNamedValues.h"
  39. #ifdef __cplusplus
  40. extern "C"{
  41. #endif
  42. void * __RPC_USER MIDL_user_allocate(size_t);
  43. void __RPC_USER MIDL_user_free( void * );
  44. /* interface __MIDL_itf_wmseventlog_0000 */
  45. /* [local] */
  46. //*****************************************************************************
  47. //
  48. // Microsoft Windows Media
  49. // Copyright (C) Microsoft Corporation. All rights reserved.
  50. //
  51. // Automatically generated by Midl from wmseventlog.idl
  52. //
  53. // DO NOT EDIT THIS FILE.
  54. //
  55. //*****************************************************************************
  56. #if _MSC_VER > 1000
  57. #pragma once
  58. #endif // _MSC_VER > 1000
  59. EXTERN_GUID( IID_IWMSEventLog, 0x7a0dcfb1, 0x47af, 0x11d2, 0x9e, 0xff, 0x00, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
  60. extern RPC_IF_HANDLE __MIDL_itf_wmseventlog_0000_v0_0_c_ifspec;
  61. extern RPC_IF_HANDLE __MIDL_itf_wmseventlog_0000_v0_0_s_ifspec;
  62. #ifndef __IWMSEventLog_INTERFACE_DEFINED__
  63. #define __IWMSEventLog_INTERFACE_DEFINED__
  64. /* interface IWMSEventLog */
  65. /* [unique][version][helpstring][dual][uuid][object] */
  66. typedef /* [uuid][public] */ DECLSPEC_UUID("940488C2-8F93-41c1-BBEB-43D1B48D084B")
  67. enum WMS_EVENT_LOG_LEVEL
  68. { WMS_EVENT_LOG_LEVEL_ERROR = 0x1,
  69. WMS_EVENT_LOG_LEVEL_WARNING = 0x2,
  70. WMS_EVENT_LOG_LEVEL_INFORMATION = 0x4
  71. } WMS_EVENT_LOG_LEVEL;
  72. EXTERN_C const IID IID_IWMSEventLog;
  73. #if defined(__cplusplus) && !defined(CINTERFACE)
  74. MIDL_INTERFACE("7A0DCFB1-47AF-11d2-9EFF-006097D2D7CF")
  75. IWMSEventLog : public IDispatch
  76. {
  77. public:
  78. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LogEvent(
  79. /* [in] */ IWMSNamedValues *pPluginNamedValues,
  80. /* [in] */ WMS_EVENT_LOG_LEVEL ErrorLevel,
  81. /* [in] */ long lErrorCode,
  82. /* [in] */ BSTR bstrAdditionalInfo) = 0;
  83. };
  84. #else /* C style interface */
  85. typedef struct IWMSEventLogVtbl
  86. {
  87. BEGIN_INTERFACE
  88. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  89. IWMSEventLog * This,
  90. /* [in] */ REFIID riid,
  91. /* [iid_is][out] */ void **ppvObject);
  92. ULONG ( STDMETHODCALLTYPE *AddRef )(
  93. IWMSEventLog * This);
  94. ULONG ( STDMETHODCALLTYPE *Release )(
  95. IWMSEventLog * This);
  96. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  97. IWMSEventLog * This,
  98. /* [out] */ UINT *pctinfo);
  99. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  100. IWMSEventLog * This,
  101. /* [in] */ UINT iTInfo,
  102. /* [in] */ LCID lcid,
  103. /* [out] */ ITypeInfo **ppTInfo);
  104. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  105. IWMSEventLog * This,
  106. /* [in] */ REFIID riid,
  107. /* [size_is][in] */ LPOLESTR *rgszNames,
  108. /* [in] */ UINT cNames,
  109. /* [in] */ LCID lcid,
  110. /* [size_is][out] */ DISPID *rgDispId);
  111. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  112. IWMSEventLog * This,
  113. /* [in] */ DISPID dispIdMember,
  114. /* [in] */ REFIID riid,
  115. /* [in] */ LCID lcid,
  116. /* [in] */ WORD wFlags,
  117. /* [out][in] */ DISPPARAMS *pDispParams,
  118. /* [out] */ VARIANT *pVarResult,
  119. /* [out] */ EXCEPINFO *pExcepInfo,
  120. /* [out] */ UINT *puArgErr);
  121. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogEvent )(
  122. IWMSEventLog * This,
  123. /* [in] */ IWMSNamedValues *pPluginNamedValues,
  124. /* [in] */ WMS_EVENT_LOG_LEVEL ErrorLevel,
  125. /* [in] */ long lErrorCode,
  126. /* [in] */ BSTR bstrAdditionalInfo);
  127. END_INTERFACE
  128. } IWMSEventLogVtbl;
  129. interface IWMSEventLog
  130. {
  131. CONST_VTBL struct IWMSEventLogVtbl *lpVtbl;
  132. };
  133. #ifdef COBJMACROS
  134. #define IWMSEventLog_QueryInterface(This,riid,ppvObject) \
  135. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  136. #define IWMSEventLog_AddRef(This) \
  137. (This)->lpVtbl -> AddRef(This)
  138. #define IWMSEventLog_Release(This) \
  139. (This)->lpVtbl -> Release(This)
  140. #define IWMSEventLog_GetTypeInfoCount(This,pctinfo) \
  141. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  142. #define IWMSEventLog_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  143. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  144. #define IWMSEventLog_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  145. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  146. #define IWMSEventLog_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  147. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  148. #define IWMSEventLog_LogEvent(This,pPluginNamedValues,ErrorLevel,lErrorCode,bstrAdditionalInfo) \
  149. (This)->lpVtbl -> LogEvent(This,pPluginNamedValues,ErrorLevel,lErrorCode,bstrAdditionalInfo)
  150. #endif /* COBJMACROS */
  151. #endif /* C style interface */
  152. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMSEventLog_LogEvent_Proxy(
  153. IWMSEventLog * This,
  154. /* [in] */ IWMSNamedValues *pPluginNamedValues,
  155. /* [in] */ WMS_EVENT_LOG_LEVEL ErrorLevel,
  156. /* [in] */ long lErrorCode,
  157. /* [in] */ BSTR bstrAdditionalInfo);
  158. void __RPC_STUB IWMSEventLog_LogEvent_Stub(
  159. IRpcStubBuffer *This,
  160. IRpcChannelBuffer *_pRpcChannelBuffer,
  161. PRPC_MESSAGE _pRpcMessage,
  162. DWORD *_pdwStubPhase);
  163. #endif /* __IWMSEventLog_INTERFACE_DEFINED__ */
  164. /* Additional Prototypes for ALL interfaces */
  165. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  166. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  167. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  168. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  169. /* end of Additional Prototypes */
  170. #ifdef __cplusplus
  171. }
  172. #endif
  173. #endif