Gunnar Dalsnes wrote:
ion(a)svn.reactos.com wrote:
Fix to unbreak tree. This is temporary until I
come up with a good
NtCurrentPeb macro that can be shared. Note that the brekage is
because an ntdll only function was put in rtl but never used from
ntoskrnl until my previous patch. It could be shared, but I need to
do some work on it.
They shouldnt be shared. Just move them back to ntdll and add empty
stubs for these functions in ntosknrl\rtl\xxxx.c. Since env. stuff
crash on windows we can't be any better.
G.
Gunnar,
They are present and exported in ntoskrnl. We simply need to read
CurrentThread.ApcState.Process.Peb instead of NtCurrentPeb.
And no, I didn't merge, I took the best one.
Best regards,
Alex Ionescu