Need some constants/defines from winspool.h
-
Hi together, I urgently need some constants from winspool.h (the SDK installed on this machine is too old). Could someone have a look in winspool.h and give me the defines for PRINTER_ATTRIBUTE_ALLOW_EMF PRINTER_ATTRIBUTE_FRIENDLY_NAME PRINTER_ATTRIBUTE_MACHINE PRINTER_ATTRIBUTE_PUSHED_USER PRINTER_ATTRIBUTE_PUSHED_MACHINE (I need the values) thanks in advance, ralf.
-
Hi together, I urgently need some constants from winspool.h (the SDK installed on this machine is too old). Could someone have a look in winspool.h and give me the defines for PRINTER_ATTRIBUTE_ALLOW_EMF PRINTER_ATTRIBUTE_FRIENDLY_NAME PRINTER_ATTRIBUTE_MACHINE PRINTER_ATTRIBUTE_PUSHED_USER PRINTER_ATTRIBUTE_PUSHED_MACHINE (I need the values) thanks in advance, ralf.
-
winspool.h[^] ...but there there isn't that macro ... are you sure that that values are define there?
Russell
Hi Russell,
_Russell_ wrote:
winspool.h[^] ...but there isn't that macro ... are you sure that these values are defined there?
I'm sure, but the problem is: they are new with Windows Vista and the SDK I have is too old. So the wine sources also have to be updated (as soon someone finds the values). In MSDN they are mentioned, but not the corresponding values: http://msdn2.microsoft.com/en-us/library/ms535768.aspx[^] btw: The wine sources also don't have the following ones: PRINTER_ATTRIBUTE_FAX 0x00004000 Windows XP: If set, printer is a fax printer. This can only be set by AddPrinter, but it can be retrieved by EnumPrinters and GetPrinter. PRINTER_ATTRIBUTE_TS 0x00008000 Windows Server 2003: Indicates the printer is currently connected through a terminal server. Thanks for your efforts, ralf.
-
Hi Russell,
_Russell_ wrote:
winspool.h[^] ...but there isn't that macro ... are you sure that these values are defined there?
I'm sure, but the problem is: they are new with Windows Vista and the SDK I have is too old. So the wine sources also have to be updated (as soon someone finds the values). In MSDN they are mentioned, but not the corresponding values: http://msdn2.microsoft.com/en-us/library/ms535768.aspx[^] btw: The wine sources also don't have the following ones: PRINTER_ATTRIBUTE_FAX 0x00004000 Windows XP: If set, printer is a fax printer. This can only be set by AddPrinter, but it can be retrieved by EnumPrinters and GetPrinter. PRINTER_ATTRIBUTE_TS 0x00008000 Windows Server 2003: Indicates the printer is currently connected through a terminal server. Thanks for your efforts, ralf.
-
Hi together, I urgently need some constants from winspool.h (the SDK installed on this machine is too old). Could someone have a look in winspool.h and give me the defines for PRINTER_ATTRIBUTE_ALLOW_EMF PRINTER_ATTRIBUTE_FRIENDLY_NAME PRINTER_ATTRIBUTE_MACHINE PRINTER_ATTRIBUTE_PUSHED_USER PRINTER_ATTRIBUTE_PUSHED_MACHINE (I need the values) thanks in advance, ralf.
o.k. I'll answer the question by myself (it took me almost a day to download the SDK because of a very slow internet connection). It seems the constants are only available in the Vista SDK (W2003ServerR2 and earlier don't have them) PRINTER_ATTRIBUTE_ALLOW_EMF // doesn't exist in winspool.h PRINTER_ATTRIBUTE_FRIENDLY_NAME 0x00100000 PRINTER_ATTRIBUTE_MACHINE 0x00080000 PRINTER_ATTRIBUTE_PUSHED_USER 0x00020000 PRINTER_ATTRIBUTE_PUSHED_MACHINE 0x00040000 hope, this will help someone... Does someone know where PRINTER_ATTRIBUTE_ALLOW_EMF is defined?