1 /*
2  * PROJECT:     ReactOS Spooler API
3  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE:     Precompiled Header for all source files
5  * COPYRIGHT:   Copyright 2015-2017 Colin Finck (colin@reactos.org)
6  */
7 
8 #ifndef _PRECOMP_H
9 #define _PRECOMP_H
10 
11 #define WIN32_NO_STATUS
12 #include <windef.h>
13 #include <winbase.h>
14 #include <wingdi.h>
15 #include <winreg.h>
16 #include <winspool.h>
17 #include <winspool_c.h>
18 #include <ndk/rtlfuncs.h>
19 
20 #include <spoolss.h>
21 #include <marshalling/marshalling.h>
22 
23 #include <wine/debug.h>
24 WINE_DEFAULT_DEBUG_CHANNEL(winspool);
25 
26 // Structures
27 /*
28  * Describes a handle returned by OpenPrinterW.
29  */
30 typedef struct _SPOOLER_HANDLE
31 {
32     BOOL bStartedDoc : 1;
33     DWORD dwJobID;
34     HANDLE hPrinter;
35     HANDLE hSPLFile;
36 }
37 SPOOLER_HANDLE, *PSPOOLER_HANDLE;
38 
39 // main.c
40 extern HANDLE hProcessHeap;
41 
42 #endif
43