On Sun, 21 Dec 2008, David Laight wrote:
On Sun, Dec 21, 2008 at 02:00:14AM +0100, Francois Gouget wrote:
But Microsoft decided that since Windows application programmers have never encountered the word 'portability' even once in their life, they could not be expected to have understood the difference between 'int' and 'long', and thus would likely be so upset if 'long' where ever to change size that they might commit suicide in droves. So they decided that 'long' would remain 32bits.
Not only Windows application programmers....
What type to you think PDWORD_PTR is ?
'unsigned __int64' why?
Essentially, it's only the XXX_PTR types that are 64bits in Win64. I.e. it's only in those integer types that you can put a pointer.