Author: cwittich
Date: Tue Jun 23 02:59:30 2009
New Revision: 41569
URL:
http://svn.reactos.org/svn/reactos?rev=41569&view=rev
Log:
fix comment IsUserAdmin -> IsUserAnAdmin
Modified:
trunk/reactos/dll/win32/shell32/shellord.c
Modified: trunk/reactos/dll/win32/shell32/shellord.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shellord…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shellord.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shellord.c [iso-8859-1] Tue Jun 23 02:59:30 2009
@@ -1265,11 +1265,19 @@
{ 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 @@
FreeSid(lpSid);
HeapFree(GetProcessHeap(), 0, lpGroups);
-
return bResult;
}