Commit 18af8547 authored by Saulius Krasuckas's avatar Saulius Krasuckas Committed by Alexandre Julliard

advapi32: Make test loadable on win9x.

parent b60f2b0f
...@@ -722,7 +722,7 @@ static void test_token_attr(void) ...@@ -722,7 +722,7 @@ static void test_token_attr(void)
DWORD DomainLength = 255; DWORD DomainLength = 255;
TCHAR Domain[255]; TCHAR Domain[255];
SID_NAME_USE SidNameUse; SID_NAME_USE SidNameUse;
ConvertSidToStringSid(Groups->Groups[i].Sid, &SidString); pConvertSidToStringSidA(Groups->Groups[i].Sid, &SidString);
Name[0] = '\0'; Name[0] = '\0';
Domain[0] = '\0'; Domain[0] = '\0';
ret = LookupAccountSid(NULL, Groups->Groups[i].Sid, Name, &NameLength, Domain, &DomainLength, &SidNameUse); ret = LookupAccountSid(NULL, Groups->Groups[i].Sid, Name, &NameLength, Domain, &DomainLength, &SidNameUse);
...@@ -740,7 +740,7 @@ static void test_token_attr(void) ...@@ -740,7 +740,7 @@ static void test_token_attr(void)
ok(ret, ok(ret,
"GetTokenInformation(TokenUser) failed with error %ld\n", GetLastError()); "GetTokenInformation(TokenUser) failed with error %ld\n", GetLastError());
ConvertSidToStringSid(User->User.Sid, &SidString); pConvertSidToStringSidA(User->User.Sid, &SidString);
trace("TokenUser: %s attr: 0x%08lx\n", SidString, User->User.Attributes); trace("TokenUser: %s attr: 0x%08lx\n", SidString, User->User.Attributes);
LocalFree(SidString); LocalFree(SidString);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment