WinSpool Ordinal Addition

Alexandre Julliard julliard at winehq.com
Mon Jan 7 12:39:22 CST 2002


"Mark G. Adams" <mgadams at sympatico.ca> writes:

> In Windows 2000 (and I presume later), winspool.drv has some new functions. 
> The one this application is looking for turns out to be GetDefaultPrinter() 
> (ASCII version is ordinal 201, Unicode is 203). I've added the ASCII and 
> Unicode implementations of that function to winspool in the attached patch. 
> The ASCII version has been tested; I'd appreciate it if you could take a 
> glance at the Unicode version and see if I got the conversions correct.
> 
> The application will now open the 'printer setup' dialog, instead of 
> returning an error.

Exactly what error did you get before?  And are you sure this is
really an ordinal import?  This seems the kind of things that Win95
does, but not so much Win2000.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list