Closed Itja closed 2 months ago
Okay, I am now having trouble getting DuplicateTokenEx
to work for me when trying to duplicate the token for the current process, which made me look into the MS documentation again:
ImpersonationLevel
comes before the TokenType
.ImpersonationLevel
comes after the TokenType
.Color me confused.
I'm under the impression that this change is not needed. If someone has better evidence to the contrary, we can reopen.
Thanks for the great library.
The order of these two ints is wrong. This is just a minor inconvenience, as the calls have them in the correct order.