Commit Graph

155 Commits

Author SHA1 Message Date
Rob Shearman
18d891986d winspool.drv: Fix the character count passed into RegEnumKeyExW in get_local_monitors.
len is used in RegEnumKeyExW and this takes a character count for the 
key argument, not a byte count.
2008-02-25 13:31:25 +01:00
Rob Shearman
35be5e1d1b winspool: Fix the character count passed into RegEnumKeyExW in get_local_monitors.
RegEnumKeyExW takes a character count for the key name, not a byte count.
2008-02-21 20:16:24 +01:00
Rob Shearman
ee8dd6a19f Revert "winspool: Fix character count passed to RegQueryValueExW in get_local_monitors".
This reverts commit 6886a49c59.

RegQueryValueExW takes a byte count, not a character count (spotted by 
Detlef Riekenberg).
2008-02-21 20:16:20 +01:00
Rob Shearman
6886a49c59 winspool: Fix character count passed to RegQueryValueExW in get_local_monitors. 2008-02-18 12:41:36 +01:00
Detlef Riekenberg
6ec7c2dca0 winspool: Use the backend for AddPrinterDriverEx. 2008-02-08 12:48:21 +01:00
Detlef Riekenberg
36130b4d77 winspool: Use the backend for GetPrinterDriverDirectory. 2008-02-06 11:35:55 +01:00
Gerald Pfeifer
216a1b3767 winspool: Adjust the typo of a loop variable in test_EnumForms().
Simplify a test in test_GetPrinterDriver().
2008-01-02 12:38:42 +01:00
Lionel Debroux
87b33ccb58 winspool: Fix memory leak (found by Smatch). 2007-12-17 12:31:34 +01:00
Marcel Partap
c966301548 winspool.drv/tests: Add dumping of FORM_INFO_1/2 in test_EnumForms. 2007-12-12 14:46:55 +01:00
Vitaly Lipatov
914e78aeb5 winspool.drv: Fix buffer sizes. 2007-12-05 13:32:24 +01:00
Detlef Riekenberg
d244a55cce winspool: Use unsigned type to avoid a compiler warning. 2007-11-07 13:34:37 +01:00
Detlef Riekenberg
d6d0239f73 winspool: Error check in add_printer_driver() was to strict.
Reported by Dan Sawyer.
2007-11-06 13:02:41 +01:00
Dmitry Timoshkov
d43fdc5ab0 include: Synchronize DEVMODE layout with PSDK. 2007-11-01 12:41:21 +01:00
Daniel Nylander
2c897c7f49 winspool.drv: Add Swedish translation. 2007-10-16 12:39:18 +02:00
Detlef Riekenberg
3e6307f20a winspool: Add a missing export. 2007-10-04 11:29:32 +02:00
Francois Gouget
b2bc712323 Assorted spelling fixes. 2007-09-27 20:12:53 +02:00
Detlef Riekenberg
449fa0d204 winspool: Powerpoint XP expect a valid pointer on Win9x. 2007-08-30 20:05:12 +02:00
Francois Gouget
a116879507 Assorted spelling fixes. 2007-08-30 12:26:02 +02:00
Detlef Riekenberg
b068ce5c2c winspool: Forward AddPrinterDriver to AddPrinterDriverEx. 2007-08-24 10:57:16 +02:00
Detlef Riekenberg
9be4cc3abf winspool: Strings can be NULL in AddPrinterDriverExA. 2007-08-23 14:08:53 +02:00
Detlef Riekenberg
8506125cb9 winspool: Add always the Win9x and the NT printerdriver. 2007-08-23 12:38:50 +02:00
Detlef Riekenberg
4ff59a8320 winspool: Implement AddPrinterDriverExA. 2007-08-16 12:09:40 +02:00
Detlef Riekenberg
29444b4aa3 winspool: Implement AddPrinterDriverExW. 2007-08-16 12:09:20 +02:00
Detlef Riekenberg
1c8a466cca winspool/tests: Fix 2 failing tests for restricted users. 2007-08-14 12:25:32 +02:00
Detlef Riekenberg
5c04d1fe41 winspool/tests: Add tests for EnumPrinterDrivers. 2007-08-10 13:34:45 +02:00
Detlef Riekenberg
f976fc8ead winspool: Add a TRACE when wine_dlopen for SONAME_LIBCUPS failed. 2007-07-30 23:37:58 +02:00
Detlef Riekenberg
510c4dc749 winspool: Return most fields for DRIVER_INFO_4 and 6. 2007-07-27 12:43:13 +02:00
Detlef Riekenberg
7a2c4fb1df winspool: Return the full path in DRIVER_INFO_2 and 3. 2007-07-27 12:42:58 +02:00
Detlef Riekenberg
a2daf754c2 winspool: Enable all levels for EnumPrinterDrivers + GetPrinterDriver. 2007-07-27 12:42:41 +02:00
Detlef Riekenberg
4b53154f36 winspool: Return the full path for the driver. 2007-07-27 12:42:24 +02:00
Detlef Riekenberg
36a6515d4e winspool: Use correct path for 16bit drivers. 2007-07-27 12:41:49 +02:00
Detlef Riekenberg
92f843d7ed winspool: Use printenv_t for GetDriverInfoFromReg. 2007-07-23 11:59:14 +02:00
Pedro Araujo Chaves Jr
ffbd30dd88 winspool.drv: Fallback to the first found printer as default printer. 2007-07-05 19:54:46 +02:00
Alexandre Julliard
702d35560b configure: Make the libcups soname check depend on the header check. 2007-07-02 19:42:52 +02:00
Alexandre Julliard
5a95cfbd9c configure: Export the shared library extension instead of hardcoding .so. 2007-07-02 14:35:05 +02:00
Michael Stefaniuc
1a3689fdc2 winspool.drv/tests: Specify the arguments of the function in the function. 2007-06-21 13:12:03 +02:00
Detlef Riekenberg
4307f6428f winspool/tests: Add tests for AddPortEx. 2007-06-18 13:36:56 +02:00
Detlef Riekenberg
a2db0b83f7 winspool: Remove outdated comment. 2007-06-06 20:34:13 +02:00
Francois Gouget
f7d314e5a4 winspool.drv: Fix the AddPortExA/W() export to match the implementation. 2007-06-06 12:12:13 +02:00
Stefan Leichter
06b64a1a2e winspool.drv: Replace WINSPOOL_SHDeleteKeyW with RegDeleteTreeW. 2007-06-06 12:10:32 +02:00
Detlef Riekenberg
0c71799d02 winspool: Implement AddPortEx. 2007-06-05 10:57:16 +02:00
Dmitry Timoshkov
3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
José Manuel Ferrer Ortiz
ac3c960c26 Some Spanish translation updates. 2007-05-04 12:39:38 +02:00
Detlef Riekenberg
6b7c482cb6 winspool: Avoid crash on NULL parameter (XcvOpenPort in OpenPrinter). 2007-04-30 12:37:44 +02:00
Detlef Riekenberg
fc78034638 winspool: Return the correct errorcode in OpenPrinter (Xcv). 2007-04-30 12:37:37 +02:00
Michael Stefaniuc
5f62da109e janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call. 2007-04-25 12:26:07 +02:00
José Manuel Ferrer Ortiz
730083f219 winspool.drv: Add Spanish resources. 2007-04-18 13:01:14 +02:00
Huw Davies
09a2c89a60 winspool.drv: Implement level 1 support for EnumPrinters. 2007-04-12 16:19:39 +02:00
Dmitry Timoshkov
dddf348716 winspool: Add a test for DeviceCapabilities, fix some bugs found. 2007-04-05 11:56:08 +02:00
Detlef Riekenberg
4cd9d539dd winspool.drv: Do not cache the port names. 2007-03-29 21:02:33 +02:00