News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

NONCLIENTMETRICS Structure Size

Started by dedndave, July 28, 2011, 04:45:01 PM

Previous topic - Next topic

dedndave

MSDN tells us that vista and win 7 have an additional member in NONCLIENTMETRICS
what they don't tell us is whether or not the old size structure will work in newer OS's

here's what i get with XP MCE 2005 SP3...
OS Version: 5.1.2600 Service Pack 3
Structure Size: 340  SPI Status: 00000001
Structure Size: 344  SPI Status: 00000000


i am interested to see what it does under vista and win 7

dedndave


qWord

windows is mostly backwards compatible - for me it works  :P
FPU in a trice: SmplMath
It's that simple!

dedndave

it returns nonzero for both sizes ???
what OS ?
could you copy/paste, please

qWord

Win7, x86-64
Quote---------------------------
NONCLIENTMETRICS Structure Size Test
---------------------------
OS Version: 6.1.7601 Service Pack 1
Structure Size: 340  SPI Status: 00000001
Structure Size: 344  SPI Status: 00000001

(Use Ctrl-Insert to Copy to ClipBoard)
---------------------------
OK   
---------------------------
FPU in a trice: SmplMath
It's that simple!

dedndave


Bill Cravener

Here ya be Dave. Vista Home Premium.

---------------------------
NONCLIENTMETRICS Structure Size Test
---------------------------
OS Version: 6.0.6002 Service Pack 2
Structure Size: 340  SPI Status: 00000001
Structure Size: 344  SPI Status: 00000001

(Use Ctrl-Insert to Copy to ClipBoard)
---------------------------
OK   
---------------------------
My MASM32 Examples.

"Prejudice does not arise from low intelligence it arises from conservative ideals to which people of low intelligence are drawn." ~ Isaidthat

dedndave

thanks, Bill
now that i think about it, it was a stupid question   :lol
of course, it will work !!!!! (DOH!)

Bill Cravener

Glad to buddy, regardless if it works or not I always enjoy reading the code of others. To an asm loving geek like me its better reading then a good book. :bg
My MASM32 Examples.

"Prejudice does not arise from low intelligence it arises from conservative ideals to which people of low intelligence are drawn." ~ Isaidthat

dedndave

hope you found something interesting, Bill   :bg