ReactOS  0.4.15-dev-341-g17c5fb8
precomp.h
Go to the documentation of this file.
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 <winddiui.h>
19 #include <ndk/rtlfuncs.h>
20 #include <strsafe.h>
21 
22 #include <spoolss.h>
24 
25 #include <wine/debug.h>
27 
28 // Structures
29 /*
30  * Describes a handle returned by OpenPrinterW.
31  */
32 typedef struct _SPOOLER_HANDLE
33 {
38 }
40 
41 // main.c
42 extern HANDLE hProcessHeap;
43 
44 // utils.c
46 
47 // devmode.c
48 extern void RosConvertAnsiDevModeToUnicodeDevmode(PDEVMODEA pDevModeInput, PDEVMODEW pDevModeOutput);
49 
50 extern void RosConvertUnicodeDevModeToAnsiDevmode(PDEVMODEW pDevModeInput, PDEVMODEA pDevModeOutput);
51 
52 #endif
void RosConvertAnsiDevModeToUnicodeDevmode(PDEVMODEA pDevModeInput, PDEVMODEW pDevModeOutput)
Definition: devmode.c:237
uint16_t * PWSTR
Definition: typedefs.h:55
HANDLE hProcessHeap
Definition: kbswitch.c:25
void RosConvertUnicodeDevModeToAnsiDevmode(PDEVMODEW pDevModeInput, PDEVMODEA pDevModeOutput)
Definition: devmode.c:305
BOOL bStartedDoc
Definition: precomp.h:34
DWORD dwJobID
Definition: precomp.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
WINE_DEFAULT_DEBUG_CHANNEL(cmd)
HANDLE hSPLFile
Definition: precomp.h:37
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD UnicodeToAnsiInPlace(PWSTR pwszField)
Definition: utils.c:18
struct _SPOOLER_HANDLE SPOOLER_HANDLE
struct _SPOOLER_HANDLE * PSPOOLER_HANDLE
HANDLE hPrinter
Definition: precomp.h:36