2015-05-06 12:47:20 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS Standard Print Processor
|
2017-09-29 17:18:19 +00:00
|
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
2015-05-06 12:47:20 +00:00
|
|
|
* PURPOSE: Precompiled Header for all source files
|
2017-09-29 17:18:19 +00:00
|
|
|
* COPYRIGHT: Copyright 2015 Colin Finck (colin@reactos.org)
|
2015-05-06 12:47:20 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _PRECOMP_H
|
|
|
|
#define _PRECOMP_H
|
|
|
|
|
|
|
|
#define WIN32_NO_STATUS
|
2015-06-05 18:16:51 +00:00
|
|
|
#include <stdlib.h>
|
2015-05-06 12:47:20 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
|
|
|
#include <wingdi.h>
|
|
|
|
#include <winreg.h>
|
|
|
|
#include <winspool.h>
|
|
|
|
#include <winsplp.h>
|
|
|
|
|
2015-06-05 18:16:51 +00:00
|
|
|
#include <spoolss.h>
|
|
|
|
|
2015-05-06 12:47:20 +00:00
|
|
|
#include <wine/debug.h>
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(winprint);
|
|
|
|
|
2015-06-28 15:51:32 +00:00
|
|
|
// Structures
|
|
|
|
typedef struct _WINPRINT_HANDLE
|
|
|
|
{
|
|
|
|
enum { RAW } Datatype;
|
|
|
|
DWORD dwJobID;
|
|
|
|
PWSTR pwszDatatype;
|
|
|
|
PWSTR pwszDocumentName;
|
|
|
|
PWSTR pwszOutputFile;
|
|
|
|
PWSTR pwszPrinterPort;
|
|
|
|
}
|
|
|
|
WINPRINT_HANDLE, *PWINPRINT_HANDLE;
|
|
|
|
|
|
|
|
// raw.c
|
|
|
|
DWORD PrintRawJob(PWINPRINT_HANDLE pHandle, PWSTR pwszPrinterAndJob);
|
|
|
|
|
2015-05-06 12:47:20 +00:00
|
|
|
#endif
|