ReactOS 0.4.16-dev-297-gc569aee
|
#include "precomp.h"
Go to the source code of this file.
Functions | |||||
_EqualStrings | |||||
Returns whether two strings are equal. Unlike wcscmp, this function also works with NULL strings.
| |||||
static __inline BOOL | _EqualStrings (PCWSTR pwszA, PCWSTR pwszB) | ||||
static BOOL | _GetNextJobID (PDWORD dwJobID) | ||||
_GlobalJobListCompareRoutine | |||||
SKIPLIST_COMPARE_ROUTINE for the Global Job List. We need the Global Job List to check whether a Job ID is already in use. Consequently, this list is sorted by ID. | |||||
static int WINAPI | _GlobalJobListCompareRoutine (PVOID FirstStruct, PVOID SecondStruct) | ||||
_PrinterJobListCompareRoutine | |||||
SKIPLIST_COMPARE_ROUTINE for each Printer's Job List. Jobs in this list are sorted in the desired order of processing. | |||||
static int WINAPI | _PrinterJobListCompareRoutine (PVOID FirstStruct, PVOID SecondStruct) | ||||
DWORD | GetJobFilePath (PCWSTR pwszExtension, DWORD dwJobID, PWSTR pwszOutput) | ||||
BOOL | InitializeGlobalJobList (void) | ||||
void | InitializePrinterJobList (PLOCAL_PRINTER pPrinter) | ||||
DWORD WINAPI | CreateJob (PLOCAL_PRINTER_HANDLE pPrinterHandle) | ||||
BOOL WINAPI | LocalAddJob (HANDLE hPrinter, DWORD Level, PBYTE pData, DWORD cbBuf, PDWORD pcbNeeded) | ||||
static void | _LocalGetJobLevel1 (PLOCAL_JOB pJob, PJOB_INFO_1W *ppJobInfo, PBYTE *ppJobInfoEnd, PDWORD pcbNeeded) | ||||
static void | _LocalGetJobLevel2 (PLOCAL_JOB pJob, PJOB_INFO_2W *ppJobInfo, PBYTE *ppJobInfoEnd, PDWORD pcbNeeded) | ||||
BOOL WINAPI | LocalGetJob (HANDLE hPrinter, DWORD JobId, DWORD Level, PBYTE pStart, DWORD cbBuf, LPDWORD pcbNeeded) | ||||
static DWORD | _LocalSetJobLevel1 (PLOCAL_PRINTER_HANDLE pPrinterHandle, PLOCAL_JOB pJob, PJOB_INFO_1W pJobInfo) | ||||
static DWORD | _LocalSetJobLevel2 (PLOCAL_PRINTER_HANDLE pPrinterHandle, PLOCAL_JOB pJob, PJOB_INFO_2W pJobInfo) | ||||
BOOL WINAPI | LocalSetJob (HANDLE hPrinter, DWORD JobId, DWORD Level, PBYTE pJobInfo, DWORD Command) | ||||
BOOL WINAPI | LocalEnumJobs (HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, DWORD Level, PBYTE pStart, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) | ||||
BOOL WINAPI | LocalScheduleJob (HANDLE hPrinter, DWORD dwJobID) | ||||
PLOCAL_JOB | ReadJobShadowFile (PCWSTR pwszFilePath) | ||||
BOOL | WriteJobShadowFile (PWSTR pwszFilePath, const PLOCAL_JOB pJob) | ||||
void | FreeJob (PLOCAL_JOB pJob) | ||||
Variables | |
SKIPLIST | GlobalJobList |
static DWORD | _dwLastJobID |
static DWORD | dwJobInfo1Offsets [] |
static DWORD | dwJobInfo2Offsets [] |
Definition at line 58 of file jobs.c.
Referenced by _LocalSetJobLevel1(), and _LocalSetJobLevel2().
Definition at line 73 of file jobs.c.
Referenced by CreateJob().
Definition at line 100 of file jobs.c.
Referenced by InitializeGlobalJobList().
|
static |
Definition at line 450 of file jobs.c.
Referenced by LocalEnumJobs(), and LocalGetJob().
|
static |
Definition at line 524 of file jobs.c.
Referenced by LocalEnumJobs(), and LocalGetJob().
|
static |
Definition at line 721 of file jobs.c.
Referenced by LocalSetJob().
|
static |
Definition at line 818 of file jobs.c.
Referenced by LocalSetJob().
Definition at line 115 of file jobs.c.
Referenced by InitializePrinterJobList().
DWORD WINAPI CreateJob | ( | PLOCAL_PRINTER_HANDLE | pPrinterHandle | ) |
Definition at line 257 of file jobs.c.
Referenced by LocalAddJob(), and LocalStartDocPrinter().
void FreeJob | ( | PLOCAL_JOB | pJob | ) |
Definition at line 1452 of file jobs.c.
Referenced by _LocalClosePrinterHandle(), and LocalSetJob().
Definition at line 146 of file jobs.c.
Referenced by _LocalOpenPrinterHandle(), FreeJob(), InitializeGlobalJobList(), LocalAddJob(), LocalScheduleJob(), LocalSetJob(), and PrintingThreadProc().
Definition at line 161 of file jobs.c.
Referenced by _InitializeLocalSpooler().
void InitializePrinterJobList | ( | PLOCAL_PRINTER | pPrinter | ) |
Definition at line 247 of file jobs.c.
Referenced by InitializePrinterList().
BOOL WINAPI LocalAddJob | ( | HANDLE | hPrinter, |
DWORD | Level, | ||
PBYTE | pData, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded | ||
) |
Definition at line 380 of file jobs.c.
BOOL WINAPI LocalEnumJobs | ( | HANDLE | hPrinter, |
DWORD | FirstJob, | ||
DWORD | NoJobs, | ||
DWORD | Level, | ||
PBYTE | pStart, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded, | ||
LPDWORD | pcReturned | ||
) |
Definition at line 1022 of file jobs.c.
BOOL WINAPI LocalGetJob | ( | HANDLE | hPrinter, |
DWORD | JobId, | ||
DWORD | Level, | ||
PBYTE | pStart, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded | ||
) |
Definition at line 655 of file jobs.c.
Definition at line 1112 of file jobs.c.
BOOL WINAPI LocalSetJob | ( | HANDLE | hPrinter, |
DWORD | JobId, | ||
DWORD | Level, | ||
PBYTE | pJobInfo, | ||
DWORD | Command | ||
) |
Definition at line 949 of file jobs.c.
PLOCAL_JOB ReadJobShadowFile | ( | PCWSTR | pwszFilePath | ) |
Definition at line 1187 of file jobs.c.
Referenced by InitializeGlobalJobList().
BOOL WriteJobShadowFile | ( | PWSTR | pwszFilePath, |
const PLOCAL_JOB | pJob | ||
) |
Definition at line 1300 of file jobs.c.
Referenced by LocalScheduleJob(), and LocalSetJob().
|
static |
Definition at line 14 of file jobs.c.
Referenced by _GetNextJobID(), and InitializeGlobalJobList().
|
static |
Definition at line 17 of file jobs.c.
Referenced by _LocalGetJobLevel1().
|
static |
Definition at line 27 of file jobs.c.
Referenced by _LocalGetJobLevel2().
SKIPLIST GlobalJobList |
Definition at line 11 of file jobs.c.
Referenced by _GetNextJobID(), _LocalOpenPrinterHandle(), CreateJob(), FreeJob(), InitializeGlobalJobList(), LocalGetJob(), LocalScheduleJob(), and LocalSetJob().