flat assembler
Message board for the users of flat assembler.

Index > Windows > Missing struct declaration in user32/64.inc(MOUSEHOOKSTRUCT)

Author
Thread Post new topic Reply to topic
e-moe



Joined: 08 Aug 2011
Posts: 2
e-moe
I am writing hook for WH_MOUSE message. Callback function (MSDN) have a pointer in lParam to missed MOUSEHOOKSTRUCT structure.

Please, add it to user32/64.inc
Code:
struct MOUSEHOOKSTRUCT
  pt          POINT
  hwnd         dd ?
  wHitTestCode  dd ?
  dwExtraInfo   dd ?
ends    


Thanks
Post 08 Aug 2011, 06:50
View user's profile Send private message Reply with quote
yoshimitsu



Joined: 07 Jul 2011
Posts: 96
yoshimitsu
ABOVE_NORMAL_PRIORITY_CLASS and other constants belonging to the some field are missing, as well.

THREAD_ALL_ACCESS and other constants like SYNCHRONIZE, STANDARD_RIGHTS_REQUIRED, etc., too.

The whole CONTEXT structure with its sub-structures and constants out of winnt.h are missing.

The functions AddVectoredExceptionHandler and OpenThread are missing in api\kernel32.inc.

Is there maybe a list of what could be added somewhen?
Also maybe someone from the community could implement those in the fasm package as I guess Tomasz doesn't have the time

I'm not talking about some bloated include-files but a little bit more complete when it comes to important structures and constants
Post 08 Aug 2011, 14:21
View user's profile Send private message Reply with quote
e-moe



Joined: 08 Aug 2011
Posts: 2
e-moe
And some error codes (MSDN):
Code:
ERROR_ALREADY_EXISTS = 183
ERROR_SUCCESS = 0    
Post 09 Aug 2011, 05:28
View user's profile Send private message Reply with quote
Frank



Joined: 17 Jun 2003
Posts: 100
Frank
yoshimitsu wrote:
Is there maybe a list of what could be added somewhen?
Also maybe someone from the community could implement those in the fasm package as I guess Tomasz doesn't have the time


That's an old, unsolved problem. See this thread.
Post 09 Aug 2011, 20:34
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-2020, Tomasz Grysztar.

Powered by rwasa.