Device coordinates

This is a discussion on Device coordinates within the Windows Programming forums, part of the Platform Specific Boards category; Do device coordinates use all 32 bits for newer versions of windows(xp,vista)?...

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    127

    Device coordinates

    Do device coordinates use all 32 bits for newer versions of windows(xp,vista)?

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    depends on the device. What exactly are you refering to?
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    127
    Any device suppoted by windows. I was just asking how many bits were used to hold coordinates(x,y). On older vesions of windows I know they only used 16 out of the 32 bits in an integer to hold the values(except for NT which made use of all 32).
    Last edited by herWter; 07-22-2008 at 01:49 PM.

  4. #4
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Unless you are using 16 bit windows, assume they use all 32.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  5. #5
    Registered User
    Join Date
    Jun 2008
    Posts
    127
    Windows 95 and 98 I know for sure only used 16 bit coordinates and they are 32 bit OS's.

  6. #6
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by herWter View Post
    Windows 95 and 98 I know for sure only used 16 bit coordinates and they are 32 bit OS's.
    Actually, the big difference between Windows NT and 95/98 is the fact that there was still a fair bit of 16-bit code in the 95/98 world, when the NT code was pure 32-bit code.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  7. #7
    Registered User
    Join Date
    Jun 2008
    Posts
    127
    Ill take that as a yes so thank you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Device Driver: sysfs confusion
    By filker0 in forum Linux Programming
    Replies: 0
    Last Post: 12-02-2005, 10:36 AM
  2. Replies: 4
    Last Post: 06-30-2004, 03:11 PM
  3. Converting from Screen to World Coordinates
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 05-11-2004, 12:51 PM
  4. Device problem
    By John22 in forum C Programming
    Replies: 0
    Last Post: 12-19-2002, 11:02 AM
  5. Size of 1 pixel
    By ooosawaddee3 in forum C++ Programming
    Replies: 4
    Last Post: 07-26-2002, 08:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21