winspool: GetPrinterDriverDirectory updated to NT/win9x (resend)
Detlef Riekenberg
wine.dev at web.de
Thu Dec 1 18:08:48 CST 2005
Resend with suggestions from Alexandre:
GetVersion() was used to often.
- We do not Check for WIN32S.
- For Win9x, we use the same Path as NT is using for "Windows 4.0"
(%winsysdir%\spool\drivers\win40)
Changelog:
- Add Function "validate_envW" to validate the user-supplied
Printing Environment (respect "Windows Version" - Setting)
- Change GetPrinterDriverDirectoryW on top of "validate_envW"
to Report the native Path for NT and Win9x
- Fix 2 Bugs in GetPrinterDriverDirectoryA
- 2 Tests are now working in Wine
"validate_envW" will be used by more Functions later.
(WINSPOOL_OpenDriverReg as Example)
--
By By ...
... Detlef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GetPrinterDriverDirectory_fn.diff
Type: text/x-patch
Size: 8223 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20051202/a0938f7c/GetPrinterDriverDirectory_fn-0001.diff
More information about the wine-devel
mailing list