mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
fix some advapi32 security winetests
svn path=/trunk/; revision=36996
This commit is contained in:
parent
4ad62aac38
commit
8fb42ca34d
1 changed files with 2 additions and 2 deletions
|
@ -1256,7 +1256,7 @@ LookupPrivilegeValueA(LPCSTR lpSystemName,
|
|||
/* Check the privilege name is not NULL */
|
||||
if (lpName == NULL)
|
||||
{
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
SetLastError(ERROR_NO_SUCH_PRIVILEGE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -1334,7 +1334,7 @@ LookupPrivilegeValueW(LPCWSTR SystemName,
|
|||
|
||||
for (Priv = 0; Priv < sizeof(DefaultPrivNames) / sizeof(DefaultPrivNames[0]); Priv++)
|
||||
{
|
||||
if (0 == wcscmp(PrivName, DefaultPrivNames[Priv]))
|
||||
if (0 == wcsicmp(PrivName, DefaultPrivNames[Priv]))
|
||||
{
|
||||
Luid->LowPart = Priv + 1;
|
||||
Luid->HighPart = 0;
|
||||
|
|
Loading…
Reference in a new issue