windows-nt/Source/XPSP1/NT/termsrv/setup/tsdiag/evntutl/evntutl.h
2020-09-26 16:20:57 +08:00

1268 lines
35 KiB
C++

#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0334 */
/* Compiler settings for evntutl.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@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__ 475
#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 __evntutl_h__
#define __evntutl_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IView_FWD_DEFINED__
#define __IView_FWD_DEFINED__
typedef interface IView IView;
#endif /* __IView_FWD_DEFINED__ */
#ifndef __ILogs_FWD_DEFINED__
#define __ILogs_FWD_DEFINED__
typedef interface ILogs ILogs;
#endif /* __ILogs_FWD_DEFINED__ */
#ifndef __ILog_FWD_DEFINED__
#define __ILog_FWD_DEFINED__
typedef interface ILog ILog;
#endif /* __ILog_FWD_DEFINED__ */
#ifndef __IEvents_FWD_DEFINED__
#define __IEvents_FWD_DEFINED__
typedef interface IEvents IEvents;
#endif /* __IEvents_FWD_DEFINED__ */
#ifndef __IEvent_FWD_DEFINED__
#define __IEvent_FWD_DEFINED__
typedef interface IEvent IEvent;
#endif /* __IEvent_FWD_DEFINED__ */
#ifndef __ILogs_FWD_DEFINED__
#define __ILogs_FWD_DEFINED__
typedef interface ILogs ILogs;
#endif /* __ILogs_FWD_DEFINED__ */
#ifndef __IEvents_FWD_DEFINED__
#define __IEvents_FWD_DEFINED__
typedef interface IEvents IEvents;
#endif /* __IEvents_FWD_DEFINED__ */
#ifndef __View_FWD_DEFINED__
#define __View_FWD_DEFINED__
#ifdef __cplusplus
typedef class View View;
#else
typedef struct View View;
#endif /* __cplusplus */
#endif /* __View_FWD_DEFINED__ */
#ifndef __Log_FWD_DEFINED__
#define __Log_FWD_DEFINED__
#ifdef __cplusplus
typedef class Log Log;
#else
typedef struct Log Log;
#endif /* __cplusplus */
#endif /* __Log_FWD_DEFINED__ */
#ifndef __Event_FWD_DEFINED__
#define __Event_FWD_DEFINED__
#ifdef __cplusplus
typedef class Event Event;
#else
typedef struct Event Event;
#endif /* __cplusplus */
#endif /* __Event_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
/* interface __MIDL_itf_evntutl_0000 */
/* [local] */
typedef
enum eEventType
{ ErrorEvent = 0,
WarningEvent = 1,
InformationEvent = 2,
AuditSuccess = 3,
AuditFailure = 4
} eEventType;
extern RPC_IF_HANDLE __MIDL_itf_evntutl_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_evntutl_0000_v0_0_s_ifspec;
#ifndef __IView_INTERFACE_DEFINED__
#define __IView_INTERFACE_DEFINED__
/* interface IView */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IView;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("CACECD29-3108-4132-9A4E-53B54FFDAFA0")
IView : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Logs(
/* [retval][out] */ VARIANT *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Server(
/* [retval][out] */ BSTR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Server(
/* [in] */ BSTR newVal) = 0;
};
#else /* C style interface */
typedef struct IViewVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IView * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IView * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IView * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IView * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IView * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IView * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IView * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Logs )(
IView * This,
/* [retval][out] */ VARIANT *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Server )(
IView * This,
/* [retval][out] */ BSTR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Server )(
IView * This,
/* [in] */ BSTR newVal);
END_INTERFACE
} IViewVtbl;
interface IView
{
CONST_VTBL struct IViewVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IView_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IView_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IView_Release(This) \
(This)->lpVtbl -> Release(This)
#define IView_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IView_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IView_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IView_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IView_get_Logs(This,pVal) \
(This)->lpVtbl -> get_Logs(This,pVal)
#define IView_get_Server(This,pVal) \
(This)->lpVtbl -> get_Server(This,pVal)
#define IView_put_Server(This,newVal) \
(This)->lpVtbl -> put_Server(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IView_get_Logs_Proxy(
IView * This,
/* [retval][out] */ VARIANT *pVal);
void __RPC_STUB IView_get_Logs_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IView_get_Server_Proxy(
IView * This,
/* [retval][out] */ BSTR *pVal);
void __RPC_STUB IView_get_Server_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IView_put_Server_Proxy(
IView * This,
/* [in] */ BSTR newVal);
void __RPC_STUB IView_put_Server_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IView_INTERFACE_DEFINED__ */
#ifndef __ILogs_INTERFACE_DEFINED__
#define __ILogs_INTERFACE_DEFINED__
/* interface ILogs */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ILogs;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("AAA9B130-C64E-400F-BC63-BA9C946082A6")
ILogs : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
/* [retval][out] */ long *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
/* [retval][out] */ LPUNKNOWN *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
/* [in] */ VARIANT Index,
/* [retval][out] */ VARIANT *pVal) = 0;
};
#else /* C style interface */
typedef struct ILogsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ILogs * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ILogs * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ILogs * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
ILogs * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
ILogs * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
ILogs * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
ILogs * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
ILogs * This,
/* [retval][out] */ long *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
ILogs * This,
/* [retval][out] */ LPUNKNOWN *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
ILogs * This,
/* [in] */ VARIANT Index,
/* [retval][out] */ VARIANT *pVal);
END_INTERFACE
} ILogsVtbl;
interface ILogs
{
CONST_VTBL struct ILogsVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ILogs_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ILogs_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ILogs_Release(This) \
(This)->lpVtbl -> Release(This)
#define ILogs_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ILogs_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ILogs_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ILogs_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define ILogs_get_Count(This,pVal) \
(This)->lpVtbl -> get_Count(This,pVal)
#define ILogs_get__NewEnum(This,pVal) \
(This)->lpVtbl -> get__NewEnum(This,pVal)
#define ILogs_get_Item(This,Index,pVal) \
(This)->lpVtbl -> get_Item(This,Index,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILogs_get_Count_Proxy(
ILogs * This,
/* [retval][out] */ long *pVal);
void __RPC_STUB ILogs_get_Count_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILogs_get__NewEnum_Proxy(
ILogs * This,
/* [retval][out] */ LPUNKNOWN *pVal);
void __RPC_STUB ILogs_get__NewEnum_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILogs_get_Item_Proxy(
ILogs * This,
/* [in] */ VARIANT Index,
/* [retval][out] */ VARIANT *pVal);
void __RPC_STUB ILogs_get_Item_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ILogs_INTERFACE_DEFINED__ */
#ifndef __ILog_INTERFACE_DEFINED__
#define __ILog_INTERFACE_DEFINED__
/* interface ILog */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ILog;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9FC21F08-F75C-4818-B42C-8A59DB3E33E7")
ILog : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Events(
/* [retval][out] */ VARIANT *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
/* [retval][out] */ BSTR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Server(
/* [retval][out] */ BSTR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Server(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
};
#else /* C style interface */
typedef struct ILogVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ILog * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ILog * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ILog * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
ILog * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
ILog * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
ILog * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
ILog * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Events )(
ILog * This,
/* [retval][out] */ VARIANT *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
ILog * This,
/* [retval][out] */ BSTR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Server )(
ILog * This,
/* [retval][out] */ BSTR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Server )(
ILog * This,
/* [in] */ BSTR newVal);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
ILog * This);
END_INTERFACE
} ILogVtbl;
interface ILog
{
CONST_VTBL struct ILogVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ILog_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ILog_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ILog_Release(This) \
(This)->lpVtbl -> Release(This)
#define ILog_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ILog_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ILog_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ILog_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define ILog_get_Events(This,pVal) \
(This)->lpVtbl -> get_Events(This,pVal)
#define ILog_get_Name(This,pVal) \
(This)->lpVtbl -> get_Name(This,pVal)
#define ILog_get_Server(This,pVal) \
(This)->lpVtbl -> get_Server(This,pVal)
#define ILog_put_Server(This,newVal) \
(This)->lpVtbl -> put_Server(This,newVal)
#define ILog_Clear(This) \
(This)->lpVtbl -> Clear(This)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILog_get_Events_Proxy(
ILog * This,
/* [retval][out] */ VARIANT *pVal);
void __RPC_STUB ILog_get_Events_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILog_get_Name_Proxy(
ILog * This,
/* [retval][out] */ BSTR *pVal);
void __RPC_STUB ILog_get_Name_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ILog_get_Server_Proxy(
ILog * This,
/* [retval][out] */ BSTR *pVal);
void __RPC_STUB ILog_get_Server_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ILog_put_Server_Proxy(
ILog * This,
/* [in] */ BSTR newVal);
void __RPC_STUB ILog_put_Server_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ILog_Clear_Proxy(
ILog * This);
void __RPC_STUB ILog_Clear_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __ILog_INTERFACE_DEFINED__ */
#ifndef __IEvents_INTERFACE_DEFINED__
#define __IEvents_INTERFACE_DEFINED__
/* interface IEvents */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IEvents;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B70B0436-726F-4742-B08E-1AEE6D6C6AA9")
IEvents : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
/* [retval][out] */ long *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
/* [retval][out] */ LPUNKNOWN *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
/* [in] */ long Index,
/* [retval][out] */ VARIANT *pVal) = 0;
};
#else /* C style interface */
typedef struct IEventsVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IEvents * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IEvents * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IEvents * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IEvents * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IEvents * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IEvents * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IEvents * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
IEvents * This,
/* [retval][out] */ long *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
IEvents * This,
/* [retval][out] */ LPUNKNOWN *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
IEvents * This,
/* [in] */ long Index,
/* [retval][out] */ VARIANT *pVal);
END_INTERFACE
} IEventsVtbl;
interface IEvents
{
CONST_VTBL struct IEventsVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IEvents_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IEvents_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IEvents_Release(This) \
(This)->lpVtbl -> Release(This)
#define IEvents_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IEvents_get_Count(This,pVal) \
(This)->lpVtbl -> get_Count(This,pVal)
#define IEvents_get__NewEnum(This,pVal) \
(This)->lpVtbl -> get__NewEnum(This,pVal)
#define IEvents_get_Item(This,Index,pVal) \
(This)->lpVtbl -> get_Item(This,Index,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvents_get_Count_Proxy(
IEvents * This,
/* [retval][out] */ long *pVal);
void __RPC_STUB IEvents_get_Count_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvents_get__NewEnum_Proxy(
IEvents * This,
/* [retval][out] */ LPUNKNOWN *pVal);
void __RPC_STUB IEvents_get__NewEnum_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvents_get_Item_Proxy(
IEvents * This,
/* [in] */ long Index,
/* [retval][out] */ VARIANT *pVal);
void __RPC_STUB IEvents_get_Item_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IEvents_INTERFACE_DEFINED__ */
#ifndef __IEvent_INTERFACE_DEFINED__
#define __IEvent_INTERFACE_DEFINED__
/* interface IEvent */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IEvent;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("5FF33202-DD46-4C30-809D-BD868D6A6D29")
IEvent : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventID(
/* [retval][out] */ long *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventType(
/* [retval][out] */ eEventType *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Category(
/* [retval][out] */ long *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description(
/* [retval][out] */ BSTR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Source(
/* [retval][out] */ BSTR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_User(
/* [retval][out] */ BSTR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_OccurrenceTime(
/* [retval][out] */ DATE *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ComputerName(
/* [retval][out] */ BSTR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Data(
/* [retval][out] */ VARIANT *pVal) = 0;
};
#else /* C style interface */
typedef struct IEventVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IEvent * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IEvent * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IEvent * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IEvent * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IEvent * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IEvent * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IEvent * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventID )(
IEvent * This,
/* [retval][out] */ long *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventType )(
IEvent * This,
/* [retval][out] */ eEventType *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Category )(
IEvent * This,
/* [retval][out] */ long *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )(
IEvent * This,
/* [retval][out] */ BSTR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Source )(
IEvent * This,
/* [retval][out] */ BSTR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_User )(
IEvent * This,
/* [retval][out] */ BSTR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_OccurrenceTime )(
IEvent * This,
/* [retval][out] */ DATE *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ComputerName )(
IEvent * This,
/* [retval][out] */ BSTR *pVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Data )(
IEvent * This,
/* [retval][out] */ VARIANT *pVal);
END_INTERFACE
} IEventVtbl;
interface IEvent
{
CONST_VTBL struct IEventVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IEvent_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IEvent_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IEvent_Release(This) \
(This)->lpVtbl -> Release(This)
#define IEvent_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define IEvent_get_EventID(This,pVal) \
(This)->lpVtbl -> get_EventID(This,pVal)
#define IEvent_get_EventType(This,pVal) \
(This)->lpVtbl -> get_EventType(This,pVal)
#define IEvent_get_Category(This,pVal) \
(This)->lpVtbl -> get_Category(This,pVal)
#define IEvent_get_Description(This,pVal) \
(This)->lpVtbl -> get_Description(This,pVal)
#define IEvent_get_Source(This,pVal) \
(This)->lpVtbl -> get_Source(This,pVal)
#define IEvent_get_User(This,pVal) \
(This)->lpVtbl -> get_User(This,pVal)
#define IEvent_get_OccurrenceTime(This,pVal) \
(This)->lpVtbl -> get_OccurrenceTime(This,pVal)
#define IEvent_get_ComputerName(This,pVal) \
(This)->lpVtbl -> get_ComputerName(This,pVal)
#define IEvent_get_Data(This,pVal) \
(This)->lpVtbl -> get_Data(This,pVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvent_get_EventID_Proxy(
IEvent * This,
/* [retval][out] */ long *pVal);
void __RPC_STUB IEvent_get_EventID_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvent_get_EventType_Proxy(
IEvent * This,
/* [retval][out] */ eEventType *pVal);
void __RPC_STUB IEvent_get_EventType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvent_get_Category_Proxy(
IEvent * This,
/* [retval][out] */ long *pVal);
void __RPC_STUB IEvent_get_Category_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvent_get_Description_Proxy(
IEvent * This,
/* [retval][out] */ BSTR *pVal);
void __RPC_STUB IEvent_get_Description_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvent_get_Source_Proxy(
IEvent * This,
/* [retval][out] */ BSTR *pVal);
void __RPC_STUB IEvent_get_Source_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvent_get_User_Proxy(
IEvent * This,
/* [retval][out] */ BSTR *pVal);
void __RPC_STUB IEvent_get_User_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvent_get_OccurrenceTime_Proxy(
IEvent * This,
/* [retval][out] */ DATE *pVal);
void __RPC_STUB IEvent_get_OccurrenceTime_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvent_get_ComputerName_Proxy(
IEvent * This,
/* [retval][out] */ BSTR *pVal);
void __RPC_STUB IEvent_get_ComputerName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IEvent_get_Data_Proxy(
IEvent * This,
/* [retval][out] */ VARIANT *pVal);
void __RPC_STUB IEvent_get_Data_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IEvent_INTERFACE_DEFINED__ */
#ifndef __EventLogUtilities_LIBRARY_DEFINED__
#define __EventLogUtilities_LIBRARY_DEFINED__
/* library EventLogUtilities */
/* [helpstring][version][uuid] */
EXTERN_C const IID LIBID_EventLogUtilities;
EXTERN_C const CLSID CLSID_View;
#ifdef __cplusplus
class DECLSPEC_UUID("FF184146-A804-4FB1-BDA7-1E05052C5553")
View;
#endif
EXTERN_C const CLSID CLSID_Log;
#ifdef __cplusplus
class DECLSPEC_UUID("07C97B1B-4042-4DD3-9FDD-56EC7677E30E")
Log;
#endif
EXTERN_C const CLSID CLSID_Event;
#ifdef __cplusplus
class DECLSPEC_UUID("32FB0C7C-96CA-4263-A1FE-215A0AF69B34")
Event;
#endif
#endif /* __EventLogUtilities_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif