共用方式為


2.2.1.15.2 RPC_BranchOfficeJobData

The RPC_BranchOfficeJobData structure holds a branch office print remote logging structure that contains the data required to log a single Branch Office Print Remote Log Entry (section 3.1.1) corresponding to a specific type of Windows Event.<85>

 typedef struct {
   EBranchOfficeJobEventType eEventType;
   DWORD JobId;
   [switch_type(EBranchOfficeJobEventType), switch_is(eEventType)] 
     union {
     [case(kLogJobPrinted)] 
       RPC_BranchOfficeJobDataPrinted LogJobPrinted;
     [case(kLogJobRendered)] 
       RPC_BranchOfficeJobDataRendered LogJobRendered;
     [case(kLogJobError)] 
       RPC_BranchOfficeJobDataError LogJobError;
     [case(kLogJobPipelineError)] 
       RPC_BranchOfficeJobDataPipelineFailed LogPipelineFailed;
     [case(kLogOfflineFileFull)] 
       RPC_BranchOfficeLogOfflineFileFull LogOfflineFileFull;
   } JobInfo;
 } RPC_BranchOfficeJobData;

eEventType: The type of Windows Event to which the Branch Office Print Remote Log Entry corresponds, which MUST be an EBranchOfficeJobEventType (section 2.2.1.15.1) value.

JobId: The identifier of a print job.

JobInfo: The branch office print remote logging structure that contains the data required to log a Branch Office Print Remote Log Entry corresponding to the eEventType member value.

LogJobPrinted: An RPC_BranchOfficeJobDataPrinted (section 2.2.1.15.5) structure for a Branch Office Print Remote Log Entry corresponding to event ID 307. This structure is present only if eEventType is set to kLogJobPrinted.

LogJobRendered: An RPC_BranchOfficeJobDataRendered (section 2.2.1.15.6) structure for a Branch Office Print Remote Log Entry corresponding to event ID 805. This structure is present only if eEventType is set to kLogJobRendered.

LogJobError: An RPC_BranchOfficeJobDataError (section 2.2.1.15.3) structure for a Branch Office Print Remote Log Entry corresponding to event ID 372. This structure is present only if eEventType is set to kLogJobError.

LogPipelineFailed: An RPC_BranchOfficeJobDataPipelineFailed (section 2.2.1.15.4) structure for a Branch Office Print Remote Log Entry corresponding to event ID 824. This structure is present only if eEventType is set to kLogJobPipelineError.

LogOfflineFileFull: An RPC_BranchOfficeLogOfflineFileFull (section 2.2.1.15.7) structure for a Branch Office Print Remote Log Entry corresponding to event ID 868. This structure is present only if eEventType is set to kLogOfflineFileFull.