1 | /*** Autogenerated by WIDL 6.4 from include/wsdattachment.idl - Do not edit ***/
|
---|
2 |
|
---|
3 | #ifdef _WIN32
|
---|
4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__
|
---|
5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475
|
---|
6 | #endif
|
---|
7 | #include <rpc.h>
|
---|
8 | #include <rpcndr.h>
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #ifndef COM_NO_WINDOWS_H
|
---|
12 | #include <windows.h>
|
---|
13 | #include <ole2.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #ifndef __wsdattachment_h__
|
---|
17 | #define __wsdattachment_h__
|
---|
18 |
|
---|
19 | /* Forward declarations */
|
---|
20 |
|
---|
21 | #ifndef __IWSDAttachment_FWD_DEFINED__
|
---|
22 | #define __IWSDAttachment_FWD_DEFINED__
|
---|
23 | typedef interface IWSDAttachment IWSDAttachment;
|
---|
24 | #ifdef __cplusplus
|
---|
25 | interface IWSDAttachment;
|
---|
26 | #endif /* __cplusplus */
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #ifndef __IWSDInboundAttachment_FWD_DEFINED__
|
---|
30 | #define __IWSDInboundAttachment_FWD_DEFINED__
|
---|
31 | typedef interface IWSDInboundAttachment IWSDInboundAttachment;
|
---|
32 | #ifdef __cplusplus
|
---|
33 | interface IWSDInboundAttachment;
|
---|
34 | #endif /* __cplusplus */
|
---|
35 | #endif
|
---|
36 |
|
---|
37 | #ifndef __IWSDOutboundAttachment_FWD_DEFINED__
|
---|
38 | #define __IWSDOutboundAttachment_FWD_DEFINED__
|
---|
39 | typedef interface IWSDOutboundAttachment IWSDOutboundAttachment;
|
---|
40 | #ifdef __cplusplus
|
---|
41 | interface IWSDOutboundAttachment;
|
---|
42 | #endif /* __cplusplus */
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | /* Headers for imported files */
|
---|
46 |
|
---|
47 | #include <objidl.h>
|
---|
48 |
|
---|
49 | #ifdef __cplusplus
|
---|
50 | extern "C" {
|
---|
51 | #endif
|
---|
52 |
|
---|
53 | #include <winapifamily.h>
|
---|
54 |
|
---|
55 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
---|
56 |
|
---|
57 | #ifndef _INC_WSDAPI
|
---|
58 | #error Please include wsdapi.h instead of this header. This header cannot be used directly.
|
---|
59 | #endif
|
---|
60 |
|
---|
61 | #ifndef __IWSDAttachment_FWD_DEFINED__
|
---|
62 | #define __IWSDAttachment_FWD_DEFINED__
|
---|
63 | typedef interface IWSDAttachment IWSDAttachment;
|
---|
64 | #ifdef __cplusplus
|
---|
65 | interface IWSDAttachment;
|
---|
66 | #endif /* __cplusplus */
|
---|
67 | #endif
|
---|
68 |
|
---|
69 | #ifndef __IWSDInboundAttachment_FWD_DEFINED__
|
---|
70 | #define __IWSDInboundAttachment_FWD_DEFINED__
|
---|
71 | typedef interface IWSDInboundAttachment IWSDInboundAttachment;
|
---|
72 | #ifdef __cplusplus
|
---|
73 | interface IWSDInboundAttachment;
|
---|
74 | #endif /* __cplusplus */
|
---|
75 | #endif
|
---|
76 |
|
---|
77 | #ifndef __IWSDOutboundAttachment_FWD_DEFINED__
|
---|
78 | #define __IWSDOutboundAttachment_FWD_DEFINED__
|
---|
79 | typedef interface IWSDOutboundAttachment IWSDOutboundAttachment;
|
---|
80 | #ifdef __cplusplus
|
---|
81 | interface IWSDOutboundAttachment;
|
---|
82 | #endif /* __cplusplus */
|
---|
83 | #endif
|
---|
84 |
|
---|
85 |
|
---|
86 | /*****************************************************************************
|
---|
87 | * IWSDAttachment interface
|
---|
88 | */
|
---|
89 | #ifndef __IWSDAttachment_INTERFACE_DEFINED__
|
---|
90 | #define __IWSDAttachment_INTERFACE_DEFINED__
|
---|
91 |
|
---|
92 | DEFINE_GUID(IID_IWSDAttachment, 0x5d55a616, 0x9df8, 0x4b09, 0xb1,0x56, 0x9b,0xa3,0x51,0xa4,0x8b,0x76);
|
---|
93 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
94 | MIDL_INTERFACE("5d55a616-9df8-4b09-b156-9ba351a48b76")
|
---|
95 | IWSDAttachment : public IUnknown
|
---|
96 | {
|
---|
97 | };
|
---|
98 | #ifdef __CRT_UUID_DECL
|
---|
99 | __CRT_UUID_DECL(IWSDAttachment, 0x5d55a616, 0x9df8, 0x4b09, 0xb1,0x56, 0x9b,0xa3,0x51,0xa4,0x8b,0x76)
|
---|
100 | #endif
|
---|
101 | #else
|
---|
102 | typedef struct IWSDAttachmentVtbl {
|
---|
103 | BEGIN_INTERFACE
|
---|
104 |
|
---|
105 | /*** IUnknown methods ***/
|
---|
106 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
107 | IWSDAttachment *This,
|
---|
108 | REFIID riid,
|
---|
109 | void **ppvObject);
|
---|
110 |
|
---|
111 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
112 | IWSDAttachment *This);
|
---|
113 |
|
---|
114 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
115 | IWSDAttachment *This);
|
---|
116 |
|
---|
117 | END_INTERFACE
|
---|
118 | } IWSDAttachmentVtbl;
|
---|
119 |
|
---|
120 | interface IWSDAttachment {
|
---|
121 | CONST_VTBL IWSDAttachmentVtbl* lpVtbl;
|
---|
122 | };
|
---|
123 |
|
---|
124 | #ifdef COBJMACROS
|
---|
125 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
126 | /*** IUnknown methods ***/
|
---|
127 | #define IWSDAttachment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
128 | #define IWSDAttachment_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
129 | #define IWSDAttachment_Release(This) (This)->lpVtbl->Release(This)
|
---|
130 | #else
|
---|
131 | /*** IUnknown methods ***/
|
---|
132 | static FORCEINLINE HRESULT IWSDAttachment_QueryInterface(IWSDAttachment* This,REFIID riid,void **ppvObject) {
|
---|
133 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
134 | }
|
---|
135 | static FORCEINLINE ULONG IWSDAttachment_AddRef(IWSDAttachment* This) {
|
---|
136 | return This->lpVtbl->AddRef(This);
|
---|
137 | }
|
---|
138 | static FORCEINLINE ULONG IWSDAttachment_Release(IWSDAttachment* This) {
|
---|
139 | return This->lpVtbl->Release(This);
|
---|
140 | }
|
---|
141 | #endif
|
---|
142 | #endif
|
---|
143 |
|
---|
144 | #endif
|
---|
145 |
|
---|
146 |
|
---|
147 | #endif /* __IWSDAttachment_INTERFACE_DEFINED__ */
|
---|
148 |
|
---|
149 |
|
---|
150 | /*****************************************************************************
|
---|
151 | * IWSDInboundAttachment interface
|
---|
152 | */
|
---|
153 | #ifndef __IWSDInboundAttachment_INTERFACE_DEFINED__
|
---|
154 | #define __IWSDInboundAttachment_INTERFACE_DEFINED__
|
---|
155 |
|
---|
156 | DEFINE_GUID(IID_IWSDInboundAttachment, 0x5bd6ca65, 0x233c, 0x4fb8, 0x9f,0x7a, 0x26,0x41,0x61,0x96,0x55,0xc9);
|
---|
157 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
158 | MIDL_INTERFACE("5bd6ca65-233c-4fb8-9f7a-2641619655c9")
|
---|
159 | IWSDInboundAttachment : public IWSDAttachment
|
---|
160 | {
|
---|
161 | virtual HRESULT STDMETHODCALLTYPE Read(
|
---|
162 | BYTE *pBuffer,
|
---|
163 | DWORD dwBytesToRead,
|
---|
164 | LPDWORD pdwNumberOfBytesRead) = 0;
|
---|
165 |
|
---|
166 | virtual HRESULT STDMETHODCALLTYPE Close(
|
---|
167 | ) = 0;
|
---|
168 |
|
---|
169 | };
|
---|
170 | #ifdef __CRT_UUID_DECL
|
---|
171 | __CRT_UUID_DECL(IWSDInboundAttachment, 0x5bd6ca65, 0x233c, 0x4fb8, 0x9f,0x7a, 0x26,0x41,0x61,0x96,0x55,0xc9)
|
---|
172 | #endif
|
---|
173 | #else
|
---|
174 | typedef struct IWSDInboundAttachmentVtbl {
|
---|
175 | BEGIN_INTERFACE
|
---|
176 |
|
---|
177 | /*** IUnknown methods ***/
|
---|
178 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
179 | IWSDInboundAttachment *This,
|
---|
180 | REFIID riid,
|
---|
181 | void **ppvObject);
|
---|
182 |
|
---|
183 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
184 | IWSDInboundAttachment *This);
|
---|
185 |
|
---|
186 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
187 | IWSDInboundAttachment *This);
|
---|
188 |
|
---|
189 | /*** IWSDInboundAttachment methods ***/
|
---|
190 | HRESULT (STDMETHODCALLTYPE *Read)(
|
---|
191 | IWSDInboundAttachment *This,
|
---|
192 | BYTE *pBuffer,
|
---|
193 | DWORD dwBytesToRead,
|
---|
194 | LPDWORD pdwNumberOfBytesRead);
|
---|
195 |
|
---|
196 | HRESULT (STDMETHODCALLTYPE *Close)(
|
---|
197 | IWSDInboundAttachment *This);
|
---|
198 |
|
---|
199 | END_INTERFACE
|
---|
200 | } IWSDInboundAttachmentVtbl;
|
---|
201 |
|
---|
202 | interface IWSDInboundAttachment {
|
---|
203 | CONST_VTBL IWSDInboundAttachmentVtbl* lpVtbl;
|
---|
204 | };
|
---|
205 |
|
---|
206 | #ifdef COBJMACROS
|
---|
207 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
208 | /*** IUnknown methods ***/
|
---|
209 | #define IWSDInboundAttachment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
210 | #define IWSDInboundAttachment_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
211 | #define IWSDInboundAttachment_Release(This) (This)->lpVtbl->Release(This)
|
---|
212 | /*** IWSDInboundAttachment methods ***/
|
---|
213 | #define IWSDInboundAttachment_Read(This,pBuffer,dwBytesToRead,pdwNumberOfBytesRead) (This)->lpVtbl->Read(This,pBuffer,dwBytesToRead,pdwNumberOfBytesRead)
|
---|
214 | #define IWSDInboundAttachment_Close(This) (This)->lpVtbl->Close(This)
|
---|
215 | #else
|
---|
216 | /*** IUnknown methods ***/
|
---|
217 | static FORCEINLINE HRESULT IWSDInboundAttachment_QueryInterface(IWSDInboundAttachment* This,REFIID riid,void **ppvObject) {
|
---|
218 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
219 | }
|
---|
220 | static FORCEINLINE ULONG IWSDInboundAttachment_AddRef(IWSDInboundAttachment* This) {
|
---|
221 | return This->lpVtbl->AddRef(This);
|
---|
222 | }
|
---|
223 | static FORCEINLINE ULONG IWSDInboundAttachment_Release(IWSDInboundAttachment* This) {
|
---|
224 | return This->lpVtbl->Release(This);
|
---|
225 | }
|
---|
226 | /*** IWSDInboundAttachment methods ***/
|
---|
227 | static FORCEINLINE HRESULT IWSDInboundAttachment_Read(IWSDInboundAttachment* This,BYTE *pBuffer,DWORD dwBytesToRead,LPDWORD pdwNumberOfBytesRead) {
|
---|
228 | return This->lpVtbl->Read(This,pBuffer,dwBytesToRead,pdwNumberOfBytesRead);
|
---|
229 | }
|
---|
230 | static FORCEINLINE HRESULT IWSDInboundAttachment_Close(IWSDInboundAttachment* This) {
|
---|
231 | return This->lpVtbl->Close(This);
|
---|
232 | }
|
---|
233 | #endif
|
---|
234 | #endif
|
---|
235 |
|
---|
236 | #endif
|
---|
237 |
|
---|
238 |
|
---|
239 | #endif /* __IWSDInboundAttachment_INTERFACE_DEFINED__ */
|
---|
240 |
|
---|
241 |
|
---|
242 | /*****************************************************************************
|
---|
243 | * IWSDOutboundAttachment interface
|
---|
244 | */
|
---|
245 | #ifndef __IWSDOutboundAttachment_INTERFACE_DEFINED__
|
---|
246 | #define __IWSDOutboundAttachment_INTERFACE_DEFINED__
|
---|
247 |
|
---|
248 | DEFINE_GUID(IID_IWSDOutboundAttachment, 0xaa302f8d, 0x5a22, 0x4ba5, 0xb3,0x92, 0xaa,0x84,0x86,0xf4,0xc1,0x5d);
|
---|
249 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
250 | MIDL_INTERFACE("aa302f8d-5a22-4ba5-b392-aa8486f4c15d")
|
---|
251 | IWSDOutboundAttachment : public IWSDAttachment
|
---|
252 | {
|
---|
253 | virtual HRESULT STDMETHODCALLTYPE Write(
|
---|
254 | const BYTE *pBuffer,
|
---|
255 | DWORD dwBytesToWrite,
|
---|
256 | LPDWORD pdwNumberOfBytesWritten) = 0;
|
---|
257 |
|
---|
258 | virtual HRESULT STDMETHODCALLTYPE Close(
|
---|
259 | ) = 0;
|
---|
260 |
|
---|
261 | virtual HRESULT STDMETHODCALLTYPE Abort(
|
---|
262 | ) = 0;
|
---|
263 |
|
---|
264 | };
|
---|
265 | #ifdef __CRT_UUID_DECL
|
---|
266 | __CRT_UUID_DECL(IWSDOutboundAttachment, 0xaa302f8d, 0x5a22, 0x4ba5, 0xb3,0x92, 0xaa,0x84,0x86,0xf4,0xc1,0x5d)
|
---|
267 | #endif
|
---|
268 | #else
|
---|
269 | typedef struct IWSDOutboundAttachmentVtbl {
|
---|
270 | BEGIN_INTERFACE
|
---|
271 |
|
---|
272 | /*** IUnknown methods ***/
|
---|
273 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
274 | IWSDOutboundAttachment *This,
|
---|
275 | REFIID riid,
|
---|
276 | void **ppvObject);
|
---|
277 |
|
---|
278 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
279 | IWSDOutboundAttachment *This);
|
---|
280 |
|
---|
281 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
282 | IWSDOutboundAttachment *This);
|
---|
283 |
|
---|
284 | /*** IWSDOutboundAttachment methods ***/
|
---|
285 | HRESULT (STDMETHODCALLTYPE *Write)(
|
---|
286 | IWSDOutboundAttachment *This,
|
---|
287 | const BYTE *pBuffer,
|
---|
288 | DWORD dwBytesToWrite,
|
---|
289 | LPDWORD pdwNumberOfBytesWritten);
|
---|
290 |
|
---|
291 | HRESULT (STDMETHODCALLTYPE *Close)(
|
---|
292 | IWSDOutboundAttachment *This);
|
---|
293 |
|
---|
294 | HRESULT (STDMETHODCALLTYPE *Abort)(
|
---|
295 | IWSDOutboundAttachment *This);
|
---|
296 |
|
---|
297 | END_INTERFACE
|
---|
298 | } IWSDOutboundAttachmentVtbl;
|
---|
299 |
|
---|
300 | interface IWSDOutboundAttachment {
|
---|
301 | CONST_VTBL IWSDOutboundAttachmentVtbl* lpVtbl;
|
---|
302 | };
|
---|
303 |
|
---|
304 | #ifdef COBJMACROS
|
---|
305 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
306 | /*** IUnknown methods ***/
|
---|
307 | #define IWSDOutboundAttachment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
308 | #define IWSDOutboundAttachment_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
309 | #define IWSDOutboundAttachment_Release(This) (This)->lpVtbl->Release(This)
|
---|
310 | /*** IWSDOutboundAttachment methods ***/
|
---|
311 | #define IWSDOutboundAttachment_Write(This,pBuffer,dwBytesToWrite,pdwNumberOfBytesWritten) (This)->lpVtbl->Write(This,pBuffer,dwBytesToWrite,pdwNumberOfBytesWritten)
|
---|
312 | #define IWSDOutboundAttachment_Close(This) (This)->lpVtbl->Close(This)
|
---|
313 | #define IWSDOutboundAttachment_Abort(This) (This)->lpVtbl->Abort(This)
|
---|
314 | #else
|
---|
315 | /*** IUnknown methods ***/
|
---|
316 | static FORCEINLINE HRESULT IWSDOutboundAttachment_QueryInterface(IWSDOutboundAttachment* This,REFIID riid,void **ppvObject) {
|
---|
317 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
318 | }
|
---|
319 | static FORCEINLINE ULONG IWSDOutboundAttachment_AddRef(IWSDOutboundAttachment* This) {
|
---|
320 | return This->lpVtbl->AddRef(This);
|
---|
321 | }
|
---|
322 | static FORCEINLINE ULONG IWSDOutboundAttachment_Release(IWSDOutboundAttachment* This) {
|
---|
323 | return This->lpVtbl->Release(This);
|
---|
324 | }
|
---|
325 | /*** IWSDOutboundAttachment methods ***/
|
---|
326 | static FORCEINLINE HRESULT IWSDOutboundAttachment_Write(IWSDOutboundAttachment* This,const BYTE *pBuffer,DWORD dwBytesToWrite,LPDWORD pdwNumberOfBytesWritten) {
|
---|
327 | return This->lpVtbl->Write(This,pBuffer,dwBytesToWrite,pdwNumberOfBytesWritten);
|
---|
328 | }
|
---|
329 | static FORCEINLINE HRESULT IWSDOutboundAttachment_Close(IWSDOutboundAttachment* This) {
|
---|
330 | return This->lpVtbl->Close(This);
|
---|
331 | }
|
---|
332 | static FORCEINLINE HRESULT IWSDOutboundAttachment_Abort(IWSDOutboundAttachment* This) {
|
---|
333 | return This->lpVtbl->Abort(This);
|
---|
334 | }
|
---|
335 | #endif
|
---|
336 | #endif
|
---|
337 |
|
---|
338 | #endif
|
---|
339 |
|
---|
340 |
|
---|
341 | #endif /* __IWSDOutboundAttachment_INTERFACE_DEFINED__ */
|
---|
342 |
|
---|
343 |
|
---|
344 | HRESULT WINAPI WSDCreateOutboundAttachment(IWSDOutboundAttachment **ppAttachment);
|
---|
345 | #endif
|
---|
346 | /* Begin additional prototypes for all interfaces */
|
---|
347 |
|
---|
348 |
|
---|
349 | /* End additional prototypes */
|
---|
350 |
|
---|
351 | #ifdef __cplusplus
|
---|
352 | }
|
---|
353 | #endif
|
---|
354 |
|
---|
355 | #endif /* __wsdattachment_h__ */
|
---|