Commit Graph

242 Commits

Author SHA1 Message Date
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
Lionel Debroux 87b33ccb58 winspool: Fix memory leak (found by Smatch). 2007-12-17 12:31:34 +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
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 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
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
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
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
Huw Davies 09a2c89a60 winspool.drv: Implement level 1 support for EnumPrinters. 2007-04-12 16:19:39 +02:00
Detlef Riekenberg 4cd9d539dd winspool.drv: Do not cache the port names. 2007-03-29 21:02:33 +02:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Ken Thomases 1f420967f0 winspool.drv: Use exec() and _exit() instead of system() and exit(). 2007-02-28 21:29:34 +01:00
Andrew Talbot 54d578ba21 winspool.drv: Eliminate some W-to-A cross calls. 2007-02-28 14:03:43 +01:00
Vitaly Lipatov c9d78fc520 winspool: Constify some parameters in some functions. 2007-02-19 12:36:21 +01:00
Detlef Riekenberg 055d8d4611 winspool: Do not access NULL when HeapAlloc failed. 2007-02-15 11:14:58 +01:00
Huw Davies 37b671c59a winspool.drv: We don't need to check for the PPD Files key before using /etc/printcap. 2007-02-05 12:27:06 +01:00
Detlef Riekenberg bc85a34f50 winspool: Make fixme for PRINTER_ENUM_CONNECTIONS more silent. 2007-01-22 12:49:44 +01:00
Francois Gouget b0bde6b87c Assorted spelling fixes. 2007-01-18 12:56:52 +01:00
Francois Gouget 42c4114401 winspool.drv: Use '%u' to print GetLastError(). 2007-01-18 12:55:25 +01:00
Francois Gouget 0c31ca34cb winspool.drv: Reorder a couple of functions and remove the forward declarations. 2007-01-18 12:00:05 +01:00
Detlef Riekenberg b86a7644d9 winspool: More error checks for XcvDataW. 2007-01-16 11:18:34 +01:00
Detlef Riekenberg 619621d9ea winspool: Improve trace for ClosePrinter. 2007-01-16 11:18:25 +01:00
Detlef Riekenberg 5012fa06fc winspool: Support xcv in AddPortW. 2007-01-16 11:18:05 +01:00
Detlef Riekenberg 917b0eed55 winspool: Support xcv in DeletePortW. 2007-01-16 11:17:56 +01:00
Detlef Riekenberg e576b09a85 winspool: Support Xcv for ConfigurePortW. 2007-01-12 11:22:41 +01:00
Detlef Riekenberg 9bdd900e71 winspool: Support monitors without a name. 2007-01-12 11:22:15 +01:00
James Hawkins 6840693371 winspool.drv: Check for get_filename failure. 2007-01-11 12:05:36 +01:00
Detlef Riekenberg e82d2285f4 winspool: Implement XcvDataW. 2007-01-06 11:41:26 +01:00
Detlef Riekenberg 72b126b220 winspool: Call the Portmonitor for XcvMonitor and XcvPort in OpenPrinter. 2007-01-06 11:41:15 +01:00
Detlef Riekenberg f85b02b6ad winspool: Start support for XcvMonitor and XcvPort in OpenPrinter. 2007-01-06 11:41:04 +01:00
Detlef Riekenberg 58d1e2fa4d winspool: Support the local computername as servername for OpenPrinter. 2007-01-06 11:40:46 +01:00
Huw Davies 9108eede84 winspool.drv: Outlook 2003 relies on the buffer size returned by EnumPrintersA being big enough to hold the buffer returned by EnumPrintersW. 2006-12-04 20:18:50 +01:00
Detlef Riekenberg a7481a93c0 winspool: Load the local monitor only once. 2006-11-30 16:35:17 +01:00
Detlef Riekenberg 1f3c289a30 winspool: Implement AddPortA. 2006-11-29 14:06:31 +01:00
Detlef Riekenberg 03daa6088c winspool: Implement AddPortW. 2006-11-29 14:06:21 +01:00
Detlef Riekenberg bcfa90e182 winspool: Implement DeletePortA. 2006-11-29 14:05:58 +01:00
Detlef Riekenberg c587d1ad0d winspool: Implement DeletePortW. 2006-11-29 14:05:39 +01:00
Dmitry Timoshkov 1804900163 winspool.drv: Make some data const. 2006-11-29 12:44:19 +01:00
Andrew Talbot 972826b267 winspool.drv: Cast-qual warning fix + make function static. 2006-11-24 12:56:23 +01:00
Alexandre Julliard 2731998ae6 include: Get rid of heap.h. 2006-11-17 15:29:40 +01:00
Detlef Riekenberg 6d88e4352b winspool: Implement ConfigurePortA. 2006-11-09 12:48:44 +01:00
Detlef Riekenberg a44e0ac6e3 winspool: Implement ConfigurePortW. 2006-11-09 12:48:33 +01:00
Huw Davies d510bdc71b winspool.drv: Associate a printer driver with each printer, rather than share a common one between all printers. 2006-11-08 11:25:10 +01:00
Huw Davies 1ad05ac701 winspool.drv: Fix AddPrinterDriverA so that the strings actually get written.
Include the size of the terminating zero in set_reg_szW.
2006-11-08 11:24:56 +01:00
Huw Davies 388fd47ce2 winspool.drv: Implement DeletePrinterDriverExW. 2006-11-08 11:23:56 +01:00
Huw Davies 7ce85a8d60 winspool.drv: Forward DeletePrinterDriverExA -> DeletePrinterDriverExW. 2006-11-08 11:23:47 +01:00
Huw Davies d4fb1c3869 winspool.drv: Forward DeletePrinterDriver -> DeletePrinterDriverEx. 2006-11-08 11:23:40 +01:00
Detlef Riekenberg ecce2d898b winspool: Implement EnumPortsA. 2006-11-06 13:47:03 +01:00
Detlef Riekenberg 412acdeb79 winspool: Implement EnumPortsW. 2006-11-06 13:46:52 +01:00
Detlef Riekenberg 0bd336a573 winspool: EnumPorts: Read driver from registry. 2006-11-06 13:44:07 +01:00
Alexandre Julliard b0ea577ae5 Avoid usage of sizeof in traces that causes warnings on MacOSX. 2006-10-20 12:16:45 +02:00
Hans Leidekker 61faa6bb11 winspool.drv: Win64 printf format warning fixes. 2006-10-13 12:08:52 +02:00
Hans Leidekker ab85b653f5 winspool.drv: Cast-qual warnings fix. 2006-10-06 17:49:53 +02:00
Detlef Riekenberg 1e2b9b7d36 winspool: Fix missing backslash. 2006-09-20 11:18:22 +02:00
Detlef Riekenberg ec1c7cc0d3 winspool: Manage loaded monitors in a list. 2006-09-08 13:43:57 +02:00
Detlef Riekenberg 1e177382a3 winspool: Minimal load/unload printmonitors; use it to get a test working. 2006-09-08 13:41:22 +02:00
Andrew Talbot 02c04ea252 winspool.drv: Write-strings warnings fix. 2006-08-23 16:54:06 +02:00
Andrew Talbot 8c56ffdde0 winspool.drv: Write-strings warning fix. 2006-08-17 11:24:15 +02:00
Detlef Riekenberg 89ed2d973d winspool/tests: Tests for EnumForms and set an error value in our stub. 2006-06-21 13:40:46 +02:00
Detlef Riekenberg dde6d8b185 winspool: An empty string as server name is valid for AddPrinterDriver. 2006-06-21 12:11:03 +02:00
Detlef Riekenberg 698a8a0b86 winspool: AddMonitor: Test the driver entry before return an error. 2006-06-19 09:22:02 +02:00
Huw Davies 7afe18ec27 printing: Don't limit the printer name length to CCHDEVICENAME characters. 2006-06-15 18:05:58 +02:00
Detlef Riekenberg 94543cb630 winspool: Add GetPrintProcessorDirectoryA. 2006-06-09 21:13:00 +02:00
Detlef Riekenberg f0a62dd633 winspool.drv: Add GetPrintProcessorDirectoryW. 2006-06-02 11:26:24 +02:00
Detlef Riekenberg aff1b33192 winspool: Documentation for GetPrintProcessorDirectory. 2006-05-28 18:27:11 +02:00
Alexandre Julliard 3098199e0b winspool: Renamed the directory to winspool.drv. 2006-05-23 17:10:52 +02:00