mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 21:28:48 +00:00
![Colin Finck](/assets/img/avatar_default.png)
- Implement GetDefaultPrinterA/W and SetDefaultPrinterA/W in winspool.drv. Also add tests for these functions. - Set our "Dummy Printer on LPT1" as the default printer in the user registry. - Return meaningful values for DeviceNotSelectedTimeout and TransmissionRetryTimeout in PRINTER_INFO_5 in localspl. The Print dialog now preselects "Dummy Printer on LPT1" in all applications. One more task done from the list at https://reactos.org/wiki/Printing :) svn path=/trunk/; revision=74513
39 lines
1.3 KiB
C
39 lines
1.3 KiB
C
/*
|
|
* PROJECT: ReactOS Print Spooler DLL 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>
|
|
*/
|
|
|
|
#define __ROS_LONG64__
|
|
|
|
#define STANDALONE
|
|
#include <apitest.h>
|
|
|
|
extern void func_ClosePrinter(void);
|
|
extern void func_EnumPrinters(void);
|
|
extern void func_EnumPrintProcessorDatatypes(void);
|
|
extern void func_GetDefaultPrinter(void);
|
|
extern void func_GetPrintProcessorDirectoryA(void);
|
|
extern void func_GetPrintProcessorDirectoryW(void);
|
|
extern void func_IsValidDevmodeA(void);
|
|
extern void func_IsValidDevmodeW(void);
|
|
extern void func_OpenPrinter(void);
|
|
extern void func_StartDocPrinter(void);
|
|
|
|
const struct test winetest_testlist[] =
|
|
{
|
|
{ "ClosePrinter", func_ClosePrinter },
|
|
{ "EnumPrinters", func_EnumPrinters },
|
|
{ "EnumPrintProcessorDatatypes", func_EnumPrintProcessorDatatypes },
|
|
{ "GetDefaultPrinter", func_GetDefaultPrinter },
|
|
{ "GetPrintProcessorDirectoryA", func_GetPrintProcessorDirectoryA },
|
|
{ "GetPrintProcessorDirectoryW", func_GetPrintProcessorDirectoryW },
|
|
{ "IsValidDevmodeA", func_IsValidDevmodeA },
|
|
{ "IsValidDevmodeW", func_IsValidDevmodeW },
|
|
{ "OpenPrinter", func_OpenPrinter },
|
|
{ "StartDocPrinter", func_StartDocPrinter },
|
|
|
|
{ 0, 0 }
|
|
};
|