2 * PROJECT: ReactOS Spooler Router
3 * LICENSE: GNU LGPL v2.1 or any later version as published by the Free Software Foundation
4 * PURPOSE: Precompiled Header for all source files
5 * COPYRIGHT: Copyright 2015 Colin Finck <colin@reactos.org>
11 #define WIN32_NO_STATUS
18 #include <ndk/rtlfuncs.h>
22 #include <wine/debug.h>
23 WINE_DEFAULT_DEBUG_CHANNEL(spoolss
);
26 typedef BOOL (WINAPI
*PInitializePrintProvidor
)(LPPRINTPROVIDOR
, DWORD
, LPWSTR
);
30 * Describes a Print Provider.
32 typedef struct _SPOOLSS_PRINT_PROVIDER
35 PRINTPROVIDOR PrintProvider
;
37 SPOOLSS_PRINT_PROVIDER
, *PSPOOLSS_PRINT_PROVIDER
;
40 * Describes a handle returned by OpenPrinterW.
41 * We can't just pass the handle returned by the Print Provider, because spoolss has to remember which Print Provider opened this handle.
43 typedef struct _SPOOLSS_PRINTER_HANDLE
45 PSPOOLSS_PRINT_PROVIDER pPrintProvider
; /** Pointer to the Print Provider that opened this printer. */
46 HANDLE hPrinter
; /** The handle returned by fpOpenPrinter of the Print Provider and passed to subsequent Print Provider functions. */
48 SPOOLSS_PRINTER_HANDLE
, *PSPOOLSS_PRINTER_HANDLE
;
51 extern HANDLE hProcessHeap
;
52 extern LIST_ENTRY PrintProviderList
;