f080912b1b72720a683c17d09873a3259c6a835b
[reactos.git] / reactos / win32ss / printing / base / spoolss / printers.c
1 /*
2 * PROJECT: ReactOS Spooler Router
3 * LICENSE: GNU LGPL v2.1 or any later version as published by the Free Software Foundation
4 * PURPOSE: Functions related to Printers and printing
5 * COPYRIGHT: Copyright 2015 Colin Finck <colin@reactos.org>
6 */
7
8 #include "precomp.h"
9
10
11 BOOL WINAPI
12 ClosePrinter(HANDLE hPrinter)
13 {
14 return FALSE;
15 }
16
17 BOOL WINAPI
18 EndDocPrinter(HANDLE hPrinter)
19 {
20 return FALSE;
21 }
22
23 BOOL WINAPI
24 EndPagePrinter(HANDLE hPrinter)
25 {
26 return FALSE;
27 }
28
29 BOOL WINAPI
30 EnumPrintersW(DWORD Flags, LPWSTR Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
31 {
32 return LocalSplFuncs.fpEnumPrinters(Flags, Name, Level, pPrinterEnum, cbBuf, pcbNeeded, pcReturned);
33 }
34
35 BOOL WINAPI
36 GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded)
37 {
38 return FALSE;
39 }
40
41 BOOL WINAPI
42 GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded)
43 {
44 return FALSE;
45 }
46
47 BOOL WINAPI
48 OpenPrinterW(LPWSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTSW pDefault)
49 {
50 return LocalSplFuncs.fpOpenPrinter(pPrinterName, phPrinter, pDefault);
51 }
52
53 BOOL WINAPI
54 ReadPrinter(HANDLE hPrinter, PVOID pBuf, DWORD cbBuf, PDWORD pNoBytesRead)
55 {
56 return FALSE;
57 }
58
59 DWORD WINAPI
60 StartDocPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo)
61 {
62 return 0;
63 }
64
65 BOOL WINAPI
66 StartPagePrinter(HANDLE hPrinter)
67 {
68 return FALSE;
69 }
70
71 BOOL WINAPI
72 WritePrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, LPDWORD pcWritten)
73 {
74 return FALSE;
75 }
76
77 BOOL WINAPI
78 XcvDataW(HANDLE hXcv, PCWSTR pszDataName, PBYTE pInputData, DWORD cbInputData, PBYTE pOutputData, DWORD cbOutputData, PDWORD pcbOutputNeeded, PDWORD pdwStatus)
79 {
80 return FALSE;
81 }