[ros-dev] another macro: OPTHDROFFSET

Alex Ionescu ionucu at videotron.ca
Sat Oct 1 20:01:28 CEST 2005


vit-ros at att.net wrote:

>Hi,
>I found the OPTHDROFFSET not very useful.
>I would rather use something lighter like:
>(PIMAGE_NT_HEADERS)((PBYTE)a + ((PIMAGE_DOS_HEADER)a)->e_lfanew))
>, same as RtlImageNtHeader()
>May i ask someone with write access to remove it?
>_______________________________________________
>Ros-dev mailing list
>Ros-dev at reactos.org
>http://www.reactos.org/mailman/listinfo/ros-dev
>
>  
>
If you can write a patch which removes its usage in the tree (I hate 
that macro too, btw), then sure.

Best regards,
Alex Ionescu


More information about the Ros-dev mailing list