ion(a)svn.reactos.com wrote:
Fix my previous patch and fix ACCESS_TOKEN being
declared as a structure. This is incompatible with DDK/W32API because ACCESS_TOKEN is a
PVOID. The real structure is TOKEN. Also, structure has been updated.
I think Microsoft declared PACCESS_TOKEN as a void pointer in order to
hide the internals of ACCESS_TOKEN because the average developer does
not need to access it or they don't want to reveal more information than
needed.
Please don't break what's working and revert this patch!
We are using our own set of headers because we need to fix crippled
declarations and add missing ones. If you want to build ReactOS using
the MS SDK and DDK fix them instead of breaking our headers and code.
Regards,
Eric