mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
fix comment IsUserAdmin -> IsUserAnAdmin
svn path=/trunk/; revision=41569
This commit is contained in:
parent
c8ee793546
commit
2cbbe81d25
1 changed files with 12 additions and 5 deletions
|
@ -1265,11 +1265,19 @@ BOOL WINAPI FileIconInit(BOOL bFullInit)
|
|||
{ FIXME("(%s)\n", bFullInit ? "true" : "false");
|
||||
return 0;
|
||||
}
|
||||
/*************************************************************************
|
||||
* IsUserAdmin [SHELL32.680] NT 4.0
|
||||
*
|
||||
*/
|
||||
|
||||
/*************************************************************************
|
||||
* IsUserAnAdmin [SHELL32.680] NT 4.0
|
||||
*
|
||||
* Checks whether the current user is a member of the Administrators group.
|
||||
*
|
||||
* PARAMS
|
||||
* None
|
||||
*
|
||||
* RETURNS
|
||||
* Success: TRUE
|
||||
* Failure: FALSE
|
||||
*/
|
||||
BOOL WINAPI IsUserAnAdmin(VOID)
|
||||
{
|
||||
SID_IDENTIFIER_AUTHORITY Authority = {SECURITY_NT_AUTHORITY};
|
||||
|
@ -1331,7 +1339,6 @@ BOOL WINAPI IsUserAnAdmin(VOID)
|
|||
|
||||
FreeSid(lpSid);
|
||||
HeapFree(GetProcessHeap(), 0, lpGroups);
|
||||
|
||||
return bResult;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue