server: Return old privileges in adjust_token_privileges

Robert Shearman rob at
Sat Jun 11 15:08:11 CDT 2005

James Hawkins wrote:

>NtAdjustPrivilegesToken returns the old privileges of the token in the
>PreviousState parameter before replacing them with the privileges in
>* Return old privileges in adjust_token_privileges.

Hi James,

The code should already do what you are trying to do. The function 
token_adjust_privileges copies the previous state of the privilege to 
the output buffer and this works fine in the tests I have done. What is 
the problem you are seeing?

Rob Shearman

More information about the wine-devel mailing list