Skip to content
Snippets Groups Projects
Commit 362cb2c0 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Eric Kohl <ekohl@codeweavers.com>

Implemented CheckTokenMembership and GetAce.
parent 776cb279
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment