winspool: GetPrinterDriverDirectory updated to NT/win9x (resend)

Detlef Riekenberg at
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"

 - 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 :

More information about the wine-patches mailing list