#include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winreg.h>
#include <winspool.h>
#include <winsplp.h>
#include <spoolss.h>
#include <wine/debug.h>
Go to the source code of this file.
◆ WIN32_NO_STATUS
◆ PWINPRINT_HANDLE
◆ WINPRINT_HANDLE
◆ PrintRawJob()
Definition at line 23 of file raw.c.
24{
25
26 const DWORD cbReadBuffer = 262144;
27
36
37
39 {
41 ERR(
"OpenPrinterW failed for \"%S\" with error %lu!\n", pwszPrinterAndJob,
GetLastError());
43 }
44
45
47 {
51 }
52
53
57
58
60 {
64 }
65
67
68
71 {
75 }
76
77
79 {
80
82 }
83
85
89
90 if (bStartedDoc)
92
93 if (hPrintMonitor)
95
96 if (hPrintJob)
98
99 return dwErrorCode;
100}
#define ERROR_NOT_ENOUGH_MEMORY
static const WCHAR Cleanup[]
BOOL WINAPI DllFreeSplMem(PVOID pMem)
PVOID WINAPI DllAllocSplMem(DWORD dwBytes)
DWORD WINAPI GetLastError(void)
WINBOOL WINAPI ReadPrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, LPDWORD pNoBytesRead)
DWORD WINAPI StartDocPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo)
WINBOOL WINAPI OpenPrinterW(LPWSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTSW pDefault)
WINBOOL WINAPI EndDocPrinter(HANDLE hPrinter)
WINBOOL WINAPI ClosePrinter(HANDLE hPrinter)
WINBOOL WINAPI WritePrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, LPDWORD pcWritten)
Referenced by PrintDocumentOnPrintProcessor().
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
winprint |
| ) |
|