ReactOS  0.4.15-dev-316-g938df97
_LOCAL_JOB Struct Reference

#include <precomp.h>

Collaboration diagram for _LOCAL_JOB:

Public Attributes

DWORD dwJobID
 
BOOL bAddedJob: 1
 
HANDLE hPrintProcessor
 
PLOCAL_PRINTER pPrinter
 
PLOCAL_PRINT_PROCESSOR pPrintProcessor
 
DWORD dwPriority
 
SYSTEMTIME stSubmitted
 
PWSTR pwszUserName
 
PWSTR pwszNotifyName
 
PWSTR pwszDocumentName
 
PWSTR pwszDatatype
 
PWSTR pwszOutputFile
 
PWSTR pwszPrintProcessorParameters
 
PWSTR pwszStatus
 
DWORD dwTotalPages
 
DWORD dwPagesPrinted
 
DWORD dwStartTime
 
DWORD dwUntilTime
 
DWORD dwStatus
 
PWSTR pwszMachineName
 
PDEVMODEW pDevMode
 

Detailed Description

Describes an entire print job associated to a specific printer through the Printer member. Created with every valid call to LocalStartDocPrinter.

Definition at line 133 of file precomp.h.

Member Data Documentation

◆ bAddedJob

BOOL _LOCAL_JOB::bAddedJob

Internal and external ID of this Job

Definition at line 138 of file precomp.h.

Referenced by LocalAddJob(), LocalScheduleJob(), and ReadJobShadowFile().

◆ dwJobID

◆ dwPagesPrinted

DWORD _LOCAL_JOB::dwPagesPrinted

Total pages of the Document

Definition at line 152 of file precomp.h.

Referenced by _LocalGetJobLevel1(), and _LocalGetJobLevel2().

◆ dwPriority

DWORD _LOCAL_JOB::dwPriority

Associated Print Processor to this Job

Definition at line 142 of file precomp.h.

Referenced by _LocalGetJobLevel1(), _LocalGetJobLevel2(), _LocalSetJobLevel1(), _LocalSetJobLevel2(), CreateJob(), ReadJobShadowFile(), and WriteJobShadowFile().

◆ dwStartTime

DWORD _LOCAL_JOB::dwStartTime

Number of pages that have already been printed

Definition at line 153 of file precomp.h.

Referenced by _LocalGetJobLevel2(), ReadJobShadowFile(), and WriteJobShadowFile().

◆ dwStatus

DWORD _LOCAL_JOB::dwStatus

Latest time in minutes since 12:00 AM UTC when this document can be printed

Definition at line 155 of file precomp.h.

Referenced by _LocalGetJobLevel1(), _LocalGetJobLevel2(), _LocalSetJobLevel1(), _LocalSetJobLevel2(), CreateJob(), LocalScheduleJob(), and PrintingThreadProc().

◆ dwTotalPages

DWORD _LOCAL_JOB::dwTotalPages

Optional; a Status Message for the Job

Definition at line 151 of file precomp.h.

Referenced by _LocalGetJobLevel1(), _LocalGetJobLevel2(), LocalStartPagePrinter(), ReadJobShadowFile(), and WriteJobShadowFile().

◆ dwUntilTime

DWORD _LOCAL_JOB::dwUntilTime

Earliest time in minutes since 12:00 AM UTC when this document can be printed

Definition at line 154 of file precomp.h.

Referenced by _LocalGetJobLevel2(), ReadJobShadowFile(), and WriteJobShadowFile().

◆ hPrintProcessor

HANDLE _LOCAL_JOB::hPrintProcessor

Whether AddJob has already been called on this Job.

Definition at line 139 of file precomp.h.

Referenced by LocalSetJob(), and PrintingThreadProc().

◆ pDevMode

PDEVMODEW _LOCAL_JOB::pDevMode

Name of the machine that submitted the Job (prepended with two backslashes)

Definition at line 157 of file precomp.h.

Referenced by _LocalGetJobLevel2(), CreateJob(), FreeJob(), PrintingThreadProc(), ReadJobShadowFile(), and WriteJobShadowFile().

◆ pPrinter

◆ pPrintProcessor

PLOCAL_PRINT_PROCESSOR _LOCAL_JOB::pPrintProcessor

◆ pwszDatatype

PWSTR _LOCAL_JOB::pwszDatatype

◆ pwszDocumentName

PWSTR _LOCAL_JOB::pwszDocumentName

Optional; User that shall be notified about the status of the Job

Definition at line 146 of file precomp.h.

Referenced by _LocalGetJobLevel1(), _LocalGetJobLevel2(), _LocalSetJobLevel1(), _LocalSetJobLevel2(), CreateJob(), FreeJob(), LocalStartDocPrinter(), PrintingThreadProc(), ReadJobShadowFile(), and WriteJobShadowFile().

◆ pwszMachineName

PWSTR _LOCAL_JOB::pwszMachineName

JOB_STATUS_* flags of the Job

Definition at line 156 of file precomp.h.

Referenced by _LocalGetJobLevel1(), _LocalGetJobLevel2(), CreateJob(), FreeJob(), ReadJobShadowFile(), and WriteJobShadowFile().

◆ pwszNotifyName

PWSTR _LOCAL_JOB::pwszNotifyName

Optional; User that submitted the Job

Definition at line 145 of file precomp.h.

Referenced by _LocalGetJobLevel2(), _LocalSetJobLevel2(), CreateJob(), FreeJob(), ReadJobShadowFile(), and WriteJobShadowFile().

◆ pwszOutputFile

PWSTR _LOCAL_JOB::pwszOutputFile

Datatype of the Document

Definition at line 148 of file precomp.h.

Referenced by FreeJob().

◆ pwszPrintProcessorParameters

PWSTR _LOCAL_JOB::pwszPrintProcessorParameters

Output File to spool the Job to

Definition at line 149 of file precomp.h.

Referenced by _LocalGetJobLevel2(), _LocalSetJobLevel2(), FreeJob(), PrintingThreadProc(), ReadJobShadowFile(), and WriteJobShadowFile().

◆ pwszStatus

PWSTR _LOCAL_JOB::pwszStatus

Optional; Parameters for the chosen Print Processor

Definition at line 150 of file precomp.h.

Referenced by _LocalGetJobLevel1(), _LocalGetJobLevel2(), _LocalSetJobLevel1(), _LocalSetJobLevel2(), and FreeJob().

◆ pwszUserName

PWSTR _LOCAL_JOB::pwszUserName

◆ stSubmitted

SYSTEMTIME _LOCAL_JOB::stSubmitted

Priority of this Job from MIN_PRIORITY to MAX_PRIORITY, default being DEF_PRIORITY

Definition at line 143 of file precomp.h.

Referenced by _LocalGetJobLevel1(), _LocalGetJobLevel2(), CreateJob(), ReadJobShadowFile(), and WriteJobShadowFile().


The documentation for this struct was generated from the following file: