mirror of
https://github.com/reactos/wine.git
synced 2024-12-11 13:26:00 +00:00
AllocateAndInitializeSid does not work on Win98.
This commit is contained in:
parent
dca6bdf5c4
commit
2a798e5f31
@ -133,13 +133,15 @@ void test_trustee()
|
||||
{
|
||||
TRUSTEE trustee;
|
||||
PSID psid;
|
||||
DWORD r;
|
||||
LPSTR str = "2jjj";
|
||||
|
||||
SID_IDENTIFIER_AUTHORITY auth = { {0x11,0x22,0,0,0, 0} };
|
||||
|
||||
r = AllocateAndInitializeSid( &auth, 1, 42, 0,0,0,0,0,0,0,&psid );
|
||||
ok( r, "failed to init SID\n" );
|
||||
if ( ! AllocateAndInitializeSid( &auth, 1, 42, 0,0,0,0,0,0,0,&psid ) )
|
||||
{
|
||||
trace( "failed to init SID\n" );
|
||||
return;
|
||||
}
|
||||
|
||||
memset( &trustee, 0xff, sizeof trustee );
|
||||
BuildTrusteeWithSidA( &trustee, psid );
|
||||
|
Loading…
Reference in New Issue
Block a user