mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 04:37:32 +00:00
f3ea8225cb
PDBs reveal that these functions are also used in winspool.drv, but not imported from spoolss.dll to retain the client/server architecture. As winspool.drv highly benefits from the MarshallUp* functions, I put them in a source file shared between spoolss.dll and winspool.drv. The added API Tests cover my testing and all implemented features. One more item done from https://reactos.org/wiki/Printing !
31 lines
935 B
C
31 lines
935 B
C
/*
|
|
* PROJECT: ReactOS Spooler Router API Tests
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
* PURPOSE: Test list
|
|
* COPYRIGHT: Copyright 2015-2018 Colin Finck (colin@reactos.org)
|
|
*/
|
|
|
|
#define __ROS_LONG64__
|
|
|
|
#define STANDALONE
|
|
#include <apitest.h>
|
|
|
|
extern void func_AlignRpcPtr(void);
|
|
extern void func_MarshallDownStructuresArray(void);
|
|
extern void func_MarshallUpStructuresArray(void);
|
|
extern void func_PackStrings(void);
|
|
extern void func_ReallocSplStr(void);
|
|
extern void func_SplInitializeWinSpoolDrv(void);
|
|
|
|
const struct test winetest_testlist[] =
|
|
{
|
|
{ "AlignRpcPtr", func_AlignRpcPtr },
|
|
{ "MarshallDownStructuresArray", func_MarshallDownStructuresArray },
|
|
{ "MarshallUpStructuresArray", func_MarshallUpStructuresArray },
|
|
{ "PackStrings", func_PackStrings },
|
|
{ "ReallocSplStr", func_ReallocSplStr },
|
|
{ "SplInitializeWinSpoolDrv", func_SplInitializeWinSpoolDrv },
|
|
|
|
{ 0, 0 }
|
|
};
|