James Hawkins wrote:
Hi,
NtAdjustPrivilegesToken returns the old privileges of the token in the PreviousState parameter before replacing them with the privileges in NewState.
Changelog
- 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?
On 6/11/05, Robert Shearman rob@codeweavers.com wrote:
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?
You're right. A couple of my tests were a little off, but the problem is fixed now. Ignore this patch.