| xpsprint.h (6.2.9200.16492-Windows_7.0) | | xpsprint.h (6.3.9600.17415-Windows_8.1) |
| | |
| /* this ALWAYS GENERATED file contains the definitions for the interfaces */ | | /* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
| | |
|
| /* File created by MIDL compiler version 7.00.0555 */ | | /* File created by MIDL compiler version 8.00.0603 */ |
| /* Compiler settings for xpsprint.idl: | | |
| Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 | | |
| 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( ) */ | | /* @@MIDL_FILE_HEADING( ) */ |
| | |
| #pragma warning( disable: 4049 ) /* more than 64k source lines */ | | #pragma warning( disable: 4049 ) /* more than 64k source lines */ |
| | |
| /* verify that the <rpcndr.h> version is high enough to compile this file*/ | | /* verify that the <rpcndr.h> version is high enough to compile this file*/ |
| #ifndef __REQUIRED_RPCNDR_H_VERSION__ | | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| #define __REQUIRED_RPCNDR_H_VERSION__ 500 | | #define __REQUIRED_RPCNDR_H_VERSION__ 500 |
| #endif | | #endif |
| | |
| /* verify that the <rpcsal.h> version is high enough to compile this file*/ | | /* verify that the <rpcsal.h> version is high enough to compile this file*/ |
| | |
| skipping to change at line 46 | | skipping to change at line 38 |
| | |
| #if defined(_MSC_VER) && (_MSC_VER >= 1020) | | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
| #pragma once | | #pragma once |
| #endif | | #endif |
| | |
| /* Forward Declarations */ | | /* Forward Declarations */ |
| | |
| #ifndef __IXpsPrintJobStream_FWD_DEFINED__ | | #ifndef __IXpsPrintJobStream_FWD_DEFINED__ |
| #define __IXpsPrintJobStream_FWD_DEFINED__ | | #define __IXpsPrintJobStream_FWD_DEFINED__ |
| typedef interface IXpsPrintJobStream IXpsPrintJobStream; | | typedef interface IXpsPrintJobStream IXpsPrintJobStream; |
|
| | |
| #endif /* __IXpsPrintJobStream_FWD_DEFINED__ */ | | #endif /* __IXpsPrintJobStream_FWD_DEFINED__ */ |
| | |
| #ifndef __IXpsPrintJob_FWD_DEFINED__ | | #ifndef __IXpsPrintJob_FWD_DEFINED__ |
| #define __IXpsPrintJob_FWD_DEFINED__ | | #define __IXpsPrintJob_FWD_DEFINED__ |
| typedef interface IXpsPrintJob IXpsPrintJob; | | typedef interface IXpsPrintJob IXpsPrintJob; |
|
| | |
| #endif /* __IXpsPrintJob_FWD_DEFINED__ */ | | #endif /* __IXpsPrintJob_FWD_DEFINED__ */ |
| | |
| /* header files for imported files */ | | /* header files for imported files */ |
| #include "oaidl.h" | | #include "oaidl.h" |
| #include "ocidl.h" | | #include "ocidl.h" |
|
| | #include "xpsobjectmodel.h" |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| extern "C"{ | | extern "C"{ |
| #endif | | #endif |
| | |
| /* interface __MIDL_itf_xpsprint_0000_0000 */ | | /* interface __MIDL_itf_xpsprint_0000_0000 */ |
| /* [local] */ | | /* [local] */ |
| | |
| //+------------------------------------------------------------------------- | | //+------------------------------------------------------------------------- |
| // | | // |
| // Microsoft Windows | | // Microsoft Windows |
| // Copyright (c) Microsoft Corporation. All rights reserved. | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| // | | // |
| //-------------------------------------------------------------------------- | | //-------------------------------------------------------------------------- |
|
| | #include <winapifamily.h> |
| | #pragma region Desktop Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| #if (NTDDI_VERSION >= NTDDI_WIN7) | | #if (NTDDI_VERSION >= NTDDI_WIN7) |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_xpsprint_0000_0000_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_xpsprint_0000_0000_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_xpsprint_0000_0000_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_xpsprint_0000_0000_v0_0_s_ifspec; |
| | |
| #ifndef __XpsPrint_LIBRARY_DEFINED__ | | #ifndef __XpsPrint_LIBRARY_DEFINED__ |
| #define __XpsPrint_LIBRARY_DEFINED__ | | #define __XpsPrint_LIBRARY_DEFINED__ |
| | |
| /* library XpsPrint */ | | /* library XpsPrint */ |
| /* [helpstring][version][uuid] */ | | /* [helpstring][version][uuid] */ |
| | |
| typedef /* [public][public][public][v1_enum] */ | | typedef /* [public][public][public][v1_enum] */ |
| enum __MIDL___MIDL_itf_xpsprint_0000_0000_0001 | | enum __MIDL___MIDL_itf_xpsprint_0000_0000_0001 |
|
| { XPS_JOB_IN_PROGRESS = 0, | | { |
| XPS_JOB_COMPLETED = ( XPS_JOB_IN_PROGRESS + 1 ) , | | XPS_JOB_IN_PROGRESS = 0, |
| XPS_JOB_CANCELLED = ( XPS_JOB_COMPLETED + 1 ) , | | XPS_JOB_COMPLETED = ( XPS_JOB_IN_PROGRESS + 1 ) , |
| XPS_JOB_FAILED = ( XPS_JOB_CANCELLED + 1 ) | | XPS_JOB_CANCELLED = ( XPS_JOB_COMPLETED + 1 ) , |
| | XPS_JOB_FAILED = ( XPS_JOB_CANCELLED + 1 ) |
| } XPS_JOB_COMPLETION; | | } XPS_JOB_COMPLETION; |
| | |
| typedef /* [public][public] */ struct __MIDL___MIDL_itf_xpsprint_0000_0000_0002 | | typedef /* [public][public] */ struct __MIDL___MIDL_itf_xpsprint_0000_0000_0002 |
| { | | { |
| UINT32 jobId; | | UINT32 jobId; |
| INT32 currentDocument; | | INT32 currentDocument; |
| INT32 currentPage; | | INT32 currentPage; |
| INT32 currentPageTotal; | | INT32 currentPageTotal; |
| XPS_JOB_COMPLETION completion; | | XPS_JOB_COMPLETION completion; |
| HRESULT jobStatus; | | HRESULT jobStatus; |
| | |
| skipping to change at line 129 | | skipping to change at line 128 |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IXpsPrintJobStreamVtbl | | typedef struct IXpsPrintJobStreamVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| __RPC__in IXpsPrintJobStream * This, | | __RPC__in IXpsPrintJobStream * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| __RPC__in IXpsPrintJobStream * This); | | __RPC__in IXpsPrintJobStream * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| __RPC__in IXpsPrintJobStream * This); | | __RPC__in IXpsPrintJobStream * This); |
| | |
| /* [local] */ HRESULT ( STDMETHODCALLTYPE *Read )( | | /* [local] */ HRESULT ( STDMETHODCALLTYPE *Read )( |
| IXpsPrintJobStream * This, | | IXpsPrintJobStream * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_bcount_part(cb, *pcbRead) void *pv, | | _Out_writes_bytes_to_(cb, *pcbRead) void *pv, |
| /* [in] */ ULONG cb, | | /* [annotation][in] */ |
| | _In_ ULONG cb, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ULONG *pcbRead); | | _Out_opt_ ULONG *pcbRead); |
| | |
| /* [local] */ HRESULT ( STDMETHODCALLTYPE *Write )( | | /* [local] */ HRESULT ( STDMETHODCALLTYPE *Write )( |
| IXpsPrintJobStream * This, | | IXpsPrintJobStream * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_bcount(cb) const void *pv, | | _In_reads_bytes_(cb) const void *pv, |
| /* [in] */ ULONG cb, | | /* [annotation][in] */ |
| | _In_ ULONG cb, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ULONG *pcbWritten); | | _Out_opt_ ULONG *pcbWritten); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Close )( | | HRESULT ( STDMETHODCALLTYPE *Close )( |
| __RPC__in IXpsPrintJobStream * This); | | __RPC__in IXpsPrintJobStream * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IXpsPrintJobStreamVtbl; | | } IXpsPrintJobStreamVtbl; |
| | |
| interface IXpsPrintJobStream | | interface IXpsPrintJobStream |
| { | | { |
| CONST_VTBL struct IXpsPrintJobStreamVtbl *lpVtbl; | | CONST_VTBL struct IXpsPrintJobStreamVtbl *lpVtbl; |
| | |
| skipping to change at line 221 | | skipping to change at line 222 |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IXpsPrintJobVtbl | | typedef struct IXpsPrintJobVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| __RPC__in IXpsPrintJob * This, | | __RPC__in IXpsPrintJob * This, |
| /* [in] */ __RPC__in REFIID riid, | | /* [in] */ __RPC__in REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| __RPC__in IXpsPrintJob * This); | | __RPC__in IXpsPrintJob * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| __RPC__in IXpsPrintJob * This); | | __RPC__in IXpsPrintJob * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Cancel )( | | HRESULT ( STDMETHODCALLTYPE *Cancel )( |
| __RPC__in IXpsPrintJob * This); | | __RPC__in IXpsPrintJob * This); |
| | |
| | |
| skipping to change at line 285 | | skipping to change at line 286 |
| /* [string][in] */ __RPC__in_string LPCWSTR jobName, | | /* [string][in] */ __RPC__in_string LPCWSTR jobName, |
| /* [string][in] */ __RPC__in_string LPCWSTR outputFileName, | | /* [string][in] */ __RPC__in_string LPCWSTR outputFileName, |
| /* [in] */ __RPC__in HANDLE progressEvent, | | /* [in] */ __RPC__in HANDLE progressEvent, |
| /* [in] */ __RPC__in HANDLE completionEvent, | | /* [in] */ __RPC__in HANDLE completionEvent, |
| /* [size_is][in] */ __RPC__in_ecount_full(printablePagesOnCount) UINT8 *prin
tablePagesOn, | | /* [size_is][in] */ __RPC__in_ecount_full(printablePagesOnCount) UINT8 *prin
tablePagesOn, |
| /* [in] */ UINT32 printablePagesOnCount, | | /* [in] */ UINT32 printablePagesOnCount, |
| /* [out] */ __RPC__deref_out_opt IXpsPrintJob **xpsPrintJob, | | /* [out] */ __RPC__deref_out_opt IXpsPrintJob **xpsPrintJob, |
| /* [out] */ __RPC__deref_out_opt IXpsPrintJobStream **documentStream, | | /* [out] */ __RPC__deref_out_opt IXpsPrintJobStream **documentStream, |
| /* [out] */ __RPC__deref_out_opt IXpsPrintJobStream **printTicketStream); | | /* [out] */ __RPC__deref_out_opt IXpsPrintJobStream **printTicketStream); |
| | |
|
| | /* [entry][helpstring] */ HRESULT __stdcall StartXpsPrintJob1( |
| | /* [string][in] */ __RPC__in_string LPCWSTR printerName, |
| | /* [string][in] */ __RPC__in_string LPCWSTR jobName, |
| | /* [string][in] */ __RPC__in_string LPCWSTR outputFileName, |
| | /* [in] */ __RPC__in HANDLE progressEvent, |
| | /* [in] */ __RPC__in HANDLE completionEvent, |
| | /* [out] */ __RPC__deref_out_opt IXpsPrintJob **xpsPrintJob, |
| | /* [out] */ __RPC__deref_out_opt IXpsOMPackageTarget **printContentReceiver) |
| | ; |
| | |
| #endif /* __XpsPrint_MODULE_DEFINED__ */ | | #endif /* __XpsPrint_MODULE_DEFINED__ */ |
| #endif /* __XpsPrint_LIBRARY_DEFINED__ */ | | #endif /* __XpsPrint_LIBRARY_DEFINED__ */ |
| | |
|
| /* interface __MIDL_itf_xpsprint_0001_0066 */ | | /* interface __MIDL_itf_xpsprint_0000_0001 */ |
| /* [local] */ | | /* [local] */ |
| | |
| #endif //(NTDDI_VERSION >= NTDDI_WIN7) | | #endif //(NTDDI_VERSION >= NTDDI_WIN7) |
|
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ |
| | #pragma endregion |
| | |
|
| extern RPC_IF_HANDLE __MIDL_itf_xpsprint_0001_0066_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_xpsprint_0000_0001_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_xpsprint_0001_0066_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_xpsprint_0000_0001_v0_0_s_ifspec; |
| | |
| /* Additional Prototypes for ALL interfaces */ | | /* Additional Prototypes for ALL interfaces */ |
| | |
| /* end of Additional Prototypes */ | | /* end of Additional Prototypes */ |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| } | | } |
| #endif | | #endif |
| | |
| #endif | | #endif |
| | |
| End of changes. 16 change blocks. |
| 24 lines changed or deleted | | 37 lines changed or added |
|