PrintDocumentPackageStatus structure (documenttarget.h)
Defines a payload to be used by the PackageStatusUpdated method. This structure is a generic version of XPS_JOB_STATUS.
Syntax
typedef struct __MIDL___MIDL_itf_documenttarget_0000_0002_0001 {
UINT32 JobId;
INT32 CurrentDocument;
INT32 CurrentPage;
INT32 CurrentPageTotal;
PrintDocumentPackageCompletion Completion;
HRESULT PackageStatus;
} PrintDocumentPackageStatus;
Members
JobId
The job ID.
CurrentDocument
The zero-based index of the most recently processed document.
CurrentPage
The zero-based index of the most recently processed page in the current document
CurrentPageTotal
A running total of the number of pages that have been processed by the print job.
Completion
The completion status of the job.
PackageStatus
The error state of the job.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | documenttarget.h |