次の方法で共有


2.2.1.15.3 RPC_BranchOfficeJobDataError

The RPC_BranchOfficeJobDataError structure holds a single Branch Office Print Remote Log Entry (section 3.1.1).<86> This entry contains the information needed to create event ID 372 in the Microsoft-Windows-PrintService/Admin event channel.

 typedef struct {
   DWORD LastError;
   [string] wchar_t* pDocumentName;
   [string] wchar_t* pUserName;
   [string] wchar_t* pPrinterName;
   [string] wchar_t* pDataType;
   LONGLONG TotalSize;
   LONGLONG PrintedSize;
   DWORD TotalPages;
   DWORD PrintedPages;
   [string] wchar_t* pMachineName;
   [string] wchar_t* pJobError;
   [string] wchar_t* pErrorDescription;
 } RPC_BranchOfficeJobDataError;

LastError: A 32-bit unsigned integer that specifies an implementation-specific error code for the last error that occurred during processing of this print job.

pDocumentName: A pointer to a string that specifies the name of the print document for this print job.

pUserName: A pointer to a string that specifies the name of the user that owns the print job. For rules governing user names, see section 2.2.4.17.

pPrinterName: A pointer to a string that specifies the name of the printer used for the print job. For rules governing printer names, see section 2.2.4.14.

pDataType: A pointer to a string that specifies the type of data that the printing application sent to the printer in the print job. The identified data type MUST be supported by the print processor that is associated with the printer that is processing the job. For rules governing data type names, see section 2.2.4.2.

TotalSize: A 64-bit signed integer that specifies the size of the print job, in bytes. This value MUST be greater than zero.

PrintedSize: A 64-bit signed integer that specifies the amount of data for the print job that actually got processed and sent to the printer, in bytes. This value MUST be zero or greater.

TotalPages: A 32-bit unsigned integer that specifies the number of pages the document contains.

PrintedPages: A 32-bit unsigned integer that specifies the number of pages of the document that actually got processed and sent to the printer.

pMachineName: A pointer to a string that specifies the name of the client computer that owns the print job. For rules governing computer names, see section 2.2.4.16.

pJobError: A pointer to a string that specifies the text representation of the value of the LastError error code.

pErrorDescription: A pointer to an optional string that specifies message text for a system-defined error corresponding to the value of the LastError error code.