Author Topic: PixelFormat32bppRGB  (Read 237 times)

wind

  • Regular Member
  • *
  • Posts: 9
PixelFormat32bppRGB
« on: April 28, 2020, 10:59:39 PM »
while trying Siekmanski's GDIplus sample, https://masm32.com/board/index.php?topic=8483.msg92918#msg92918

found PixelFormat32bppRGB already defined as decimal number on line 25953 in windows.inc.
Code: [Select]
PixelFormat32bppRGB             EQU 22009

shouldn't it be a hex number?
Code: [Select]
PixelFormat32bppRGB             EQU 22009h

Siekmanski

  • Member
  • *****
  • Posts: 2279
Re: PixelFormat32bppRGB
« Reply #1 on: April 28, 2020, 11:13:33 PM »
22009h is correct.
Creative coders use backward thinking techniques as a strategy.