Commit Graph

34 Commits

Author SHA1 Message Date
Alexandre Julliard e1635e9a63 Removed dependency on comctl32. 2001-02-28 05:26:08 +00:00
Ian Pilcher ccfe6e9c9b Implement EnumPrinterDataEx{A|W}. 2001-02-21 04:00:40 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Huw D M Davies d2b850e8aa Implement Set/GetPrinterData[Ex].
Remove ordinals from winspool.drv.spec .
2001-02-12 01:26:47 +00:00
Huw D M Davies 87f98a5831 Handle the EnumPrinters() flag PRINTER_ENUM_DEFAULT in the same way
that NT does - that is ignore it and return TRUE.
2001-01-09 20:52:17 +00:00
Alexandre Julliard f6168db690 Fixed some warnings. 2000-12-13 20:03:53 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Alexandre Julliard 49556bcbf5 Cleaned up some more dependencies on Wine internal functions. 2000-11-29 18:38:24 +00:00
Alexandre Julliard 89b18a7e1a Moved EnumPortsA to dlls/winspool. 2000-11-28 22:33:46 +00:00
Alexandre Julliard 8c540c657e Replaced a few internal functions by exported ones. 2000-11-13 04:16:05 +00:00
Stefan Leichter a2053ab1c5 Made WINSPOOL_GetPrinterDriver work again. 2000-11-12 03:39:53 +00:00
Stefan Leichter 695f2394cf Corrected used registry key. 2000-11-10 01:04:29 +00:00
Stefan Leichter ca1661c3e1 Enable the functions AddPrinterW, WINSPOOL_GetPrinterDriver,
AddPrinterDriverA, WINSPOOL_EnumPrinterDrivers to distinguish the
registry entrys of Win9[58] and WinNT printer drivers.
2000-11-06 05:26:00 +00:00
Stefan Leichter 5cfe17702e - moved some code from WINSPOOL_GetPrinterDriver into new function
WINSPOOL_GetDriverInfoFromReg
- bug fix in function GetPrinterDirectoryW: free local variable not
  the one from function interface
- implemented EnumPrinterDriversA|W
2000-09-29 21:05:11 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Albert den Haan 343dd1a1b9 Remove unused critical section global variable PRINT32_RegistryBlocker. 2000-08-18 23:04:12 +00:00
Gerard Patel aaaee1be84 Add an error message if devmode structure in registry is invalid;
attempt to provide plausible values.
2000-08-16 12:43:00 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Andreas Mohr 2caee712a2 Spelling fixes. 2000-07-16 15:44:22 +00:00
Francois Gouget 105e6adf16 Merged DeviceCapabilities and DeviceCapabilitiesA. 2000-06-23 15:34:52 +00:00
Huw D M Davies 7aaabc3f14 Move winspool to unicode.
Minor bug fixes.
2000-05-25 23:02:46 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Ulrich Czekalla 6a80c8a260 This patch initializes the return buffer used in GetPrinterDriverA to
zeros. This prevents buffer overruns caused by accessing garbage data.
Some improvements to the NULL check patch.

Gautam Jain
EnumPrinters is not returning the number of printers found in case the
parameter dwLevel is 1.
2000-02-25 21:38:17 +00:00
Huw D M Davies 6d149d85d8 Use RegQueryInfoKey to count number of printers. 1999-11-28 19:47:58 +00:00
Huw D M Davies cb6aa38d2f Rewrite of EnumPrinters. 1999-10-31 17:34:31 +00:00
Huw D M Davies c7665ebf40 Fixes DeviceCapabilities for DC_PAPERSIZE.
Various fixes for OpenPrinter and EnumPrinters.
Separation of GetPrinter in preparation for unification with EnumPrinters.
1999-09-10 14:37:29 +00:00
Huw D M Davies 685fa2d22d Added loads of types, defines and declarations to winspool.h. 1999-09-04 14:30:33 +00:00
Huw D M Davies 44d6fec90e Fix off by one error in WINSPOOL_GetOpenedPrinterA. 1999-09-03 12:20:57 +00:00
Thuy Nguyen 6374cd231c Replaced a static ten element array with a dynamic pointer array. 1999-08-15 16:34:22 +00:00
Huw D M Davies 284d63ca72 Let through more flags to EnumPrinters.
Fixes for GetPrinter/GetPrinterDriver.
1999-07-24 10:12:41 +00:00
Huw D M Davies bb14056c16 EnumJobs stub.
Update graphics/psdrv/README.
Add warnings to DRIVER_GetDriverName.
1999-07-23 19:23:49 +00:00
Huw D M Davies 450270bb03 Implemented GetPrinterA and GetPrinterDriverA. 1999-07-10 11:58:50 +00:00
Huw D M Davies ee2d9d5849 Implemented AddPrinterA, AddPrinterDriverA and GetPrinterDriverDirectory
Moved some 16bit GDI function declarations from winspool.h -> wingdi16.h
1999-05-22 18:53:56 +00:00
Huw D M Davies e39b676ae9 Implement DocumentProperties, DeviceCapabilities, beginnings of
Open/Get/ClosePrinter.  Additions to PSDRV_DeviceCapabilities.
Split off WINSPOOL into its own directory.
Several functions added to DC_Funcs.
Based largely on a patch by Pascal Lessard <pascal@macadamian.com>
1999-05-17 16:20:51 +00:00