1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-13 17:17:37 -05:00

Fix for `slow-startup-printer': use PRINTER_INFO_4 on NT-class systems, which

apparently tries less hard to find printers so won't slow the system down.

Tested on 2000 and 98; in both cases printer enumeration and printing worked
as well as they did in 2003-08-21.

Made a single shared copy of osVersion in winmisc.c so that printing.c can
find it. Made other users (window.c, pageant.c) use this copy.

[originally from svn r3411]
This commit is contained in:
Jacob Nevins
2003-08-21 19:48:45 +00:00
parent 46f26ee483
commit 40dc8b940c
5 changed files with 73 additions and 41 deletions

View File

@ -322,6 +322,9 @@ int SaneDialogBox(HINSTANCE hinst,
void SaneEndDialog(HWND hwnd, int ret);
extern OSVERSIONINFO osVersion;
BOOL init_winver(void);
/*
* Exports from sizetip.c.
*/