How do I use the AddInHook macro in the RadASM.inc 1.0.7 file?



Thanks,
_Shawn
Posted on 2002-01-07 17:16:41 by _Shawn
mov eax,AddInHook(WM_COMMAND,AIM_TIMER)

the macro returns the hooks value that should be returned from InstallDll. No code is assembled, just a constant value returned given the messages hooked. This allows you to use other instructions like:
   mov eax,AddInHook(WM_COMMAND)

or aTimer,0
je @F
or eax,AddInHook(AIM_TIMER)
@@:
Posted on 2002-01-07 21:03:24 by bitRAKE