/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 7.00.0555 */ /* 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( ) */ #pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 500 #endif /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCSAL_H_VERSION__ #define __REQUIRED_RPCSAL_H_VERSION__ 100 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of #endif // __RPCNDR_H_VERSION__ #ifndef __xpsprint_h__ #define __xpsprint_h__ #if defined(_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif /* Forward Declarations */ #ifndef __IXpsPrintJobStream_FWD_DEFINED__ #define __IXpsPrintJobStream_FWD_DEFINED__ typedef interface IXpsPrintJobStream IXpsPrintJobStream; #endif /* __IXpsPrintJobStream_FWD_DEFINED__ */ #ifndef __IXpsPrintJob_FWD_DEFINED__ #define __IXpsPrintJob_FWD_DEFINED__ typedef interface IXpsPrintJob IXpsPrintJob; #endif /* __IXpsPrintJob_FWD_DEFINED__ */ /* header files for imported files */ #include "oaidl.h" #include "ocidl.h" #ifdef __cplusplus extern "C"{ #endif /* interface __MIDL_itf_xpsprint_0000_0000 */ /* [local] */ //+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (c) Microsoft Corporation. All rights reserved. // //-------------------------------------------------------------------------- #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_s_ifspec; #ifndef __XpsPrint_LIBRARY_DEFINED__ #define __XpsPrint_LIBRARY_DEFINED__ /* library XpsPrint */ /* [helpstring][version][uuid] */ typedef /* [public][public][public][v1_enum] */ enum __MIDL___MIDL_itf_xpsprint_0000_0000_0001 { XPS_JOB_IN_PROGRESS = 0, XPS_JOB_COMPLETED = ( XPS_JOB_IN_PROGRESS + 1 ) , XPS_JOB_CANCELLED = ( XPS_JOB_COMPLETED + 1 ) , XPS_JOB_FAILED = ( XPS_JOB_CANCELLED + 1 ) } XPS_JOB_COMPLETION; typedef /* [public][public] */ struct __MIDL___MIDL_itf_xpsprint_0000_0000_0002 { UINT32 jobId; INT32 currentDocument; INT32 currentPage; INT32 currentPageTotal; XPS_JOB_COMPLETION completion; HRESULT jobStatus; } XPS_JOB_STATUS; EXTERN_C const IID LIBID_XpsPrint; #ifndef __IXpsPrintJobStream_INTERFACE_DEFINED__ #define __IXpsPrintJobStream_INTERFACE_DEFINED__ /* interface IXpsPrintJobStream */ /* [helpstring][uuid][object] */ EXTERN_C const IID IID_IXpsPrintJobStream; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("7a77dc5f-45d6-4dff-9307-d8cb846347ca") IXpsPrintJobStream : public ISequentialStream { public: virtual HRESULT STDMETHODCALLTYPE Close( void) = 0; }; #else /* C style interface */ typedef struct IXpsPrintJobStreamVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( __RPC__in IXpsPrintJobStream * This, /* [in] */ __RPC__in REFIID riid, /* [annotation][iid_is][out] */ __RPC__deref_out void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( __RPC__in IXpsPrintJobStream * This); ULONG ( STDMETHODCALLTYPE *Release )( __RPC__in IXpsPrintJobStream * This); /* [local] */ HRESULT ( STDMETHODCALLTYPE *Read )( IXpsPrintJobStream * This, /* [annotation] */ __out_bcount_part(cb, *pcbRead) void *pv, /* [in] */ ULONG cb, /* [annotation] */ __out_opt ULONG *pcbRead); /* [local] */ HRESULT ( STDMETHODCALLTYPE *Write )( IXpsPrintJobStream * This, /* [annotation] */ __in_bcount(cb) const void *pv, /* [in] */ ULONG cb, /* [annotation] */ __out_opt ULONG *pcbWritten); HRESULT ( STDMETHODCALLTYPE *Close )( __RPC__in IXpsPrintJobStream * This); END_INTERFACE } IXpsPrintJobStreamVtbl; interface IXpsPrintJobStream { CONST_VTBL struct IXpsPrintJobStreamVtbl *lpVtbl; }; #ifdef COBJMACROS #define IXpsPrintJobStream_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IXpsPrintJobStream_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IXpsPrintJobStream_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IXpsPrintJobStream_Read(This,pv,cb,pcbRead) \ ( (This)->lpVtbl -> Read(This,pv,cb,pcbRead) ) #define IXpsPrintJobStream_Write(This,pv,cb,pcbWritten) \ ( (This)->lpVtbl -> Write(This,pv,cb,pcbWritten) ) #define IXpsPrintJobStream_Close(This) \ ( (This)->lpVtbl -> Close(This) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IXpsPrintJobStream_INTERFACE_DEFINED__ */ #ifndef __IXpsPrintJob_INTERFACE_DEFINED__ #define __IXpsPrintJob_INTERFACE_DEFINED__ /* interface IXpsPrintJob */ /* [helpstring][uuid][object] */ EXTERN_C const IID IID_IXpsPrintJob; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("5ab89b06-8194-425f-ab3b-d7a96e350161") IXpsPrintJob : public IUnknown { public: virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0; virtual HRESULT STDMETHODCALLTYPE GetJobStatus( /* [retval][out] */ __RPC__out XPS_JOB_STATUS *jobStatus) = 0; }; #else /* C style interface */ typedef struct IXpsPrintJobVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( __RPC__in IXpsPrintJob * This, /* [in] */ __RPC__in REFIID riid, /* [annotation][iid_is][out] */ __RPC__deref_out void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( __RPC__in IXpsPrintJob * This); ULONG ( STDMETHODCALLTYPE *Release )( __RPC__in IXpsPrintJob * This); HRESULT ( STDMETHODCALLTYPE *Cancel )( __RPC__in IXpsPrintJob * This); HRESULT ( STDMETHODCALLTYPE *GetJobStatus )( __RPC__in IXpsPrintJob * This, /* [retval][out] */ __RPC__out XPS_JOB_STATUS *jobStatus); END_INTERFACE } IXpsPrintJobVtbl; interface IXpsPrintJob { CONST_VTBL struct IXpsPrintJobVtbl *lpVtbl; }; #ifdef COBJMACROS #define IXpsPrintJob_QueryInterface(This,riid,ppvObject) \ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) #define IXpsPrintJob_AddRef(This) \ ( (This)->lpVtbl -> AddRef(This) ) #define IXpsPrintJob_Release(This) \ ( (This)->lpVtbl -> Release(This) ) #define IXpsPrintJob_Cancel(This) \ ( (This)->lpVtbl -> Cancel(This) ) #define IXpsPrintJob_GetJobStatus(This,jobStatus) \ ( (This)->lpVtbl -> GetJobStatus(This,jobStatus) ) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IXpsPrintJob_INTERFACE_DEFINED__ */ #ifndef __XpsPrint_MODULE_DEFINED__ #define __XpsPrint_MODULE_DEFINED__ /* module XpsPrint */ /* [dllname][uuid] */ /* [entry][helpstring] */ HRESULT __stdcall StartXpsPrintJob( /* [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, /* [size_is][in] */ __RPC__in_ecount_full(printablePagesOnCount) UINT8 *printablePagesOn, /* [in] */ UINT32 printablePagesOnCount, /* [out] */ __RPC__deref_out_opt IXpsPrintJob **xpsPrintJob, /* [out] */ __RPC__deref_out_opt IXpsPrintJobStream **documentStream, /* [out] */ __RPC__deref_out_opt IXpsPrintJobStream **printTicketStream); #endif /* __XpsPrint_MODULE_DEFINED__ */ #endif /* __XpsPrint_LIBRARY_DEFINED__ */ /* interface __MIDL_itf_xpsprint_0001_0066 */ /* [local] */ #endif //(NTDDI_VERSION >= NTDDI_WIN7) extern RPC_IF_HANDLE __MIDL_itf_xpsprint_0001_0066_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_xpsprint_0001_0066_v0_0_s_ifspec; /* Additional Prototypes for ALL interfaces */ /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif