1
2
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6  /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for wmseventlog.idl:
8       Oicf, W1, Zp8, env=Win32 (32b run)
9       protocol : dce , ms_ext, c_ext, robust
10       error checks: allocation ref bounds_check enum stub_data 
11       VC __declspec() decoration level: 
12                __declspec(uuid()), __declspec(selectany), __declspec(novtable)
13                DECLSPEC_UUID(), MIDL_INTERFACE()
14 */
15 //@@MIDL_FILE_HEADING(  )
16
17 #pragma warning( disable: 4049 )  /* more than 64k source lines */
18
19
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 500
23 #endif
24
25 /* verify that the <rpcsal.h> version is high enough to compile this file*/
26 #ifndef __REQUIRED_RPCSAL_H_VERSION__
27 #define __REQUIRED_RPCSAL_H_VERSION__ 100
28 #endif
29
30 #include "rpc.h"
31 #include "rpcndr.h"
32
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
36
37 #ifndef COM_NO_WINDOWS_H
38 #include "windows.h"
39 #include "ole2.h"
40 #endif /*COM_NO_WINDOWS_H*/
41
42 #ifndef __wmseventlog_h__
43 #define __wmseventlog_h__
44
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
48
49 /* Forward Declarations */ 
50
51 #ifndef __IWMSEventLog_FWD_DEFINED__
52 #define __IWMSEventLog_FWD_DEFINED__
53 typedef interface IWMSEventLog IWMSEventLog;
54 #endif     /* __IWMSEventLog_FWD_DEFINED__ */
55
56
57 /* header files for imported files */
58 #include "oaidl.h"
59 #include "WMSNamedValues.h"
60
61 #ifdef __cplusplus
62 extern "C"{
63 #endif 
64
65
66 /* interface __MIDL_itf_wmseventlog_0000_0000 */
67 /* [local] */ 
68
69 //*****************************************************************************
70 //
71 // Microsoft Windows Media
72 // Copyright (C) Microsoft Corporation. All rights reserved.
73 //
74 // Automatically generated by Midl from wmseventlog.idl
75 //
76 // DO NOT EDIT THIS FILE.
77 //
78 //*****************************************************************************
79 #if _MSC_VER > 1000
80 #pragma once
81 #endif // _MSC_VER > 1000
82 EXTERN_GUID( IID_IWMSEventLog, 0x7a0dcfb1, 0x47af, 0x11d2, 0x9e, 0xff, 0x00, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
83
84
85 extern RPC_IF_HANDLE __MIDL_itf_wmseventlog_0000_0000_v0_0_c_ifspec;
86 extern RPC_IF_HANDLE __MIDL_itf_wmseventlog_0000_0000_v0_0_s_ifspec;
87
88 #ifndef __IWMSEventLog_INTERFACE_DEFINED__
89 #define __IWMSEventLog_INTERFACE_DEFINED__
90
91 /* interface IWMSEventLog */
92 /* [unique][version][helpstring][dual][uuid][object] */ 
93
94 typedef /* [uuid][public] */  DECLSPEC_UUID("940488C2-8F93-41c1-BBEB-43D1B48D084B") 
95 enum WMS_EVENT_LOG_LEVEL
96       {    WMS_EVENT_LOG_LEVEL_ERROR    = 0x1,
97     WMS_EVENT_LOG_LEVEL_WARNING    = 0x2,
98     WMS_EVENT_LOG_LEVEL_INFORMATION    = 0x4
99       }     WMS_EVENT_LOG_LEVEL;
100
101
102 EXTERN_C const IID IID_IWMSEventLog;
103
104 #if defined(__cplusplus) && !defined(CINTERFACE)
105       
106       MIDL_INTERFACE("7A0DCFB1-47AF-11d2-9EFF-006097D2D7CF")
107       IWMSEventLog : public IDispatch
108       {
109       public:
110              virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LogEvent( 
111                     /* [in] */ __RPC__in_opt IWMSNamedValues *pPluginNamedValues,
112                     /* [in] */ WMS_EVENT_LOG_LEVEL ErrorLevel,
113                     /* [in] */ long lErrorCode,
114                     /* [in] */ __RPC__in BSTR bstrAdditionalInfo) = 0;
115              
116       };
117       
118 #else     /* C style interface */
119
120       typedef struct IWMSEventLogVtbl
121       {
122              BEGIN_INTERFACE
123              
124              HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
125                     IWMSEventLog * This,
126                     /* [in] */ __RPC__in REFIID riid,
127                     /* [iid_is][out] */ 
128                     __RPC__deref_out  void **ppvObject);
Lines 129 ... 138 are skipped.
139              
140              HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
141                     IWMSEventLog * This,
142                     /* [in] */ UINT iTInfo,
143                     /* [in] */ LCID lcid,
144                     /* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
145              
146              HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
147                     IWMSEventLog * This,
148                     /* [in] */ __RPC__in REFIID riid,
149                     /* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
150                     /* [range][in] */ UINT cNames,
151                     /* [in] */ LCID lcid,
152                     /* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
153              
154              /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
155                     IWMSEventLog * This,
156                     /* [in] */ DISPID dispIdMember,
157                     /* [in] */ REFIID riid,
158                     /* [in] */ LCID lcid,
159                     /* [in] */ WORD wFlags,
160                     /* [out][in] */ DISPPARAMS *pDispParams,
161                     /* [out] */ VARIANT *pVarResult,
162                     /* [out] */ EXCEPINFO *pExcepInfo,
163                     /* [out] */ UINT *puArgErr);
164              
165              /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *LogEvent )( 
166                     IWMSEventLog * This,
167                     /* [in] */ __RPC__in_opt IWMSNamedValues *pPluginNamedValues,
168                     /* [in] */ WMS_EVENT_LOG_LEVEL ErrorLevel,
169                     /* [in] */ long lErrorCode,
170                     /* [in] */ __RPC__in BSTR bstrAdditionalInfo);
171              
172              END_INTERFACE
173       } IWMSEventLogVtbl;
174
175       interface IWMSEventLog
176       {
177              CONST_VTBL struct IWMSEventLogVtbl *lpVtbl;
178       };
179
180       
181
182 #ifdef COBJMACROS
183
184
185 #define IWMSEventLog_QueryInterface(This,riid,ppvObject)    \
186       ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
187
188 #define IWMSEventLog_AddRef(This)    \
189       ( (This)->lpVtbl -> AddRef(This) ) 
190
191 #define IWMSEventLog_Release(This)    \
192       ( (This)->lpVtbl -> Release(This) ) 
193
194
195 #define IWMSEventLog_GetTypeInfoCount(This,pctinfo)    \
196       ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 
197
198 #define IWMSEventLog_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
199       ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 
200
201 #define IWMSEventLog_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
202       ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 
203
204 #define IWMSEventLog_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
205       ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 
206
207
208 #define IWMSEventLog_LogEvent(This,pPluginNamedValues,ErrorLevel,lErrorCode,bstrAdditionalInfo)    \
209       ( (This)->lpVtbl -> LogEvent(This,pPluginNamedValues,ErrorLevel,lErrorCode,bstrAdditionalInfo) ) 
210
211 #endif /* COBJMACROS */
212
213
214 #endif     /* C style interface */
215
216
217
218
219 #endif     /* __IWMSEventLog_INTERFACE_DEFINED__ */
220
221
222 /* Additional Prototypes for ALL interfaces */
223
224 unsigned long                     __RPC_USER  BSTR_UserSize(        unsigned long *, unsigned long                    , BSTR * ); 
225 unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
226 unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
227 void                                    __RPC_USER  BSTR_UserFree(        unsigned long *, BSTR * ); 
228
229 unsigned long                     __RPC_USER  BSTR_UserSize64(        unsigned long *, unsigned long                    , BSTR * ); 
230 unsigned char * __RPC_USER  BSTR_UserMarshal64(  unsigned long *, unsigned char *, BSTR * ); 
231 unsigned char * __RPC_USER  BSTR_UserUnmarshal64(unsigned long *, unsigned char *, BSTR * ); 
232 void                                    __RPC_USER  BSTR_UserFree64(        unsigned long *, BSTR * ); 
233
234 /* end of Additional Prototypes */
235
236 #ifdef __cplusplus
237 }
238 #endif
239
240 #endif
241
242
243
244