ReactOS  0.4.15-dev-439-g292f67a
spoolss.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Printing Include files
3  * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE: Undocumented APIs of the Spooler Router "spoolss.dll" and internally shared interfaces
5  * COPYRIGHT: Copyright 2015-2017 Colin Finck (colin@reactos.org)
6  */
7 
8 #ifndef _REACTOS_SPOOLSS_H
9 #define _REACTOS_SPOOLSS_H
10 
11 // Constants
12 #define MAX_PRINTER_NAME 220
13 
14 typedef struct _MARSHALL_DOWN_INFO
15 {
22 }
24 
26 typedef struct _PRINTER_INFO_STRESS
27 {
57 }
59 
61 PWSTR WINAPI AllocSplStr(PCWSTR pwszInput);
64 BOOL WINAPI DllFreeSplStr(PWSTR pwszString);
65 BOOL WINAPI InitializeRouter(HANDLE SpoolerStatusHandle);
66 PBYTE WINAPI PackStrings(PCWSTR* pSource, PBYTE pDest, const DWORD* DestOffsets, PBYTE pEnd);
67 PVOID WINAPI ReallocSplMem(PVOID pOldMem, DWORD cbOld, DWORD cbNew);
68 BOOL WINAPI ReallocSplStr(PWSTR* ppwszString, PCWSTR pwszInput);
71 PDWORD WINAPI UndoAlignRpcPtr(PVOID pDestinationBuffer, PVOID pSourceBuffer, DWORD cbBuffer, PDWORD pcbNeeded);
72 
73 #endif
const uint16_t * PCWSTR
Definition: typedefs.h:56
struct _MARSHALL_DOWN_INFO MARSHALL_DOWN_INFO
BOOL WINAPI SplInitializeWinSpoolDrv(PVOID *pTable)
Definition: main.c:205
DWORD cbPerElementSize
Definition: spoolss.h:18
BOOL WINAPI DllFreeSplMem(PVOID pMem)
Definition: memory.c:112
uint16_t * PWSTR
Definition: typedefs.h:55
PVOID WINAPI AlignRpcPtr(PVOID pBuffer, PDWORD pcbBuffer)
Definition: memory.c:29
PBYTE WINAPI PackStrings(PCWSTR *pSource, PBYTE pDest, const DWORD *DestOffsets, PBYTE pEnd)
Definition: tools.c:39
PDWORD WINAPI UndoAlignRpcPtr(PVOID pDestinationBuffer, PVOID pSourceBuffer, DWORD cbBuffer, PDWORD pcbNeeded)
Definition: memory.c:236
struct _MARSHALL_DOWN_INFO * PMARSHALL_DOWN_INFO
PVOID WINAPI ReallocSplMem(PVOID pOldMem, DWORD cbOld, DWORD cbNew)
Definition: memory.c:154
BOOL WINAPI InitializeRouter(HANDLE SpoolerStatusHandle)
Definition: main.c:199
USHORT wProcessorLevel
Definition: spoolss.h:53
unsigned int BOOL
Definition: ntddk_ex.h:94
USHORT wProcessorArchitecture
Definition: spoolss.h:52
DWORD dwHighPartTotalBytes
Definition: spoolss.h:46
BOOL WINAPI ReallocSplStr(PWSTR *ppwszString, PCWSTR pwszInput)
Definition: memory.c:192
PVOID pBuffer
SYSTEMTIME stUpTime
Definition: spoolss.h:33
DWORD cErrorOutOfPaper
Definition: spoolss.h:41
DWORD cEnumerateNetworkPrinters
Definition: spoolss.h:50
DWORD cErrorNotReady
Definition: spoolss.h:42
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _PRINTER_INFO_STRESS * PPRINTER_INFO_STRESS
DWORD cTotalPagesPrinted
Definition: spoolss.h:35
PWSTR WINAPI AllocSplStr(PCWSTR pwszInput)
Definition: memory.c:56
struct _PRINTER_INFO_STRESS PRINTER_INFO_STRESS
DWORD dwProcessorType
Definition: spoolss.h:45
BOOL WINAPI SpoolerInit(VOID)
Definition: main.c:248
_In_ DWORD _Out_ PDWORD pcbNeeded
Definition: winddi.h:3827
unsigned short USHORT
Definition: pedump.c:61
BOOL WINAPI DllFreeSplStr(PWSTR pwszString)
Definition: memory.c:129
PVOID WINAPI DllAllocSplMem(DWORD dwBytes)
Definition: memory.c:95
DWORD * PDWORD
Definition: pedump.c:68
DWORD dwNumberOfProcessors
Definition: spoolss.h:44
DWORD cAddNetPrinters
Definition: spoolss.h:51
static const EHCI_PERIOD pTable[]
Definition: usbehci.c:29
BYTE * PBYTE
Definition: pedump.c:66