flat assembler
Message board for the users of flat assembler.

Index > Windows > MENUITEMINFO missing field

Author
Thread Post new topic Reply to topic
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
Another bug(?):

Current USER32.INC:
Code:
struct MENUITEMINFO
  cbSize    dd ?
  fMask         dd ?
  fType         dd ?
  fState        dd ?
  wID           dd ?
  hSubMenu      dd ?
  hbmpChecked   dd ?
  hbmpUnchecked dd ?
  dwItemData    dd ?
  dwTypeData    dd ?
  cch           dd ?
ends    

Correction:
Code:
struct MENUITEMINFO
  cbSize   dd ?
  fMask         dd ?
  fType         dd ?
  fState        dd ?
  wID           dd ?
  hSubMenu      dd ?
  hbmpChecked   dd ?
  hbmpUnchecked dd ?
  dwItemData    dd ?
  dwTypeData    dd ?
  cch           dd ?
  hbmpItem      dd ? ; <------- !!!!!!!!!!!!!
ends    

MSDN doc
Post 02 Jan 2010, 21:17
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 16850
Location: In your JS exploiting you and your system
revolution
Teehee: That is the new structure for Win98 and up. The old structure for Win95 doesn't have the last item.
Post 02 Jan 2010, 21:32
View user's profile Send private message Visit poster's website Reply with quote
Teehee



Joined: 05 Aug 2009
Posts: 568
Location: Brazil
Teehee
so he need to update, right?
Post 03 Jan 2010, 13:57
View user's profile Send private message Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1046
Location: Michigan, USA
madmatt
If you like, you can try some of my include files which are much more up to date (WinXP) than the stock includes that come with the fasmw package. download the fasmw.rar file.
http://www.esnips.com/web/talktomattsStuff
Post 08 Jan 2010, 02:26
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.