Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Eric Kohl <ekohl@codeweavers.com>
Implemented CheckTokenMembership and GetAce.
This commit is contained in:
parent
776cb279f2
commit
362cb2c05b
|
@ -89,7 +89,7 @@ debug_channels (advapi crypt reg)
|
|||
@ stdcall EqualSid(ptr ptr) EqualSid
|
||||
@ stub FindFirstFreeAce
|
||||
@ stdcall FreeSid(ptr) FreeSid
|
||||
@ stub GetAce
|
||||
@ stdcall GetAce(ptr long ptr) GetAce
|
||||
@ stub GetAclInformation
|
||||
@ stdcall GetFileSecurityA(str long ptr long ptr) GetFileSecurityA
|
||||
@ stdcall GetFileSecurityW(wstr long ptr long ptr) GetFileSecurityW
|
||||
|
@ -323,3 +323,4 @@ debug_channels (advapi crypt reg)
|
|||
@ stub I_ScSetServiceBitsA
|
||||
@ stub EnumServiceGroupA
|
||||
@ stub EnumServiceGroupW
|
||||
@ stdcall CheckTokenMembership(long ptr ptr) CheckTokenMembership
|
||||
|
|
|
@ -90,6 +90,24 @@ AdjustTokenPrivileges( HANDLE TokenHandle, BOOL DisableAllPrivileges,
|
|||
CallWin32ToNt(NtAdjustPrivilegesToken(TokenHandle, DisableAllPrivileges, NewState, BufferLength, PreviousState, ReturnLength));
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* CheckTokenMembership [ADVAPI32.@]
|
||||
*
|
||||
* PARAMS
|
||||
* TokenHandle []
|
||||
* SidToCheck []
|
||||
* IsMember []
|
||||
*/
|
||||
BOOL WINAPI
|
||||
CheckTokenMembership( HANDLE TokenHandle, PSID SidToCheck,
|
||||
PBOOL IsMember )
|
||||
{
|
||||
FIXME("(0x%08x %p %p) stub!\n", TokenHandle, SidToCheck, IsMember);
|
||||
|
||||
*IsMember = TRUE;
|
||||
return(TRUE);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* GetTokenInformation [ADVAPI32.@]
|
||||
*
|
||||
|
@ -919,3 +937,11 @@ LookupAccountNameA(
|
|||
FIXME("(%s,%s,%p,%p,%p,%p,%p), stub.\n",system,account,sid,cbSid,ReferencedDomainName,cbReferencedDomainName,name_use);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* GetAce [ADVAPI32.@]
|
||||
*/
|
||||
BOOL WINAPI GetAce(PACL pAcl,DWORD dwAceIndex,LPVOID *pAce )
|
||||
{
|
||||
CallWin32ToNt(RtlGetAce(pAcl, dwAceIndex, pAce));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue