ReactOS 0.4.16-dev-334-g4d9f67c
|
#include <limits.h>
#include <stdlib.h>
#include <wchar.h>
#include <lmcons.h>
#include <rpc.h>
#include <strsafe.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winreg.h>
#include <winspool.h>
#include <winsplp.h>
#include <winddiui.h>
#include <dsrole.h>
#include <secext.h>
#include <ndk/rtlfuncs.h>
#include <skiplist.h>
#include <spoolss.h>
#include <wine/debug.h>
Go to the source code of this file.
Classes | |
struct | _LOCAL_PRINT_MONITOR |
struct | _LOCAL_PORT |
struct | _LOCAL_PRINT_PROCESSOR |
struct | _LOCAL_PRINTER |
struct | _LOCAL_JOB |
struct | _LOCAL_PRINTER_HANDLE |
struct | _LOCAL_PORT_HANDLE |
struct | _LOCAL_XCV_HANDLE |
struct | _LOCAL_HANDLE |
struct | _SHD_HEADER |
struct | _PRINTENV_T |
Macros | |
#define | WIN32_NO_STATUS |
#define | SKIPLIST_LEVELS 16 |
#define | IS_VALID_JOB_ID(ID) (ID >= 1 && ID <= 99999) |
#define | IS_VALID_PRIORITY(P) (P >= MIN_PRIORITY && P <= MAX_PRIORITY) |
#define | SHD_WIN2003_SIGNATURE 0x4968 |
#define IS_VALID_PRIORITY | ( | P | ) | (P >= MIN_PRIORITY && P <= MAX_PRIORITY) |
typedef struct _LOCAL_HANDLE LOCAL_HANDLE |
typedef struct _LOCAL_JOB LOCAL_JOB |
typedef struct _LOCAL_PORT LOCAL_PORT |
typedef struct _LOCAL_PRINTER LOCAL_PRINTER |
typedef struct _LOCAL_XCV_HANDLE LOCAL_XCV_HANDLE |
typedef LPMONITOREX(WINAPI * PInitializePrintMonitor) (PWSTR) |
typedef LPMONITOR2(WINAPI * PInitializePrintMonitor2) (PMONITORINIT, PHANDLE) |
typedef PMONITORUI(WINAPI * PInitializePrintMonitorUI) (VOID) |
typedef struct _LOCAL_HANDLE * PLOCAL_HANDLE |
typedef struct _LOCAL_JOB * PLOCAL_JOB |
typedef struct _LOCAL_PORT * PLOCAL_PORT |
typedef struct _LOCAL_PORT_HANDLE * PLOCAL_PORT_HANDLE |
typedef struct _LOCAL_PRINT_MONITOR * PLOCAL_PRINT_MONITOR |
typedef struct _LOCAL_PRINTER * PLOCAL_PRINTER |
typedef struct _LOCAL_PRINTER_HANDLE * PLOCAL_PRINTER_HANDLE |
typedef struct _LOCAL_XCV_HANDLE * PLOCAL_XCV_HANDLE |
typedef HANDLE(WINAPI * POpenPrintProcessor) (LPWSTR, PPRINTPROCESSOROPENDATA) |
typedef struct _PRINTENV_T * PPRINTENV_T |
typedef struct _PRINTENV_T PRINTENV_T |
typedef struct _SHD_HEADER * PSHD_HEADER |
typedef struct _SHD_HEADER SHD_HEADER |
Definition at line 26 of file tools.c.
Referenced by InitializePrinterList(), and InitializePrintMonitorList().
VOID BroadcastChange | ( | PLOCAL_HANDLE | pHandle | ) |
Definition at line 350 of file printers.c.
Referenced by LocalAddForm(), LocalDeleteForm(), and LocalSetForm().
Definition at line 89 of file tools.c.
Referenced by LocalAddMonitor(), LocalAddPort(), LocalAddPortEx(), LocalAddPrinterDriver(), LocalAddPrinterDriverEx(), LocalConfigurePort(), LocalDeleteMonitor(), LocalDeletePort(), and LocalSetPort().
DWORD WINAPI CreateJob | ( | PLOCAL_PRINTER_HANDLE | pPrinterHandle | ) |
Definition at line 257 of file jobs.c.
Referenced by LocalAddJob(), and LocalStartDocPrinter().
BOOL CreatePortEntry | ( | PCWSTR | pwszName, |
PLOCAL_PRINT_MONITOR | pPrintMonitor | ||
) |
Definition at line 37 of file ports.c.
Referenced by _HandleAddPort(), LocalAddPort(), and LocalAddPortEx().
Definition at line 61 of file tools.c.
Referenced by _LocalOpenPrinterHandle(), CreateJob(), and ReadJobShadowFile().
BOOL FindDatatype | ( | const PLOCAL_PRINT_PROCESSOR | pPrintProcessor, |
PCWSTR | pwszDatatype | ||
) |
Definition at line 80 of file printprocessors.c.
Referenced by _LocalOpenPrinterHandle(), _LocalSetJobLevel1(), _LocalSetJobLevel2(), InitializePrinterList(), and LocalStartDocPrinter().
PLOCAL_PORT FindPort | ( | PCWSTR | pwszName | ) |
Definition at line 15 of file ports.c.
Referenced by _HandleDeletePort(), _LocalOpenPortHandle(), _LocalOpenXcvHandle(), InitializePrinterList(), LocalAddPort(), LocalAddPortEx(), LocalConfigurePort(), LocalDeletePort(), and LocalSetPort().
PLOCAL_PRINT_MONITOR FindPrintMonitor | ( | PCWSTR | pwszName | ) |
Definition at line 28 of file monitors.c.
Referenced by _LocalOpenXcvHandle(), LocalAddPort(), LocalAddPortEx(), and LocalDeleteMonitor().
PLOCAL_PRINT_PROCESSOR FindPrintProcessor | ( | PCWSTR | pwszName | ) |
Definition at line 102 of file printprocessors.c.
Referenced by _LocalSetJobLevel2(), InitializePrinterList(), LocalEnumPrintProcessorDatatypes(), and ReadJobShadowFile().
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 228 of file forms.c.
Referenced by _InitializeLocalSpooler().
Definition at line 161 of file jobs.c.
Referenced by _InitializeLocalSpooler().
Definition at line 60 of file ports.c.
Referenced by _InitializeLocalSpooler().
Definition at line 77 of file printerdrivers.c.
Referenced by _InitializeLocalSpooler().
void InitializePrinterJobList | ( | PLOCAL_PRINTER | pPrinter | ) |
Definition at line 247 of file jobs.c.
Referenced by InitializePrinterList().
Definition at line 107 of file printers.c.
Referenced by _InitializeLocalSpooler().
Definition at line 126 of file monitors.c.
Referenced by _InitializeLocalSpooler().
Definition at line 129 of file printprocessors.c.
Referenced by _InitializeLocalSpooler().
Definition at line 409 of file forms.c.
BOOL WINAPI LocalAddJob | ( | HANDLE | hPrinter, |
DWORD | Level, | ||
LPBYTE | pData, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded | ||
) |
Definition at line 636 of file monitors.c.
Definition at line 286 of file ports.c.
Definition at line 217 of file ports.c.
Definition at line 1133 of file printerdrivers.c.
BOOL WINAPI LocalAddPrinterDriverEx | ( | LPWSTR | pName, |
DWORD | level, | ||
LPBYTE | pDriverInfo, | ||
DWORD | dwFileCopyFlags | ||
) |
Definition at line 1110 of file printerdrivers.c.
Definition at line 1960 of file printers.c.
Definition at line 30 of file spoolfile.c.
Definition at line 23 of file spoolfile.c.
Definition at line 361 of file ports.c.
Definition at line 499 of file forms.c.
Definition at line 724 of file monitors.c.
Definition at line 411 of file ports.c.
Definition at line 1857 of file printers.c.
Definition at line 1834 of file printers.c.
BOOL WINAPI LocalEnumForms | ( | HANDLE | hPrinter, |
DWORD | Level, | ||
PBYTE | pForm, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded, | ||
PDWORD | pcReturned | ||
) |
Definition at line 549 of file forms.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 LocalEnumMonitors | ( | PWSTR | pName, |
DWORD | Level, | ||
PBYTE | pMonitors, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded, | ||
PDWORD | pcReturned | ||
) |
Definition at line 396 of file monitors.c.
BOOL WINAPI LocalEnumPorts | ( | PWSTR | pName, |
DWORD | Level, | ||
PBYTE | pPorts, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded, | ||
PDWORD | pcReturned | ||
) |
Definition at line 164 of file ports.c.
Referenced by LocalAddPort().
BOOL WINAPI LocalEnumPrinterDrivers | ( | PWSTR | pName, |
PWSTR | pEnvironment, | ||
DWORD | Level, | ||
PBYTE | pDriverInfo, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded, | ||
PDWORD | pcReturned | ||
) |
Definition at line 600 of file printerdrivers.c.
BOOL WINAPI LocalEnumPrinters | ( | DWORD | Flags, |
LPWSTR | Name, | ||
DWORD | Level, | ||
LPBYTE | pPrinterEnum, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded, | ||
LPDWORD | pcReturned | ||
) |
Definition at line 884 of file printers.c.
BOOL WINAPI LocalEnumPrintProcessorDatatypes | ( | LPWSTR | pName, |
LPWSTR | pPrintProcessorName, | ||
DWORD | Level, | ||
LPBYTE | pDatatypes, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded, | ||
LPDWORD | pcReturned | ||
) |
Definition at line 402 of file printprocessors.c.
BOOL WINAPI LocalEnumPrintProcessors | ( | LPWSTR | pName, |
LPWSTR | pEnvironment, | ||
DWORD | Level, | ||
LPBYTE | pPrintProcessorInfo, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded, | ||
LPDWORD | pcReturned | ||
) |
Definition at line 471 of file printprocessors.c.
BOOL WINAPI LocalGetForm | ( | HANDLE | hPrinter, |
PWSTR | pFormName, | ||
DWORD | Level, | ||
PBYTE | pForm, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded | ||
) |
Definition at line 624 of file forms.c.
BOOL WINAPI LocalGetJob | ( | HANDLE | hPrinter, |
DWORD | JobId, | ||
DWORD | Level, | ||
PBYTE | pStart, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded | ||
) |
Definition at line 655 of file jobs.c.
BOOL WINAPI LocalGetPrinter | ( | HANDLE | hPrinter, |
DWORD | Level, | ||
LPBYTE | pPrinter, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded | ||
) |
Definition at line 985 of file printers.c.
DWORD WINAPI LocalGetPrinterData | ( | HANDLE | hPrinter, |
PWSTR | pValueName, | ||
PDWORD | pType, | ||
PBYTE | pData, | ||
DWORD | nSize, | ||
PDWORD | pcbNeeded | ||
) |
Definition at line 11 of file printerdata.c.
DWORD WINAPI LocalGetPrinterDataEx | ( | HANDLE | hPrinter, |
PCWSTR | pKeyName, | ||
PCWSTR | pValueName, | ||
PDWORD | pType, | ||
PBYTE | pData, | ||
DWORD | nSize, | ||
PDWORD | pcbNeeded | ||
) |
Definition at line 314 of file printerdata.c.
Referenced by LocalGetPrinterData().
BOOL WINAPI LocalGetPrinterDriver | ( | HANDLE | hPrinter, |
LPWSTR | pEnvironment, | ||
DWORD | Level, | ||
LPBYTE | pDriverInfo, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded | ||
) |
Definition at line 530 of file printerdrivers.c.
Referenced by LocalGetPrinterDriverEx().
BOOL WINAPI LocalGetPrinterDriverDirectory | ( | PWSTR | pName, |
PWSTR | pEnvironment, | ||
DWORD | Level, | ||
PBYTE | pDriverDirectory, | ||
DWORD | cbBuf, | ||
PDWORD | pcbNeeded | ||
) |
Definition at line 778 of file printerdrivers.c.
Referenced by driver_load(), InitializePrinterDrivers(), and myAddPrinterDriverEx().
BOOL WINAPI LocalGetPrinterDriverEx | ( | HANDLE | hPrinter, |
LPWSTR | pEnvironment, | ||
DWORD | Level, | ||
LPBYTE | pDriverInfo, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded, | ||
DWORD | dwClientMajorVersion, | ||
DWORD | dwClientMinorVersion, | ||
PDWORD | pdwServerMajorVersion, | ||
PDWORD | pdwServerMinorVersion | ||
) |
Definition at line 582 of file printerdrivers.c.
BOOL WINAPI LocalGetPrintProcessorDirectory | ( | LPWSTR | pName, |
LPWSTR | pEnvironment, | ||
DWORD | Level, | ||
LPBYTE | pPrintProcessorInfo, | ||
DWORD | cbBuf, | ||
LPDWORD | pcbNeeded | ||
) |
BOOL WINAPI LocalGetSpoolFileInfo | ( | HANDLE | hPrinter, |
LPWSTR * | pSpoolDir, | ||
LPHANDLE | phFile, | ||
HANDLE | hSpoolerProcess, | ||
HANDLE | hAppProcess | ||
) |
Definition at line 11 of file spoolfile.c.
BOOL WINAPI LocalOpenPrinter | ( | PWSTR | lpPrinterName, |
HANDLE * | phPrinter, | ||
PPRINTER_DEFAULTSW | pDefault | ||
) |
Definition at line 1398 of file printers.c.