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.

403 lines
11 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 wmdmlog.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 __wmdmlog_h__
  27. #define __wmdmlog_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMDMLogger_FWD_DEFINED__
  33. #define __IWMDMLogger_FWD_DEFINED__
  34. typedef interface IWMDMLogger IWMDMLogger;
  35. #endif /* __IWMDMLogger_FWD_DEFINED__ */
  36. #ifndef __WMDMLogger_FWD_DEFINED__
  37. #define __WMDMLogger_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class WMDMLogger WMDMLogger;
  40. #else
  41. typedef struct WMDMLogger WMDMLogger;
  42. #endif /* __cplusplus */
  43. #endif /* __WMDMLogger_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "oaidl.h"
  46. #include "ocidl.h"
  47. #ifdef __cplusplus
  48. extern "C"{
  49. #endif
  50. void * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void * );
  52. /* interface __MIDL_itf_wmdmlog_0000 */
  53. /* [local] */
  54. #define WMDM_LOG_SEV_INFO 0x00000001
  55. #define WMDM_LOG_SEV_WARN 0x00000002
  56. #define WMDM_LOG_SEV_ERROR 0x00000004
  57. #define WMDM_LOG_NOTIMESTAMP 0x00000010
  58. extern RPC_IF_HANDLE __MIDL_itf_wmdmlog_0000_v0_0_c_ifspec;
  59. extern RPC_IF_HANDLE __MIDL_itf_wmdmlog_0000_v0_0_s_ifspec;
  60. #ifndef __IWMDMLogger_INTERFACE_DEFINED__
  61. #define __IWMDMLogger_INTERFACE_DEFINED__
  62. /* interface IWMDMLogger */
  63. /* [unique][uuid][object] */
  64. EXTERN_C const IID IID_IWMDMLogger;
  65. #if defined(__cplusplus) && !defined(CINTERFACE)
  66. MIDL_INTERFACE("110A3200-5A79-11d3-8D78-444553540000")
  67. IWMDMLogger : public IUnknown
  68. {
  69. public:
  70. virtual HRESULT STDMETHODCALLTYPE IsEnabled(
  71. /* [out] */ BOOL *pfEnabled) = 0;
  72. virtual HRESULT STDMETHODCALLTYPE Enable(
  73. /* [in] */ BOOL fEnable) = 0;
  74. virtual HRESULT STDMETHODCALLTYPE GetLogFileName(
  75. /* [size_is][string][out] */ LPSTR pszFilename,
  76. /* [in] */ UINT nMaxChars) = 0;
  77. virtual HRESULT STDMETHODCALLTYPE SetLogFileName(
  78. /* [string][in] */ LPSTR pszFilename) = 0;
  79. virtual HRESULT STDMETHODCALLTYPE LogString(
  80. /* [in] */ DWORD dwFlags,
  81. /* [string][in] */ LPSTR pszSrcName,
  82. /* [string][in] */ LPSTR pszLog) = 0;
  83. virtual HRESULT STDMETHODCALLTYPE LogDword(
  84. /* [in] */ DWORD dwFlags,
  85. /* [string][in] */ LPSTR pszSrcName,
  86. /* [string][in] */ LPSTR pszLogFormat,
  87. /* [in] */ DWORD dwLog) = 0;
  88. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  89. virtual HRESULT STDMETHODCALLTYPE GetSizeParams(
  90. /* [out] */ LPDWORD pdwMaxSize,
  91. /* [out] */ LPDWORD pdwShrinkToSize) = 0;
  92. virtual HRESULT STDMETHODCALLTYPE SetSizeParams(
  93. /* [in] */ DWORD dwMaxSize,
  94. /* [in] */ DWORD dwShrinkToSize) = 0;
  95. };
  96. #else /* C style interface */
  97. typedef struct IWMDMLoggerVtbl
  98. {
  99. BEGIN_INTERFACE
  100. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  101. IWMDMLogger * This,
  102. /* [in] */ REFIID riid,
  103. /* [iid_is][out] */ void **ppvObject);
  104. ULONG ( STDMETHODCALLTYPE *AddRef )(
  105. IWMDMLogger * This);
  106. ULONG ( STDMETHODCALLTYPE *Release )(
  107. IWMDMLogger * This);
  108. HRESULT ( STDMETHODCALLTYPE *IsEnabled )(
  109. IWMDMLogger * This,
  110. /* [out] */ BOOL *pfEnabled);
  111. HRESULT ( STDMETHODCALLTYPE *Enable )(
  112. IWMDMLogger * This,
  113. /* [in] */ BOOL fEnable);
  114. HRESULT ( STDMETHODCALLTYPE *GetLogFileName )(
  115. IWMDMLogger * This,
  116. /* [size_is][string][out] */ LPSTR pszFilename,
  117. /* [in] */ UINT nMaxChars);
  118. HRESULT ( STDMETHODCALLTYPE *SetLogFileName )(
  119. IWMDMLogger * This,
  120. /* [string][in] */ LPSTR pszFilename);
  121. HRESULT ( STDMETHODCALLTYPE *LogString )(
  122. IWMDMLogger * This,
  123. /* [in] */ DWORD dwFlags,
  124. /* [string][in] */ LPSTR pszSrcName,
  125. /* [string][in] */ LPSTR pszLog);
  126. HRESULT ( STDMETHODCALLTYPE *LogDword )(
  127. IWMDMLogger * This,
  128. /* [in] */ DWORD dwFlags,
  129. /* [string][in] */ LPSTR pszSrcName,
  130. /* [string][in] */ LPSTR pszLogFormat,
  131. /* [in] */ DWORD dwLog);
  132. HRESULT ( STDMETHODCALLTYPE *Reset )(
  133. IWMDMLogger * This);
  134. HRESULT ( STDMETHODCALLTYPE *GetSizeParams )(
  135. IWMDMLogger * This,
  136. /* [out] */ LPDWORD pdwMaxSize,
  137. /* [out] */ LPDWORD pdwShrinkToSize);
  138. HRESULT ( STDMETHODCALLTYPE *SetSizeParams )(
  139. IWMDMLogger * This,
  140. /* [in] */ DWORD dwMaxSize,
  141. /* [in] */ DWORD dwShrinkToSize);
  142. END_INTERFACE
  143. } IWMDMLoggerVtbl;
  144. interface IWMDMLogger
  145. {
  146. CONST_VTBL struct IWMDMLoggerVtbl *lpVtbl;
  147. };
  148. #ifdef COBJMACROS
  149. #define IWMDMLogger_QueryInterface(This,riid,ppvObject) \
  150. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  151. #define IWMDMLogger_AddRef(This) \
  152. (This)->lpVtbl -> AddRef(This)
  153. #define IWMDMLogger_Release(This) \
  154. (This)->lpVtbl -> Release(This)
  155. #define IWMDMLogger_IsEnabled(This,pfEnabled) \
  156. (This)->lpVtbl -> IsEnabled(This,pfEnabled)
  157. #define IWMDMLogger_Enable(This,fEnable) \
  158. (This)->lpVtbl -> Enable(This,fEnable)
  159. #define IWMDMLogger_GetLogFileName(This,pszFilename,nMaxChars) \
  160. (This)->lpVtbl -> GetLogFileName(This,pszFilename,nMaxChars)
  161. #define IWMDMLogger_SetLogFileName(This,pszFilename) \
  162. (This)->lpVtbl -> SetLogFileName(This,pszFilename)
  163. #define IWMDMLogger_LogString(This,dwFlags,pszSrcName,pszLog) \
  164. (This)->lpVtbl -> LogString(This,dwFlags,pszSrcName,pszLog)
  165. #define IWMDMLogger_LogDword(This,dwFlags,pszSrcName,pszLogFormat,dwLog) \
  166. (This)->lpVtbl -> LogDword(This,dwFlags,pszSrcName,pszLogFormat,dwLog)
  167. #define IWMDMLogger_Reset(This) \
  168. (This)->lpVtbl -> Reset(This)
  169. #define IWMDMLogger_GetSizeParams(This,pdwMaxSize,pdwShrinkToSize) \
  170. (This)->lpVtbl -> GetSizeParams(This,pdwMaxSize,pdwShrinkToSize)
  171. #define IWMDMLogger_SetSizeParams(This,dwMaxSize,dwShrinkToSize) \
  172. (This)->lpVtbl -> SetSizeParams(This,dwMaxSize,dwShrinkToSize)
  173. #endif /* COBJMACROS */
  174. #endif /* C style interface */
  175. HRESULT STDMETHODCALLTYPE IWMDMLogger_IsEnabled_Proxy(
  176. IWMDMLogger * This,
  177. /* [out] */ BOOL *pfEnabled);
  178. void __RPC_STUB IWMDMLogger_IsEnabled_Stub(
  179. IRpcStubBuffer *This,
  180. IRpcChannelBuffer *_pRpcChannelBuffer,
  181. PRPC_MESSAGE _pRpcMessage,
  182. DWORD *_pdwStubPhase);
  183. HRESULT STDMETHODCALLTYPE IWMDMLogger_Enable_Proxy(
  184. IWMDMLogger * This,
  185. /* [in] */ BOOL fEnable);
  186. void __RPC_STUB IWMDMLogger_Enable_Stub(
  187. IRpcStubBuffer *This,
  188. IRpcChannelBuffer *_pRpcChannelBuffer,
  189. PRPC_MESSAGE _pRpcMessage,
  190. DWORD *_pdwStubPhase);
  191. HRESULT STDMETHODCALLTYPE IWMDMLogger_GetLogFileName_Proxy(
  192. IWMDMLogger * This,
  193. /* [size_is][string][out] */ LPSTR pszFilename,
  194. /* [in] */ UINT nMaxChars);
  195. void __RPC_STUB IWMDMLogger_GetLogFileName_Stub(
  196. IRpcStubBuffer *This,
  197. IRpcChannelBuffer *_pRpcChannelBuffer,
  198. PRPC_MESSAGE _pRpcMessage,
  199. DWORD *_pdwStubPhase);
  200. HRESULT STDMETHODCALLTYPE IWMDMLogger_SetLogFileName_Proxy(
  201. IWMDMLogger * This,
  202. /* [string][in] */ LPSTR pszFilename);
  203. void __RPC_STUB IWMDMLogger_SetLogFileName_Stub(
  204. IRpcStubBuffer *This,
  205. IRpcChannelBuffer *_pRpcChannelBuffer,
  206. PRPC_MESSAGE _pRpcMessage,
  207. DWORD *_pdwStubPhase);
  208. HRESULT STDMETHODCALLTYPE IWMDMLogger_LogString_Proxy(
  209. IWMDMLogger * This,
  210. /* [in] */ DWORD dwFlags,
  211. /* [string][in] */ LPSTR pszSrcName,
  212. /* [string][in] */ LPSTR pszLog);
  213. void __RPC_STUB IWMDMLogger_LogString_Stub(
  214. IRpcStubBuffer *This,
  215. IRpcChannelBuffer *_pRpcChannelBuffer,
  216. PRPC_MESSAGE _pRpcMessage,
  217. DWORD *_pdwStubPhase);
  218. HRESULT STDMETHODCALLTYPE IWMDMLogger_LogDword_Proxy(
  219. IWMDMLogger * This,
  220. /* [in] */ DWORD dwFlags,
  221. /* [string][in] */ LPSTR pszSrcName,
  222. /* [string][in] */ LPSTR pszLogFormat,
  223. /* [in] */ DWORD dwLog);
  224. void __RPC_STUB IWMDMLogger_LogDword_Stub(
  225. IRpcStubBuffer *This,
  226. IRpcChannelBuffer *_pRpcChannelBuffer,
  227. PRPC_MESSAGE _pRpcMessage,
  228. DWORD *_pdwStubPhase);
  229. HRESULT STDMETHODCALLTYPE IWMDMLogger_Reset_Proxy(
  230. IWMDMLogger * This);
  231. void __RPC_STUB IWMDMLogger_Reset_Stub(
  232. IRpcStubBuffer *This,
  233. IRpcChannelBuffer *_pRpcChannelBuffer,
  234. PRPC_MESSAGE _pRpcMessage,
  235. DWORD *_pdwStubPhase);
  236. HRESULT STDMETHODCALLTYPE IWMDMLogger_GetSizeParams_Proxy(
  237. IWMDMLogger * This,
  238. /* [out] */ LPDWORD pdwMaxSize,
  239. /* [out] */ LPDWORD pdwShrinkToSize);
  240. void __RPC_STUB IWMDMLogger_GetSizeParams_Stub(
  241. IRpcStubBuffer *This,
  242. IRpcChannelBuffer *_pRpcChannelBuffer,
  243. PRPC_MESSAGE _pRpcMessage,
  244. DWORD *_pdwStubPhase);
  245. HRESULT STDMETHODCALLTYPE IWMDMLogger_SetSizeParams_Proxy(
  246. IWMDMLogger * This,
  247. /* [in] */ DWORD dwMaxSize,
  248. /* [in] */ DWORD dwShrinkToSize);
  249. void __RPC_STUB IWMDMLogger_SetSizeParams_Stub(
  250. IRpcStubBuffer *This,
  251. IRpcChannelBuffer *_pRpcChannelBuffer,
  252. PRPC_MESSAGE _pRpcMessage,
  253. DWORD *_pdwStubPhase);
  254. #endif /* __IWMDMLogger_INTERFACE_DEFINED__ */
  255. #ifndef __WMDMLogLib_LIBRARY_DEFINED__
  256. #define __WMDMLogLib_LIBRARY_DEFINED__
  257. /* library WMDMLogLib */
  258. /* [helpstring][version][uuid] */
  259. EXTERN_C const IID LIBID_WMDMLogLib;
  260. EXTERN_C const CLSID CLSID_WMDMLogger;
  261. #ifdef __cplusplus
  262. class DECLSPEC_UUID("110A3202-5A79-11d3-8D78-444553540000")
  263. WMDMLogger;
  264. #endif
  265. #endif /* __WMDMLogLib_LIBRARY_DEFINED__ */
  266. /* Additional Prototypes for ALL interfaces */
  267. /* end of Additional Prototypes */
  268. #ifdef __cplusplus
  269. }
  270. #endif
  271. #endif