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?
vit-ros@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@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