1 | /*** Autogenerated by WIDL 6.4 from include/documenttarget.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 __documenttarget_h__
|
---|
17 | #define __documenttarget_h__
|
---|
18 |
|
---|
19 | /* Forward declarations */
|
---|
20 |
|
---|
21 | #ifndef __IPrintDocumentPackageTarget_FWD_DEFINED__
|
---|
22 | #define __IPrintDocumentPackageTarget_FWD_DEFINED__
|
---|
23 | typedef interface IPrintDocumentPackageTarget IPrintDocumentPackageTarget;
|
---|
24 | #ifdef __cplusplus
|
---|
25 | interface IPrintDocumentPackageTarget;
|
---|
26 | #endif /* __cplusplus */
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #ifndef __IPrintDocumentPackageStatusEvent_FWD_DEFINED__
|
---|
30 | #define __IPrintDocumentPackageStatusEvent_FWD_DEFINED__
|
---|
31 | typedef interface IPrintDocumentPackageStatusEvent IPrintDocumentPackageStatusEvent;
|
---|
32 | #ifdef __cplusplus
|
---|
33 | interface IPrintDocumentPackageStatusEvent;
|
---|
34 | #endif /* __cplusplus */
|
---|
35 | #endif
|
---|
36 |
|
---|
37 | #ifndef __IPrintDocumentPackageTargetFactory_FWD_DEFINED__
|
---|
38 | #define __IPrintDocumentPackageTargetFactory_FWD_DEFINED__
|
---|
39 | typedef interface IPrintDocumentPackageTargetFactory IPrintDocumentPackageTargetFactory;
|
---|
40 | #ifdef __cplusplus
|
---|
41 | interface IPrintDocumentPackageTargetFactory;
|
---|
42 | #endif /* __cplusplus */
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | #ifndef __PrintDocumentPackageTarget_FWD_DEFINED__
|
---|
46 | #define __PrintDocumentPackageTarget_FWD_DEFINED__
|
---|
47 | #ifdef __cplusplus
|
---|
48 | typedef class PrintDocumentPackageTarget PrintDocumentPackageTarget;
|
---|
49 | #else
|
---|
50 | typedef struct PrintDocumentPackageTarget PrintDocumentPackageTarget;
|
---|
51 | #endif /* defined __cplusplus */
|
---|
52 | #endif /* defined __PrintDocumentPackageTarget_FWD_DEFINED__ */
|
---|
53 |
|
---|
54 | #ifndef __PrintDocumentPackageTargetFactory_FWD_DEFINED__
|
---|
55 | #define __PrintDocumentPackageTargetFactory_FWD_DEFINED__
|
---|
56 | #ifdef __cplusplus
|
---|
57 | typedef class PrintDocumentPackageTargetFactory PrintDocumentPackageTargetFactory;
|
---|
58 | #else
|
---|
59 | typedef struct PrintDocumentPackageTargetFactory PrintDocumentPackageTargetFactory;
|
---|
60 | #endif /* defined __cplusplus */
|
---|
61 | #endif /* defined __PrintDocumentPackageTargetFactory_FWD_DEFINED__ */
|
---|
62 |
|
---|
63 | /* Headers for imported files */
|
---|
64 |
|
---|
65 | #include <oaidl.h>
|
---|
66 | #include <ocidl.h>
|
---|
67 |
|
---|
68 | #ifdef __cplusplus
|
---|
69 | extern "C" {
|
---|
70 | #endif
|
---|
71 |
|
---|
72 | /**
|
---|
73 | * This file is part of the mingw-w64 runtime package.
|
---|
74 | * No warranty is given; refer to the file DISCLAIMER within this package.
|
---|
75 | */
|
---|
76 |
|
---|
77 | #include <winapifamily.h>
|
---|
78 |
|
---|
79 | DEFINE_GUID (ID_DOCUMENTPACKAGETARGET_MSXPS, 0x9cae40a8, 0xded1, 0x41c9, 0xa9, 0xfd, 0xd7, 0x35, 0xef, 0x33, 0xae, 0xda);
|
---|
80 | DEFINE_GUID (ID_DOCUMENTPACKAGETARGET_OPENXPS, 0x0056bb72, 0x8c9c, 0x4612, 0xbd, 0x0f, 0x93, 0x01, 0x2a, 0x87, 0x09, 0x9d);
|
---|
81 |
|
---|
82 | #if NTDDI_VERSION >= 0x06010000
|
---|
83 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
---|
84 | /*****************************************************************************
|
---|
85 | * IPrintDocumentPackageTarget interface
|
---|
86 | */
|
---|
87 | #ifndef __IPrintDocumentPackageTarget_INTERFACE_DEFINED__
|
---|
88 | #define __IPrintDocumentPackageTarget_INTERFACE_DEFINED__
|
---|
89 |
|
---|
90 | DEFINE_GUID(IID_IPrintDocumentPackageTarget, 0x1b8efec4, 0x3019, 0x4c27, 0x96,0x4e, 0x36,0x72,0x02,0x15,0x69,0x06);
|
---|
91 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
92 | MIDL_INTERFACE("1b8efec4-3019-4c27-964e-367202156906")
|
---|
93 | IPrintDocumentPackageTarget : public IUnknown
|
---|
94 | {
|
---|
95 | virtual HRESULT STDMETHODCALLTYPE GetPackageTargetTypes(
|
---|
96 | UINT32 *targetCount,
|
---|
97 | GUID **targetTypes) = 0;
|
---|
98 |
|
---|
99 | virtual HRESULT STDMETHODCALLTYPE GetPackageTarget(
|
---|
100 | REFGUID guidTargetType,
|
---|
101 | REFIID riid,
|
---|
102 | void **ppvTarget) = 0;
|
---|
103 |
|
---|
104 | virtual HRESULT STDMETHODCALLTYPE Cancel(
|
---|
105 | ) = 0;
|
---|
106 |
|
---|
107 | };
|
---|
108 | #ifdef __CRT_UUID_DECL
|
---|
109 | __CRT_UUID_DECL(IPrintDocumentPackageTarget, 0x1b8efec4, 0x3019, 0x4c27, 0x96,0x4e, 0x36,0x72,0x02,0x15,0x69,0x06)
|
---|
110 | #endif
|
---|
111 | #else
|
---|
112 | typedef struct IPrintDocumentPackageTargetVtbl {
|
---|
113 | BEGIN_INTERFACE
|
---|
114 |
|
---|
115 | /*** IUnknown methods ***/
|
---|
116 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
117 | IPrintDocumentPackageTarget *This,
|
---|
118 | REFIID riid,
|
---|
119 | void **ppvObject);
|
---|
120 |
|
---|
121 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
122 | IPrintDocumentPackageTarget *This);
|
---|
123 |
|
---|
124 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
125 | IPrintDocumentPackageTarget *This);
|
---|
126 |
|
---|
127 | /*** IPrintDocumentPackageTarget methods ***/
|
---|
128 | HRESULT (STDMETHODCALLTYPE *GetPackageTargetTypes)(
|
---|
129 | IPrintDocumentPackageTarget *This,
|
---|
130 | UINT32 *targetCount,
|
---|
131 | GUID **targetTypes);
|
---|
132 |
|
---|
133 | HRESULT (STDMETHODCALLTYPE *GetPackageTarget)(
|
---|
134 | IPrintDocumentPackageTarget *This,
|
---|
135 | REFGUID guidTargetType,
|
---|
136 | REFIID riid,
|
---|
137 | void **ppvTarget);
|
---|
138 |
|
---|
139 | HRESULT (STDMETHODCALLTYPE *Cancel)(
|
---|
140 | IPrintDocumentPackageTarget *This);
|
---|
141 |
|
---|
142 | END_INTERFACE
|
---|
143 | } IPrintDocumentPackageTargetVtbl;
|
---|
144 |
|
---|
145 | interface IPrintDocumentPackageTarget {
|
---|
146 | CONST_VTBL IPrintDocumentPackageTargetVtbl* lpVtbl;
|
---|
147 | };
|
---|
148 |
|
---|
149 | #ifdef COBJMACROS
|
---|
150 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
151 | /*** IUnknown methods ***/
|
---|
152 | #define IPrintDocumentPackageTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
153 | #define IPrintDocumentPackageTarget_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
154 | #define IPrintDocumentPackageTarget_Release(This) (This)->lpVtbl->Release(This)
|
---|
155 | /*** IPrintDocumentPackageTarget methods ***/
|
---|
156 | #define IPrintDocumentPackageTarget_GetPackageTargetTypes(This,targetCount,targetTypes) (This)->lpVtbl->GetPackageTargetTypes(This,targetCount,targetTypes)
|
---|
157 | #define IPrintDocumentPackageTarget_GetPackageTarget(This,guidTargetType,riid,ppvTarget) (This)->lpVtbl->GetPackageTarget(This,guidTargetType,riid,ppvTarget)
|
---|
158 | #define IPrintDocumentPackageTarget_Cancel(This) (This)->lpVtbl->Cancel(This)
|
---|
159 | #else
|
---|
160 | /*** IUnknown methods ***/
|
---|
161 | static FORCEINLINE HRESULT IPrintDocumentPackageTarget_QueryInterface(IPrintDocumentPackageTarget* This,REFIID riid,void **ppvObject) {
|
---|
162 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
163 | }
|
---|
164 | static FORCEINLINE ULONG IPrintDocumentPackageTarget_AddRef(IPrintDocumentPackageTarget* This) {
|
---|
165 | return This->lpVtbl->AddRef(This);
|
---|
166 | }
|
---|
167 | static FORCEINLINE ULONG IPrintDocumentPackageTarget_Release(IPrintDocumentPackageTarget* This) {
|
---|
168 | return This->lpVtbl->Release(This);
|
---|
169 | }
|
---|
170 | /*** IPrintDocumentPackageTarget methods ***/
|
---|
171 | static FORCEINLINE HRESULT IPrintDocumentPackageTarget_GetPackageTargetTypes(IPrintDocumentPackageTarget* This,UINT32 *targetCount,GUID **targetTypes) {
|
---|
172 | return This->lpVtbl->GetPackageTargetTypes(This,targetCount,targetTypes);
|
---|
173 | }
|
---|
174 | static FORCEINLINE HRESULT IPrintDocumentPackageTarget_GetPackageTarget(IPrintDocumentPackageTarget* This,REFGUID guidTargetType,REFIID riid,void **ppvTarget) {
|
---|
175 | return This->lpVtbl->GetPackageTarget(This,guidTargetType,riid,ppvTarget);
|
---|
176 | }
|
---|
177 | static FORCEINLINE HRESULT IPrintDocumentPackageTarget_Cancel(IPrintDocumentPackageTarget* This) {
|
---|
178 | return This->lpVtbl->Cancel(This);
|
---|
179 | }
|
---|
180 | #endif
|
---|
181 | #endif
|
---|
182 |
|
---|
183 | #endif
|
---|
184 |
|
---|
185 |
|
---|
186 | #endif /* __IPrintDocumentPackageTarget_INTERFACE_DEFINED__ */
|
---|
187 |
|
---|
188 | #endif
|
---|
189 |
|
---|
190 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
---|
191 | typedef enum PrintDocumentPackageCompletion {
|
---|
192 | PrintDocumentPackageCompletion_InProgress = 0,
|
---|
193 | PrintDocumentPackageCompletion_Completed = 1,
|
---|
194 | PrintDocumentPackageCompletion_Canceled = 2,
|
---|
195 | PrintDocumentPackageCompletion_Failed = 3
|
---|
196 | } PrintDocumentPackageCompletion;
|
---|
197 | typedef struct __WIDL_documenttarget_generated_name_00000020 {
|
---|
198 | UINT32 JobId;
|
---|
199 | INT32 CurrentDocument;
|
---|
200 | INT32 CurrentPage;
|
---|
201 | INT32 CurrentPageTotal;
|
---|
202 | PrintDocumentPackageCompletion Completion;
|
---|
203 | HRESULT PackageStatus;
|
---|
204 | } PrintDocumentPackageStatus;
|
---|
205 | /*****************************************************************************
|
---|
206 | * IPrintDocumentPackageStatusEvent interface
|
---|
207 | */
|
---|
208 | #ifndef __IPrintDocumentPackageStatusEvent_INTERFACE_DEFINED__
|
---|
209 | #define __IPrintDocumentPackageStatusEvent_INTERFACE_DEFINED__
|
---|
210 |
|
---|
211 | DEFINE_GUID(IID_IPrintDocumentPackageStatusEvent, 0xed90c8ad, 0x5c34, 0x4d05, 0xa1,0xec, 0x0e,0x8a,0x9b,0x3a,0xd7,0xaf);
|
---|
212 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
213 | MIDL_INTERFACE("ed90c8ad-5c34-4d05-a1ec-0e8a9b3ad7af")
|
---|
214 | IPrintDocumentPackageStatusEvent : public IDispatch
|
---|
215 | {
|
---|
216 | virtual HRESULT STDMETHODCALLTYPE PackageStatusUpdated(
|
---|
217 | PrintDocumentPackageStatus *packageStatus) = 0;
|
---|
218 |
|
---|
219 | };
|
---|
220 | #ifdef __CRT_UUID_DECL
|
---|
221 | __CRT_UUID_DECL(IPrintDocumentPackageStatusEvent, 0xed90c8ad, 0x5c34, 0x4d05, 0xa1,0xec, 0x0e,0x8a,0x9b,0x3a,0xd7,0xaf)
|
---|
222 | #endif
|
---|
223 | #else
|
---|
224 | typedef struct IPrintDocumentPackageStatusEventVtbl {
|
---|
225 | BEGIN_INTERFACE
|
---|
226 |
|
---|
227 | /*** IUnknown methods ***/
|
---|
228 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
229 | IPrintDocumentPackageStatusEvent *This,
|
---|
230 | REFIID riid,
|
---|
231 | void **ppvObject);
|
---|
232 |
|
---|
233 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
234 | IPrintDocumentPackageStatusEvent *This);
|
---|
235 |
|
---|
236 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
237 | IPrintDocumentPackageStatusEvent *This);
|
---|
238 |
|
---|
239 | /*** IDispatch methods ***/
|
---|
240 | HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
---|
241 | IPrintDocumentPackageStatusEvent *This,
|
---|
242 | UINT *pctinfo);
|
---|
243 |
|
---|
244 | HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
---|
245 | IPrintDocumentPackageStatusEvent *This,
|
---|
246 | UINT iTInfo,
|
---|
247 | LCID lcid,
|
---|
248 | ITypeInfo **ppTInfo);
|
---|
249 |
|
---|
250 | HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
---|
251 | IPrintDocumentPackageStatusEvent *This,
|
---|
252 | REFIID riid,
|
---|
253 | LPOLESTR *rgszNames,
|
---|
254 | UINT cNames,
|
---|
255 | LCID lcid,
|
---|
256 | DISPID *rgDispId);
|
---|
257 |
|
---|
258 | HRESULT (STDMETHODCALLTYPE *Invoke)(
|
---|
259 | IPrintDocumentPackageStatusEvent *This,
|
---|
260 | DISPID dispIdMember,
|
---|
261 | REFIID riid,
|
---|
262 | LCID lcid,
|
---|
263 | WORD wFlags,
|
---|
264 | DISPPARAMS *pDispParams,
|
---|
265 | VARIANT *pVarResult,
|
---|
266 | EXCEPINFO *pExcepInfo,
|
---|
267 | UINT *puArgErr);
|
---|
268 |
|
---|
269 | /*** IPrintDocumentPackageStatusEvent methods ***/
|
---|
270 | HRESULT (STDMETHODCALLTYPE *PackageStatusUpdated)(
|
---|
271 | IPrintDocumentPackageStatusEvent *This,
|
---|
272 | PrintDocumentPackageStatus *packageStatus);
|
---|
273 |
|
---|
274 | END_INTERFACE
|
---|
275 | } IPrintDocumentPackageStatusEventVtbl;
|
---|
276 |
|
---|
277 | interface IPrintDocumentPackageStatusEvent {
|
---|
278 | CONST_VTBL IPrintDocumentPackageStatusEventVtbl* lpVtbl;
|
---|
279 | };
|
---|
280 |
|
---|
281 | #ifdef COBJMACROS
|
---|
282 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
283 | /*** IUnknown methods ***/
|
---|
284 | #define IPrintDocumentPackageStatusEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
285 | #define IPrintDocumentPackageStatusEvent_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
286 | #define IPrintDocumentPackageStatusEvent_Release(This) (This)->lpVtbl->Release(This)
|
---|
287 | /*** IDispatch methods ***/
|
---|
288 | #define IPrintDocumentPackageStatusEvent_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
|
---|
289 | #define IPrintDocumentPackageStatusEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
|
---|
290 | #define IPrintDocumentPackageStatusEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
|
---|
291 | #define IPrintDocumentPackageStatusEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
|
---|
292 | /*** IPrintDocumentPackageStatusEvent methods ***/
|
---|
293 | #define IPrintDocumentPackageStatusEvent_PackageStatusUpdated(This,packageStatus) (This)->lpVtbl->PackageStatusUpdated(This,packageStatus)
|
---|
294 | #else
|
---|
295 | /*** IUnknown methods ***/
|
---|
296 | static FORCEINLINE HRESULT IPrintDocumentPackageStatusEvent_QueryInterface(IPrintDocumentPackageStatusEvent* This,REFIID riid,void **ppvObject) {
|
---|
297 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
298 | }
|
---|
299 | static FORCEINLINE ULONG IPrintDocumentPackageStatusEvent_AddRef(IPrintDocumentPackageStatusEvent* This) {
|
---|
300 | return This->lpVtbl->AddRef(This);
|
---|
301 | }
|
---|
302 | static FORCEINLINE ULONG IPrintDocumentPackageStatusEvent_Release(IPrintDocumentPackageStatusEvent* This) {
|
---|
303 | return This->lpVtbl->Release(This);
|
---|
304 | }
|
---|
305 | /*** IDispatch methods ***/
|
---|
306 | static FORCEINLINE HRESULT IPrintDocumentPackageStatusEvent_GetTypeInfoCount(IPrintDocumentPackageStatusEvent* This,UINT *pctinfo) {
|
---|
307 | return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
|
---|
308 | }
|
---|
309 | static FORCEINLINE HRESULT IPrintDocumentPackageStatusEvent_GetTypeInfo(IPrintDocumentPackageStatusEvent* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
|
---|
310 | return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
|
---|
311 | }
|
---|
312 | static FORCEINLINE HRESULT IPrintDocumentPackageStatusEvent_GetIDsOfNames(IPrintDocumentPackageStatusEvent* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
|
---|
313 | return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
|
---|
314 | }
|
---|
315 | static FORCEINLINE HRESULT IPrintDocumentPackageStatusEvent_Invoke(IPrintDocumentPackageStatusEvent* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
|
---|
316 | return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
|
---|
317 | }
|
---|
318 | /*** IPrintDocumentPackageStatusEvent methods ***/
|
---|
319 | static FORCEINLINE HRESULT IPrintDocumentPackageStatusEvent_PackageStatusUpdated(IPrintDocumentPackageStatusEvent* This,PrintDocumentPackageStatus *packageStatus) {
|
---|
320 | return This->lpVtbl->PackageStatusUpdated(This,packageStatus);
|
---|
321 | }
|
---|
322 | #endif
|
---|
323 | #endif
|
---|
324 |
|
---|
325 | #endif
|
---|
326 |
|
---|
327 |
|
---|
328 | #endif /* __IPrintDocumentPackageStatusEvent_INTERFACE_DEFINED__ */
|
---|
329 |
|
---|
330 | /*****************************************************************************
|
---|
331 | * IPrintDocumentPackageTargetFactory interface
|
---|
332 | */
|
---|
333 | #ifndef __IPrintDocumentPackageTargetFactory_INTERFACE_DEFINED__
|
---|
334 | #define __IPrintDocumentPackageTargetFactory_INTERFACE_DEFINED__
|
---|
335 |
|
---|
336 | DEFINE_GUID(IID_IPrintDocumentPackageTargetFactory, 0xd2959bf7, 0xb31b, 0x4a3d, 0x96,0x00, 0x71,0x2e,0xb1,0x33,0x5b,0xa4);
|
---|
337 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
338 | MIDL_INTERFACE("d2959bf7-b31b-4a3d-9600-712eb1335ba4")
|
---|
339 | IPrintDocumentPackageTargetFactory : public IUnknown
|
---|
340 | {
|
---|
341 | virtual HRESULT STDMETHODCALLTYPE CreateDocumentPackageTargetForPrintJob(
|
---|
342 | LPCWSTR printerName,
|
---|
343 | LPCWSTR jobName,
|
---|
344 | IStream *jobOutputStream,
|
---|
345 | IStream *jobPrintTicketStream,
|
---|
346 | IPrintDocumentPackageTarget **docPackageTarget) = 0;
|
---|
347 |
|
---|
348 | };
|
---|
349 | #ifdef __CRT_UUID_DECL
|
---|
350 | __CRT_UUID_DECL(IPrintDocumentPackageTargetFactory, 0xd2959bf7, 0xb31b, 0x4a3d, 0x96,0x00, 0x71,0x2e,0xb1,0x33,0x5b,0xa4)
|
---|
351 | #endif
|
---|
352 | #else
|
---|
353 | typedef struct IPrintDocumentPackageTargetFactoryVtbl {
|
---|
354 | BEGIN_INTERFACE
|
---|
355 |
|
---|
356 | /*** IUnknown methods ***/
|
---|
357 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
358 | IPrintDocumentPackageTargetFactory *This,
|
---|
359 | REFIID riid,
|
---|
360 | void **ppvObject);
|
---|
361 |
|
---|
362 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
363 | IPrintDocumentPackageTargetFactory *This);
|
---|
364 |
|
---|
365 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
366 | IPrintDocumentPackageTargetFactory *This);
|
---|
367 |
|
---|
368 | /*** IPrintDocumentPackageTargetFactory methods ***/
|
---|
369 | HRESULT (STDMETHODCALLTYPE *CreateDocumentPackageTargetForPrintJob)(
|
---|
370 | IPrintDocumentPackageTargetFactory *This,
|
---|
371 | LPCWSTR printerName,
|
---|
372 | LPCWSTR jobName,
|
---|
373 | IStream *jobOutputStream,
|
---|
374 | IStream *jobPrintTicketStream,
|
---|
375 | IPrintDocumentPackageTarget **docPackageTarget);
|
---|
376 |
|
---|
377 | END_INTERFACE
|
---|
378 | } IPrintDocumentPackageTargetFactoryVtbl;
|
---|
379 |
|
---|
380 | interface IPrintDocumentPackageTargetFactory {
|
---|
381 | CONST_VTBL IPrintDocumentPackageTargetFactoryVtbl* lpVtbl;
|
---|
382 | };
|
---|
383 |
|
---|
384 | #ifdef COBJMACROS
|
---|
385 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
386 | /*** IUnknown methods ***/
|
---|
387 | #define IPrintDocumentPackageTargetFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
388 | #define IPrintDocumentPackageTargetFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
389 | #define IPrintDocumentPackageTargetFactory_Release(This) (This)->lpVtbl->Release(This)
|
---|
390 | /*** IPrintDocumentPackageTargetFactory methods ***/
|
---|
391 | #define IPrintDocumentPackageTargetFactory_CreateDocumentPackageTargetForPrintJob(This,printerName,jobName,jobOutputStream,jobPrintTicketStream,docPackageTarget) (This)->lpVtbl->CreateDocumentPackageTargetForPrintJob(This,printerName,jobName,jobOutputStream,jobPrintTicketStream,docPackageTarget)
|
---|
392 | #else
|
---|
393 | /*** IUnknown methods ***/
|
---|
394 | static FORCEINLINE HRESULT IPrintDocumentPackageTargetFactory_QueryInterface(IPrintDocumentPackageTargetFactory* This,REFIID riid,void **ppvObject) {
|
---|
395 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
396 | }
|
---|
397 | static FORCEINLINE ULONG IPrintDocumentPackageTargetFactory_AddRef(IPrintDocumentPackageTargetFactory* This) {
|
---|
398 | return This->lpVtbl->AddRef(This);
|
---|
399 | }
|
---|
400 | static FORCEINLINE ULONG IPrintDocumentPackageTargetFactory_Release(IPrintDocumentPackageTargetFactory* This) {
|
---|
401 | return This->lpVtbl->Release(This);
|
---|
402 | }
|
---|
403 | /*** IPrintDocumentPackageTargetFactory methods ***/
|
---|
404 | static FORCEINLINE HRESULT IPrintDocumentPackageTargetFactory_CreateDocumentPackageTargetForPrintJob(IPrintDocumentPackageTargetFactory* This,LPCWSTR printerName,LPCWSTR jobName,IStream *jobOutputStream,IStream *jobPrintTicketStream,IPrintDocumentPackageTarget **docPackageTarget) {
|
---|
405 | return This->lpVtbl->CreateDocumentPackageTargetForPrintJob(This,printerName,jobName,jobOutputStream,jobPrintTicketStream,docPackageTarget);
|
---|
406 | }
|
---|
407 | #endif
|
---|
408 | #endif
|
---|
409 |
|
---|
410 | #endif
|
---|
411 |
|
---|
412 |
|
---|
413 | #endif /* __IPrintDocumentPackageTargetFactory_INTERFACE_DEFINED__ */
|
---|
414 |
|
---|
415 | #endif
|
---|
416 | #ifndef __PrintDocumentTargetLib_LIBRARY_DEFINED__
|
---|
417 | #define __PrintDocumentTargetLib_LIBRARY_DEFINED__
|
---|
418 |
|
---|
419 | DEFINE_GUID(LIBID_PrintDocumentTargetLib, 0x410d76f7, 0x8bb5, 0x4a7d, 0x9d,0x37, 0x9c,0x71,0xb1,0xb1,0x4d,0x14);
|
---|
420 |
|
---|
421 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
---|
422 | #ifndef __IPrintDocumentPackageTarget_FWD_DEFINED__
|
---|
423 | #define __IPrintDocumentPackageTarget_FWD_DEFINED__
|
---|
424 | typedef interface IPrintDocumentPackageTarget IPrintDocumentPackageTarget;
|
---|
425 | #ifdef __cplusplus
|
---|
426 | interface IPrintDocumentPackageTarget;
|
---|
427 | #endif /* __cplusplus */
|
---|
428 | #endif
|
---|
429 |
|
---|
430 | #endif
|
---|
431 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
---|
432 | #ifndef __IPrintDocumentPackageStatusEvent_FWD_DEFINED__
|
---|
433 | #define __IPrintDocumentPackageStatusEvent_FWD_DEFINED__
|
---|
434 | typedef interface IPrintDocumentPackageStatusEvent IPrintDocumentPackageStatusEvent;
|
---|
435 | #ifdef __cplusplus
|
---|
436 | interface IPrintDocumentPackageStatusEvent;
|
---|
437 | #endif /* __cplusplus */
|
---|
438 | #endif
|
---|
439 |
|
---|
440 | #ifndef __IPrintDocumentPackageTargetFactory_FWD_DEFINED__
|
---|
441 | #define __IPrintDocumentPackageTargetFactory_FWD_DEFINED__
|
---|
442 | typedef interface IPrintDocumentPackageTargetFactory IPrintDocumentPackageTargetFactory;
|
---|
443 | #ifdef __cplusplus
|
---|
444 | interface IPrintDocumentPackageTargetFactory;
|
---|
445 | #endif /* __cplusplus */
|
---|
446 | #endif
|
---|
447 |
|
---|
448 | /*****************************************************************************
|
---|
449 | * PrintDocumentPackageTarget coclass
|
---|
450 | */
|
---|
451 |
|
---|
452 | DEFINE_GUID(CLSID_PrintDocumentPackageTarget, 0x4842669e, 0x9947, 0x46ea, 0x8b,0xa2, 0xd8,0xcc,0xe4,0x32,0xc2,0xca);
|
---|
453 |
|
---|
454 | #ifdef __cplusplus
|
---|
455 | class DECLSPEC_UUID("4842669e-9947-46ea-8ba2-d8cce432c2ca") PrintDocumentPackageTarget;
|
---|
456 | #ifdef __CRT_UUID_DECL
|
---|
457 | __CRT_UUID_DECL(PrintDocumentPackageTarget, 0x4842669e, 0x9947, 0x46ea, 0x8b,0xa2, 0xd8,0xcc,0xe4,0x32,0xc2,0xca)
|
---|
458 | #endif
|
---|
459 | #endif
|
---|
460 |
|
---|
461 | /*****************************************************************************
|
---|
462 | * PrintDocumentPackageTargetFactory coclass
|
---|
463 | */
|
---|
464 |
|
---|
465 | DEFINE_GUID(CLSID_PrintDocumentPackageTargetFactory, 0x348ef17d, 0x6c81, 0x4982, 0x92,0xb4, 0xee,0x18,0x8a,0x43,0x86,0x7a);
|
---|
466 |
|
---|
467 | #ifdef __cplusplus
|
---|
468 | class DECLSPEC_UUID("348ef17d-6c81-4982-92b4-ee188a43867a") PrintDocumentPackageTargetFactory;
|
---|
469 | #ifdef __CRT_UUID_DECL
|
---|
470 | __CRT_UUID_DECL(PrintDocumentPackageTargetFactory, 0x348ef17d, 0x6c81, 0x4982, 0x92,0xb4, 0xee,0x18,0x8a,0x43,0x86,0x7a)
|
---|
471 | #endif
|
---|
472 | #endif
|
---|
473 |
|
---|
474 | #endif
|
---|
475 | #endif /* __PrintDocumentTargetLib_LIBRARY_DEFINED__ */
|
---|
476 | #endif
|
---|
477 | /* Begin additional prototypes for all interfaces */
|
---|
478 |
|
---|
479 |
|
---|
480 | /* End additional prototypes */
|
---|
481 |
|
---|
482 | #ifdef __cplusplus
|
---|
483 | }
|
---|
484 | #endif
|
---|
485 |
|
---|
486 | #endif /* __documenttarget_h__ */
|
---|