Compartilhar via


2.2.1.15.5 RPC_BranchOfficeJobDataPrinted

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

 typedef struct {
   DWORD Status;
   [string] wchar_t* pDocumentName;
   [string] wchar_t* pUserName;
   [string] wchar_t* pMachineName;
   [string] wchar_t* pPrinterName;
   [string] wchar_t* pPortName;
   LONGLONG Size;
   DWORD TotalPages;
 } RPC_BranchOfficeJobDataPrinted;

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

pDocumentName: 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.

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.

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.

pPortName: A pointer to a string that specifies a supported printer port. For rules governing port names, see section 2.2.4.10.

Size: A 64-bit signed integer that specifies the size of the print job, in bytes.

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