[PATCH 2/3] ntoskrnl.exe: Improve IoGetCurrentProcess stub.
titan.costa at gmail.com
Fri Oct 5 03:56:02 CDT 2012
2012/10/5 Dmitry Timoshkov <dmitry at baikal.ru>
> Christian Costa <titan.costa at gmail.com> wrote:
> > > Why do you think that returning the structure filled with garbage is
> > > than returning NULL?
> > >
> > >
> > It is not supposed to return NULL afaik but a valid pointer as you said
> > before.
> > The structure is zeroed except UniqueProcessId I need for MDL functions.
> > MDL struct have a PEPROCESS field and I would like to do things in a
> > way.
> > What's the problem with that ?
> The problem is that the returned info in the structure must be valid, you
> can't initialize single field and pretend as done with it.
> This struct is huge. Do you have some fields in mind?
What matters is what drivers need. I can add some typical fields if needed
could be done in other patches when needed as well.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wine-devel