-----Original Message----- From: Adam
Sent: Saturday, May 21, 2011 5:26 PM
To: [email protected] ; Timo Kreuzer
Subject: Re: [ros-dev] [ros-diffs] [jimtabor] 51835: [Win32k|User32] - Move creation of the scrollbar Gray brush from user32 to win32k. - Noticed a color and pattern (patchy white pattern) difference when using GreCreateBitmap and i...

I was thinking that should actually be:


+    static const DWORD wPattern55AA[] = { 0x55555555, 0xAAAAAAAA,
0x55555555, 0xAAAAAAAA, 0x55555555, 0xAAAAAAAA, 0x55555555, 0xAAAAAAAA };


Note that you need 8 hex digits for 32-bit numbers.

Fantastic, so I suppose whenever I want my double word variable to have a value of, say, 0x54 taking your friendly reminder about 8 hex digits into account, I would need to write 0x54545454 because, you know, I need 8 hex digits for 32-bit numbers and need to add some random stuff to fill it up to 8 digits :)

WBR,
Aleksey.

_______________________________________________
Ros-dev mailing list
[email protected]
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to