mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 05:08:39 +00:00
![Colin Finck](/assets/img/avatar_default.png)
Add an include directory for all printing components containing definitions not found in the public headers. For now, that's just PackStrings in spoolss.h. [SPOOLSS_APITEST] Use the new spoolss.h header. [WINPRINT_APITEST] Add an API-Test for the winprint Print Processor, so far for its EnumPrintProcessorDatatypesW function. Tests succeed in Windows Server 2003. 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. Windows Server 2003 has winprint functions in localspl.dll, so you have to copy its localspl.dll to winprint.dll for testing. [WINPRINT] - Use PackStrings to simplify the code. - Fix test failures. svn path=/branches/colins-printing-for-freedom/; revision=68025
33 lines
1.1 KiB
C
33 lines
1.1 KiB
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 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.
|
|
*
|
|
* To test against Windows, simply run these tests under Windows Server 2003, but copy its
|
|
* localspl.dll to winprint.dll in advance.
|
|
*
|
|
* 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 }
|
|
};
|