2 * PROJECT: ReactOS Printing Include files
3 * LICENSE: GNU LGPLv2 or any later version as published by the Free Software Foundation
4 * PURPOSE: Undocumented APIs of the Spooler Router "spoolss.dll"
5 * COPYRIGHT: Copyright 2015 Colin Finck <colin@reactos.org>
8 #ifndef _REACTOS_SPOOLSS_H
9 #define _REACTOS_SPOOLSS_H
11 typedef struct _MARSHALL_DOWN_INFO
13 DWORD dwOffset
; /** Byte offset of this element within the structure or MAXDWORD to indicate the end of the array */
14 DWORD cbSize
; /** Total size of this element in bytes under Windows. Unused here, I don't know what we need this number for. */
15 DWORD cbPerElementSize
; /** If this element is a structure itself, this field gives the size in bytes of each element of the structure.
16 Otherwise, this is the same as cbTotalSize. E.g. for SYSTEMTIME, cbSize would be 16 and cbPerElementSize would be 2.
17 Unused here, I don't know what we need this number for. */
18 BOOL bAdjustAddress
; /** TRUE if MarshallDownStructure shall adjust the address of this element, FALSE if it shall leave this element untouched. */
20 MARSHALL_DOWN_INFO
, *PMARSHALL_DOWN_INFO
;
22 PWSTR WINAPI
AllocSplStr(PCWSTR pwszInput
);
23 PVOID WINAPI
DllAllocSplMem(DWORD dwBytes
);
24 BOOL WINAPI
DllFreeSplMem(PVOID pMem
);
25 BOOL WINAPI
DllFreeSplStr(PWSTR pwszString
);
26 BOOL WINAPI
MarshallDownStructure(PVOID pStructure
, PMARSHALL_DOWN_INFO pParameters
, DWORD cbStructureSize
, BOOL bSomeBoolean
);
27 PBYTE WINAPI
PackStrings(PCWSTR
* pSource
, PBYTE pDest
, PDWORD DestOffsets
, PBYTE pEnd
);
28 PVOID WINAPI
ReallocSplMem(PVOID pOldMem
, DWORD cbOld
, DWORD cbNew
);
29 BOOL WINAPI
ReallocSplStr(PWSTR
* ppwszString
, PCWSTR pwszInput
);
30 BOOL WINAPI
SplInitializeWinSpoolDrv(PVOID
* pTable
);