windows-nt/Source/XPSP1/NT/public/sdk/inc/wmdmlog.h

392 lines
11 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Mon Mar 26 01:45:23 2001
*/
/* Compiler settings for .\wmdmlog.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
*/
//@@MIDL_FILE_HEADING( )
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __wmdmlog_h__
#define __wmdmlog_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IWMDMLogger_FWD_DEFINED__
#define __IWMDMLogger_FWD_DEFINED__
typedef interface IWMDMLogger IWMDMLogger;
#endif /* __IWMDMLogger_FWD_DEFINED__ */
#ifndef __WMDMLogger_FWD_DEFINED__
#define __WMDMLogger_FWD_DEFINED__
#ifdef __cplusplus
typedef class WMDMLogger WMDMLogger;
#else
typedef struct WMDMLogger WMDMLogger;
#endif /* __cplusplus */
#endif /* __WMDMLogger_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
/* interface __MIDL_itf_wmdmlog_0000 */
/* [local] */
#define WMDM_LOG_SEV_INFO 0x00000001
#define WMDM_LOG_SEV_WARN 0x00000002
#define WMDM_LOG_SEV_ERROR 0x00000004
#define WMDM_LOG_NOTIMESTAMP 0x00000010
extern RPC_IF_HANDLE __MIDL_itf_wmdmlog_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_wmdmlog_0000_v0_0_s_ifspec;
#ifndef __IWMDMLogger_INTERFACE_DEFINED__
#define __IWMDMLogger_INTERFACE_DEFINED__
/* interface IWMDMLogger */
/* [unique][uuid][object] */
EXTERN_C const IID IID_IWMDMLogger;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("110A3200-5A79-11d3-8D78-444553540000")
IWMDMLogger : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE IsEnabled(
/* [out] */ BOOL __RPC_FAR *pfEnabled) = 0;
virtual HRESULT STDMETHODCALLTYPE Enable(
/* [in] */ BOOL fEnable) = 0;
virtual HRESULT STDMETHODCALLTYPE GetLogFileName(
/* [size_is][string][out] */ LPSTR pszFilename,
/* [in] */ UINT nMaxChars) = 0;
virtual HRESULT STDMETHODCALLTYPE SetLogFileName(
/* [string][in] */ LPSTR pszFilename) = 0;
virtual HRESULT STDMETHODCALLTYPE LogString(
/* [in] */ DWORD dwFlags,
/* [string][in] */ LPSTR pszSrcName,
/* [string][in] */ LPSTR pszLog) = 0;
virtual HRESULT STDMETHODCALLTYPE LogDword(
/* [in] */ DWORD dwFlags,
/* [string][in] */ LPSTR pszSrcName,
/* [string][in] */ LPSTR pszLogFormat,
/* [in] */ DWORD dwLog) = 0;
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSizeParams(
/* [out] */ LPDWORD pdwMaxSize,
/* [out] */ LPDWORD pdwShrinkToSize) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSizeParams(
/* [in] */ DWORD dwMaxSize,
/* [in] */ DWORD dwShrinkToSize) = 0;
};
#else /* C style interface */
typedef struct IWMDMLoggerVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IWMDMLogger __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IWMDMLogger __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IWMDMLogger __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEnabled )(
IWMDMLogger __RPC_FAR * This,
/* [out] */ BOOL __RPC_FAR *pfEnabled);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Enable )(
IWMDMLogger __RPC_FAR * This,
/* [in] */ BOOL fEnable);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLogFileName )(
IWMDMLogger __RPC_FAR * This,
/* [size_is][string][out] */ LPSTR pszFilename,
/* [in] */ UINT nMaxChars);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLogFileName )(
IWMDMLogger __RPC_FAR * This,
/* [string][in] */ LPSTR pszFilename);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LogString )(
IWMDMLogger __RPC_FAR * This,
/* [in] */ DWORD dwFlags,
/* [string][in] */ LPSTR pszSrcName,
/* [string][in] */ LPSTR pszLog);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LogDword )(
IWMDMLogger __RPC_FAR * This,
/* [in] */ DWORD dwFlags,
/* [string][in] */ LPSTR pszSrcName,
/* [string][in] */ LPSTR pszLogFormat,
/* [in] */ DWORD dwLog);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
IWMDMLogger __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSizeParams )(
IWMDMLogger __RPC_FAR * This,
/* [out] */ LPDWORD pdwMaxSize,
/* [out] */ LPDWORD pdwShrinkToSize);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSizeParams )(
IWMDMLogger __RPC_FAR * This,
/* [in] */ DWORD dwMaxSize,
/* [in] */ DWORD dwShrinkToSize);
END_INTERFACE
} IWMDMLoggerVtbl;
interface IWMDMLogger
{
CONST_VTBL struct IWMDMLoggerVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IWMDMLogger_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IWMDMLogger_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IWMDMLogger_Release(This) \
(This)->lpVtbl -> Release(This)
#define IWMDMLogger_IsEnabled(This,pfEnabled) \
(This)->lpVtbl -> IsEnabled(This,pfEnabled)
#define IWMDMLogger_Enable(This,fEnable) \
(This)->lpVtbl -> Enable(This,fEnable)
#define IWMDMLogger_GetLogFileName(This,pszFilename,nMaxChars) \
(This)->lpVtbl -> GetLogFileName(This,pszFilename,nMaxChars)
#define IWMDMLogger_SetLogFileName(This,pszFilename) \
(This)->lpVtbl -> SetLogFileName(This,pszFilename)
#define IWMDMLogger_LogString(This,dwFlags,pszSrcName,pszLog) \
(This)->lpVtbl -> LogString(This,dwFlags,pszSrcName,pszLog)
#define IWMDMLogger_LogDword(This,dwFlags,pszSrcName,pszLogFormat,dwLog) \
(This)->lpVtbl -> LogDword(This,dwFlags,pszSrcName,pszLogFormat,dwLog)
#define IWMDMLogger_Reset(This) \
(This)->lpVtbl -> Reset(This)
#define IWMDMLogger_GetSizeParams(This,pdwMaxSize,pdwShrinkToSize) \
(This)->lpVtbl -> GetSizeParams(This,pdwMaxSize,pdwShrinkToSize)
#define IWMDMLogger_SetSizeParams(This,dwMaxSize,dwShrinkToSize) \
(This)->lpVtbl -> SetSizeParams(This,dwMaxSize,dwShrinkToSize)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IWMDMLogger_IsEnabled_Proxy(
IWMDMLogger __RPC_FAR * This,
/* [out] */ BOOL __RPC_FAR *pfEnabled);
void __RPC_STUB IWMDMLogger_IsEnabled_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMLogger_Enable_Proxy(
IWMDMLogger __RPC_FAR * This,
/* [in] */ BOOL fEnable);
void __RPC_STUB IWMDMLogger_Enable_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMLogger_GetLogFileName_Proxy(
IWMDMLogger __RPC_FAR * This,
/* [size_is][string][out] */ LPSTR pszFilename,
/* [in] */ UINT nMaxChars);
void __RPC_STUB IWMDMLogger_GetLogFileName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMLogger_SetLogFileName_Proxy(
IWMDMLogger __RPC_FAR * This,
/* [string][in] */ LPSTR pszFilename);
void __RPC_STUB IWMDMLogger_SetLogFileName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMLogger_LogString_Proxy(
IWMDMLogger __RPC_FAR * This,
/* [in] */ DWORD dwFlags,
/* [string][in] */ LPSTR pszSrcName,
/* [string][in] */ LPSTR pszLog);
void __RPC_STUB IWMDMLogger_LogString_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMLogger_LogDword_Proxy(
IWMDMLogger __RPC_FAR * This,
/* [in] */ DWORD dwFlags,
/* [string][in] */ LPSTR pszSrcName,
/* [string][in] */ LPSTR pszLogFormat,
/* [in] */ DWORD dwLog);
void __RPC_STUB IWMDMLogger_LogDword_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMLogger_Reset_Proxy(
IWMDMLogger __RPC_FAR * This);
void __RPC_STUB IWMDMLogger_Reset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMLogger_GetSizeParams_Proxy(
IWMDMLogger __RPC_FAR * This,
/* [out] */ LPDWORD pdwMaxSize,
/* [out] */ LPDWORD pdwShrinkToSize);
void __RPC_STUB IWMDMLogger_GetSizeParams_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMLogger_SetSizeParams_Proxy(
IWMDMLogger __RPC_FAR * This,
/* [in] */ DWORD dwMaxSize,
/* [in] */ DWORD dwShrinkToSize);
void __RPC_STUB IWMDMLogger_SetSizeParams_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IWMDMLogger_INTERFACE_DEFINED__ */
#ifndef __WMDMLogLib_LIBRARY_DEFINED__
#define __WMDMLogLib_LIBRARY_DEFINED__
/* library WMDMLogLib */
/* [helpstring][version][uuid] */
EXTERN_C const IID LIBID_WMDMLogLib;
EXTERN_C const CLSID CLSID_WMDMLogger;
#ifdef __cplusplus
class DECLSPEC_UUID("110A3202-5A79-11d3-8D78-444553540000")
WMDMLogger;
#endif
#endif /* __WMDMLogLib_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif