Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows API
  4. Need some constants from winspool.h

Need some constants from winspool.h

Scheduled Pinned Locked Moved Windows API
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ralf Lohmueller
    wrote on last edited by
    #1

    Hi together, I need some constants from winspool.h (the SDK installed on this machine is too old since they were introduced with Vista). Could someone with a current SDK please have a look in winspool.h and give me the values/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, MSDN mentions them, but not the values and googling for them didn't give a result) thanks a lot in advance, ralf.

    R 1 Reply Last reply
    0
    • R Ralf Lohmueller

      Hi together, I need some constants from winspool.h (the SDK installed on this machine is too old since they were introduced with Vista). Could someone with a current SDK please have a look in winspool.h and give me the values/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, MSDN mentions them, but not the values and googling for them didn't give a result) thanks a lot in advance, ralf.

      R Offline
      R Offline
      Ralf Lohmueller
      wrote on last edited by
      #2

      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). Anyhow: 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 btw: to the fellow who rated this question as '1': I hope you face the situation where you are on service abroad and only have a GSM connection... have fun waiting for help/support.

      D 1 Reply Last reply
      0
      • R Ralf Lohmueller

        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). Anyhow: 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 btw: to the fellow who rated this question as '1': I hope you face the situation where you are on service abroad and only have a GSM connection... have fun waiting for help/support.

        D Offline
        D Offline
        Dan Neely
        wrote on last edited by
        #3

        I countervoted your post with a 5, but in general if there's a reason why you can't (easily) take the normal approach to getting an answer you'd probably should post the fact so that it doesn't appear that you're just being lazy and want someone else to do your work for you. Also the question itself probably should've been posted in the c++ forum with a note that these are newly added constants for vista and not contained in the older SDK.

        -- If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.

        R 1 Reply Last reply
        0
        • D Dan Neely

          I countervoted your post with a 5, but in general if there's a reason why you can't (easily) take the normal approach to getting an answer you'd probably should post the fact so that it doesn't appear that you're just being lazy and want someone else to do your work for you. Also the question itself probably should've been posted in the c++ forum with a note that these are newly added constants for vista and not contained in the older SDK.

          -- If you view money as inherently evil, I view it as my duty to assist in making you more virtuous.

          R Offline
          R Offline
          Ralf Lohmueller
          wrote on last edited by
          #4

          Hi dan,

          dan neely wrote:

          Also the question itself probably should've been posted in the c++ forum with a note that these are newly added constants for vista and not contained in the older SDK.

          I already did but got the advice to post it here, see: [^] greetings, ralf.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups