reactos/rostests/apitests
Colin Finck a82d7577b3 [PRINTING]
- Implement GetPrinterDataA, GetPrinterDataExA, GetPrinterDataExW, GetPrinterDataW, SetPrinterDataA, SetPrinterDataExA, SetPrinterDataExW, SetPrinterDataW.
  They support all features for Print Server and Printer Handles (minus security checks!)
  I've also added tests for them.
- Store Printer data in SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers instead of SYSTEM\CurrentControlSet\Control\Print\Printers and create a registry symlink from the former path to the new one just like Windows does.
  According to https://social.technet.microsoft.com/Forums/windowsserver/en-US/a683ab54-c43c-4ebe-af8f-1f7a65af2a51, this is needed when having >900 printers to work around a size limit of the SYSTEM registry hive. And if Windows has both locations, we need both for compatibility anyway.
- Add several settings which are queried by the new Printer Data APIs when working with Print Server Handles.
- Store the job directory in the Windows-compatible "DefaultSpoolDirectory" setting and make use of it.
- Revert the ASSERTs in LocalEnumPrinters again to let us verify the NULL pointer exceptions in localspl_apitest (thanks Serge! CORE-13433)
- Translate ERROR_INVALID_NAME to ERROR_INVALID_PRINTER_NAME in all cases in OpenPrinterW (thanks Victor! CORE-13412)
- Make EnumMonitorsW and EnumPortsW in spoolss more robust against failing Print Monitors.
- Remove the wrong !phPrinter check in OpenPrinterW to make Print Server Handles work for real.
- Fix error handling when memory allocation fails: HeapAlloc doesn't set last error, so it's just wrong to query or return it.

One more item done from https://reactos.org/wiki/Printing !
This is all still a big Work-in-Progress, with many subtle bugs deep down in ReactOS, for which I need to open additional tickets. But I didn't want to make this commit even bigger..

svn path=/trunk/; revision=75125
2017-06-19 14:18:19 +00:00
..
advapi32 [ROSTESTS] 2017-01-13 09:24:15 +00:00
apphelp [APITEST] Move RedirectIat into it's own header so that it can be used from multiple tests. 2017-06-14 15:25:04 +00:00
appshim [APITEST] Move RedirectIat into it's own header so that it can be used from multiple tests. 2017-06-14 15:25:04 +00:00
atl [ATL][ATL_APITEST] Allow CString to be initialized with a resource ID + add tests for this. Patch by Katayama Hirofumi MZ. CORE-12917 #resolve #comment Thanks! 2017-03-15 19:17:44 +00:00
browseui [BROWSEUI_APITEST] -Add tests for SHExplorerParseCmdLine for CORE-12882. 2017-05-04 15:15:45 +00:00
com [ROSTESTS] 2017-01-13 09:24:15 +00:00
comctl32 [COMCTL32_APITEST] -Make comctl32v5.manifest really point to the v5 library. 2017-06-05 21:50:21 +00:00
crt [CRT_APITEST] Add additional test for __getmainargs 2017-02-07 10:35:35 +00:00
dbghelp [DBGHELP_APITEST] Add tests for pdb and rsym parsing. CORE-12773 2017-02-17 16:15:49 +00:00
dciman32 [ROSTESTS] 2017-01-13 09:24:15 +00:00
dnsapi [ROSTESTS] 2017-01-13 09:24:15 +00:00
fltlib [ROSTESTS] 2017-01-13 09:24:15 +00:00
gdi32 [GDI32_APITEST]: Fix the "missing braces around initializer" GCC error that I've introduced in r74962. 2017-06-08 19:09:01 +00:00
gditools
include [APITEST] Move RedirectIat into it's own header so that it can be used from multiple tests. 2017-06-14 15:25:04 +00:00
iphlpapi [ROSTESTS] 2017-01-13 09:24:15 +00:00
kernel32 [KERNEL32_APITEST] 2017-06-03 07:05:31 +00:00
localspl [LOCALSPL] 2017-04-16 14:12:01 +00:00
msgina [ROSTESTS] 2017-01-13 09:24:15 +00:00
msvcrt [ROSTESTS] 2017-01-13 09:24:15 +00:00
netshell [ROSTESTS] 2017-01-13 09:24:15 +00:00
ntdll [PSDK] 2017-06-17 20:26:53 +00:00
ole32 [ROSTESTS] 2017-01-13 09:24:15 +00:00
pefile [ROSTESTS] 2017-01-13 09:24:15 +00:00
powrprof [ROSTESTS] 2017-01-13 09:24:15 +00:00
psapi [ROSTESTS] 2017-01-13 09:24:15 +00:00
sdk [ROSTESTS] 2017-01-13 09:24:15 +00:00
setupapi [SETUPAPI]: Fix a 9-year old bug in the SETUP_CreateClassKey() logic, introduced in r31860, that set a wrong Class name value if the corresponding registry key already existed. The bug was unveiled by my commit r74761. 2017-06-04 18:16:24 +00:00
shell32 Addendum to r74982, remove some debugging code. 2017-06-10 17:47:56 +00:00
shlwapi [SHLWAPI_APITEST] Add PathFindOnPath tests. Patch by Katayama Hirofumi MZ. ROSTESTS-283 #comment Thanks! 2017-06-10 19:41:31 +00:00
spoolss Fix GCC build, part 4/X (losing my optimism) 2017-04-16 15:51:44 +00:00
user32 [USER32_APITEST] Add more tests to validate messages sent during window creation / modifying of styles. CORE-12052 2017-05-28 17:40:48 +00:00
user32_dynamic [ROSTESTS] 2017-01-13 09:24:15 +00:00
userenv [USERENV_APITEST]: Add some simple tests for Get[AllUsers|DefaultUser|User]Profile[s]Directory APIs (checking return values & last errors). 2017-02-06 22:14:50 +00:00
uxtheme [UXTHEME] -Add tests for SetWindowTheme to test the behavior that was changed in r74038. 2017-03-10 17:56:18 +00:00
win32kdll [ROSTESTS] 2017-01-13 09:24:15 +00:00
win32nt [WIN32NT_APITEST] Do not assert on a driver without DirectX support. 2017-06-11 11:47:41 +00:00
winhttp [ROSTESTS] 2017-01-13 09:24:15 +00:00
wininet [ROSTESTS] 2017-01-13 09:24:15 +00:00
winprint [ROSTESTS] 2017-01-13 09:24:15 +00:00
winspool [PRINTING] 2017-06-19 14:18:19 +00:00
wlanapi [ROSTESTS] 2017-01-13 09:24:15 +00:00
ws2_32 [WS2_32_APITESTS] Add close tests ROSTESTS-279 2017-05-26 14:02:25 +00:00
CMakeLists.txt [USER32_APITEST] -Move the helper functions in the common include directory 2017-03-07 22:29:48 +00:00