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.

391 lines
11 KiB

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