In winspool.h DRIVER_INFO_1 and DRIVER_INFO_3 are
declared as Ascii and Widecharacter version but there
is no version that autodetects Ascii oder Widecharacter
version depending on the definition of _UNICODE
(as defined in MSDN).
Attached you find a patch containing a fix for this.
I also added DRIVER_INFO_[4-6] and PRINTER_INFO_[7-9]
structures (along with some needed defines) which are
available with Win2000 and up but where missing in w32api.
Hope you can apply it,
Log in to post a comment.