reactos/rostests/apitests/winprint/testlist.c
Colin Finck 5fd4223870 [WINPRINT_APITEST]
Load all functions to test dynamically from either winprint.dll in the Print Processor Directory (for ReactOS and NT6) or localspl.dll in the system path (for NT5).
Should fix winprint_apitest on ReactOS and Windows Server 2003.

svn path=/trunk/; revision=73247
2016-11-17 21:24:07 +00:00

30 lines
967 B
C

/*
* PROJECT: ReactOS Standard Print Processor API Tests
* LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
* PURPOSE: Test list
* COPYRIGHT: Copyright 2015-2016 Colin Finck <colin@reactos.org>
*/
/*
* These tests are developed and tested against the Windows Server 2003 counterpart of winprint.
* While ReactOS implements the Standard Print Processor in a separate module winprint.dll,
* Windows Server 2003 puts it into the Local Print Spooler localspl.dll.
*
* winspool.drv also provides functions that go into winprint.dll, but as these tests show,
* they behave slightly different in terms of error codes due to the involved RPC and routing.
*/
#define __ROS_LONG64__
#define STANDALONE
#include <apitest.h>
extern void func_EnumPrintProcessorDatatypesW(void);
const struct test winetest_testlist[] =
{
{ "EnumPrintProcessorDatatypesW", func_EnumPrintProcessorDatatypesW },
{ 0, 0 }
};