<div class="content" name="RPC_BranchOfficeJobDataError" uuid="d86fd29b-9512-4c80-a14b-5f5fb25e5975"><p>The <b>RPC_BranchOfficeJobDataError</b> structure holds a
single <b>Branch Office Print Remote Log Entry</b> (section <span><a href="1bd61448-db4b-4284-a4b1-8346732402d4" data-linktype="relative-path">3.1.1</a></span>).<a id="Appendix_A_Target_86"></a><a aria-label="Product behavior note 86" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_86" data-linktype="relative-path">&lt;86&gt;</a> This entry contains the
information needed to create <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_0c6539af-aed7-4baa-9d21-4aa5b41d448a" data-linktype="relative-path">event ID</a></span> 372 in the <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_e6ccb1c9-7b3e-473c-9e14-0806d19c4337" data-linktype="relative-path">Microsoft-Windows-PrintService</a></span>/Admin
<span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_43907602-849d-4d1c-9ff8-a2c3228b3735" data-linktype="relative-path">event
channel</a></span>.</p><dl>
<dd>
<div><pre> 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;
</pre></div>
</dd></dl><p><b>LastError:</b> A 32-bit unsigned integer that
specifies an implementation-specific error code for the last error that
occurred during processing of this <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_12a6e569-e97c-4761-92f0-e397f8d5125f" data-linktype="relative-path">print job</a></span>.</p><p><b>pDocumentName:</b> A pointer to a string that
specifies the name of the print document for this print job.</p><p><b>pUserName:</b> A pointer to a string that
specifies the name of the user that owns the print job. For rules governing
user names, see section <span><a href="9b19bbdf-64da-407f-a5c6-c6533a041d19" data-linktype="relative-path">2.2.4.17</a></span>.</p><p><b>pPrinterName:</b> A pointer to a string that
specifies the name of the printer used for the print job. For rules governing
printer names, see section <span><a href="24fcd124-035c-4988-a858-3a7d8d6f7b43" data-linktype="relative-path">2.2.4.14</a></span>.</p><p><b>pDataType:</b> 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 <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_0d327bc0-a461-4723-8beb-d935fdab4895" data-linktype="relative-path">data type</a></span> MUST be
supported by the <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_062f3e76-3149-468c-bf64-1535651725d1" data-linktype="relative-path">print processor</a></span> that
is associated with the printer that is processing the job. For rules governing
data type names, see section <span><a href="f40cbad0-88dd-4e86-a16b-cf62c3b17c52" data-linktype="relative-path">2.2.4.2</a></span>.</p><p><b>TotalSize:</b> A 64-bit signed integer that
specifies the size of the print job, in bytes. This value MUST be greater than
zero.</p><p><b>PrintedSize:</b> 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.</p><p><b>TotalPages:</b> A 32-bit unsigned integer
that specifies the number of pages the document contains.</p><p><b>PrintedPages:</b> A 32-bit unsigned integer
that specifies the number of pages of the document that actually got processed
and sent to the printer.</p><p><b>pMachineName:</b> 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 <span><a href="9b3f8135-7022-4b72-accb-aefcc360c83b" data-linktype="relative-path">2.2.4.16</a></span>.</p><p><b>pJobError:</b> A pointer to a string that
specifies the text representation of the value of the <b>LastError</b> error
code.</p><p><b>pErrorDescription:</b> A pointer to an
optional string that specifies message text for a system-defined error
corresponding to the value of the <b>LastError</b> error code.</p></div>