// winsplp.h
typedef struct {
DWORD LastError;
LPWSTR pDocumentName;
LPWSTR pUserName;
LPWSTR pPrinterName;
LPWSTR pDataType;
LONGLONG TotalSize;
LONGLONG PrintedSize;
DWORD TotalPages;
DWORD PrintedPages;
LPWSTR pMachineName;
LPWSTR pJobError;
LPWSTR pErrorDescription;
} BranchOfficeJobDataError, *PBranchOfficeJobDataError;
View the official Windows Driver Kit DDI referenceNo description available.
This structure contains the necessary data for logging a branch office job failure event on a remote server. This is based on standard job-related data available to the spooler.
LastErrorSpecifies the LastError at the time the event was logged.
pDocumentNameSpecifies the name of the printed document.
pUserNameSpecifies the user who submitted the job.
pPrinterNameSpecifies the name of the print connection.
pDataTypeSpecifies the data type of the job.
TotalSizeSpecifies the 64-bit size of the job.
PrintedSizeSpecifies the 64-bit size of the job.
TotalPagesSpecifies the total number of pages in the job.
PrintedPagesSpecifies the number of pages currently printed.
pMachineNameSpecifies the name of the client machine printing the job.
pJobErrorSpecifies the failure code for a JOB_ERROR event.
pErrorDescriptionSpecifies the text description of the error, if available.