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 imagetranscode.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__ 475
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 __imagetranscode_h__
43 #define __imagetranscode_h__
44
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
48
49 /* Forward Declarations */ 
50
51 #ifndef __ITranscodeImage_FWD_DEFINED__
52 #define __ITranscodeImage_FWD_DEFINED__
53 typedef interface ITranscodeImage ITranscodeImage;
54 #endif     /* __ITranscodeImage_FWD_DEFINED__ */
55
56
57 #ifndef __ImageTranscode_FWD_DEFINED__
58 #define __ImageTranscode_FWD_DEFINED__
59
60 #ifdef __cplusplus
61 typedef class ImageTranscode ImageTranscode;
62 #else
63 typedef struct ImageTranscode ImageTranscode;
64 #endif /* __cplusplus */
65
66 #endif     /* __ImageTranscode_FWD_DEFINED__ */
67
68
69 /* header files for imported files */
70 #include "objidl.h"
71 #include "propidl.h"
72 #include "shobjidl.h"
73
74 #ifdef __cplusplus
75 extern "C"{
76 #endif 
77
78
79 #ifndef __ITranscodeImage_INTERFACE_DEFINED__
80 #define __ITranscodeImage_INTERFACE_DEFINED__
81
82 /* interface ITranscodeImage */
83 /* [unique][uuid][object] */ 
84
85 typedef /* [v1_enum] */ 
86 enum tagTI_FLAGS
87       {    TI_BITMAP    = 1,
88     TI_JPEG    = 2
89       }     TI_FLAGS;
90
91
92 EXTERN_C const IID IID_ITranscodeImage;
93
94 #if defined(__cplusplus) && !defined(CINTERFACE)
95       
96       MIDL_INTERFACE("BAE86DDD-DC11-421c-B7AB-CC55D1D65C44")
97       ITranscodeImage : public IUnknown
98       {
99       public:
100              virtual HRESULT STDMETHODCALLTYPE TranscodeImage( 
101                     /* [in] */ __RPC__in_opt IShellItem *pShellItem,
102                     /* [in] */ UINT uiMaxWidth,
103                     /* [in] */ UINT uiMaxHeight,
104                     /* [in] */ DWORD flags,
105                     /* [in] */ __RPC__in_opt IStream *pvImage,
106                     /* [out] */ __RPC__out UINT *puiWidth,
107                     /* [out] */ __RPC__out UINT *puiHeight) = 0;
108              
109       };
Lines 110 ... 119 are skipped.
120                     /* [iid_is][out] */ 
121                     __RPC__deref_out  void **ppvObject);
122              
123              ULONG ( STDMETHODCALLTYPE *AddRef )( 
124                     ITranscodeImage * This);
125              
126              ULONG ( STDMETHODCALLTYPE *Release )( 
127                     ITranscodeImage * This);
128              
129              HRESULT ( STDMETHODCALLTYPE *TranscodeImage )( 
130                     ITranscodeImage * This,
131                     /* [in] */ __RPC__in_opt IShellItem *pShellItem,
132                     /* [in] */ UINT uiMaxWidth,
133                     /* [in] */ UINT uiMaxHeight,
134                     /* [in] */ DWORD flags,
135                     /* [in] */ __RPC__in_opt IStream *pvImage,
136                     /* [out] */ __RPC__out UINT *puiWidth,
137                     /* [out] */ __RPC__out UINT *puiHeight);
138              
139              END_INTERFACE
140       } ITranscodeImageVtbl;
141
142       interface ITranscodeImage
143       {
144              CONST_VTBL struct ITranscodeImageVtbl *lpVtbl;
145       };
146
147       
148
149 #ifdef COBJMACROS
150
151
152 #define ITranscodeImage_QueryInterface(This,riid,ppvObject)    \
153       ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
154
155 #define ITranscodeImage_AddRef(This)    \
156       ( (This)->lpVtbl -> AddRef(This) ) 
157
158 #define ITranscodeImage_Release(This)    \
159       ( (This)->lpVtbl -> Release(This) ) 
160
161
162 #define ITranscodeImage_TranscodeImage(This,pShellItem,uiMaxWidth,uiMaxHeight,flags,pvImage,puiWidth,puiHeight)    \
163       ( (This)->lpVtbl -> TranscodeImage(This,pShellItem,uiMaxWidth,uiMaxHeight,flags,pvImage,puiWidth,puiHeight) ) 
164
165 #endif /* COBJMACROS */
166
167
168 #endif     /* C style interface */
169
170
171
172
173 #endif     /* __ITranscodeImage_INTERFACE_DEFINED__ */
174
175
176
177 #ifndef __TranscodeLibrary_LIBRARY_DEFINED__
178 #define __TranscodeLibrary_LIBRARY_DEFINED__
179
180 /* library TranscodeLibrary */
181 /* [version][uuid] */ 
182
183
184 EXTERN_C const IID LIBID_TranscodeLibrary;
185
186 EXTERN_C const CLSID CLSID_ImageTranscode;
187
188 #ifdef __cplusplus
189
190 class DECLSPEC_UUID("17B75166-928F-417d-9685-64AA135565C1")
191 ImageTranscode;
192 #endif
193 #endif /* __TranscodeLibrary_LIBRARY_DEFINED__ */
194
195 /* Additional Prototypes for ALL interfaces */
196
197 /* end of Additional Prototypes */
198
199 #ifdef __cplusplus
200 }
201 #endif
202
203 #endif
204
205
206
207