mirror of
https://github.com/reactos/reactos.git
synced 2024-08-31 07:38:48 +00:00
![]() * Guard the token in a lock whilst querying stuff * Remove the piece of code that checks if the information class provided is above the maximum information class threshold. That code literally duplicates the inner functionality of the default case in the switch block, where the code falls in that case if an invalid information class is provided anyway. * Remove the redundant information classes. Internally, this function in Windows has 12 switch case blocks (11 token info classes + the default case) and the other classes are supported in NtQueryInformationToken only so it doesn't make any logical sense to keep them in the codebase. * Annotate the argument parameters with SAL and add documentation header |
||
---|---|---|
.. | ||
access.c | ||
accesschk.c | ||
acl.c | ||
audit.c | ||
priv.c | ||
sd.c | ||
semgr.c | ||
sid.c | ||
srm.c | ||
token.c |