Skip to content

Commit

Permalink
fix winspool printer devmode definition (#904)
Browse files Browse the repository at this point in the history
the printer_info field for PRINTER_INFO_9W was incorrectly using a non-wide character set for pDevMode
  • Loading branch information
dotnal authored Jun 9, 2020
1 parent c0ae27d commit 73153e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/um/winspool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ STRUCT!{struct PRINTER_INFO_9A {
pub type PPRINTER_INFO_9A = *mut PRINTER_INFO_9A;
pub type LPPRINTER_INFO_9A = *mut PRINTER_INFO_9A;
STRUCT!{struct PRINTER_INFO_9W {
pDevMode: LPDEVMODEA,
pDevMode: LPDEVMODEW,
}}
pub type PPRINTER_INFO_9W = *mut PRINTER_INFO_9W;
pub type LPPRINTER_INFO_9W = *mut PRINTER_INFO_9W;
Expand Down

0 comments on commit 73153e8

Please sign in to comment.