Commit 362cb2c0 authored by Alexandre Julliard's avatar Alexandre Julliard

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

Implemented CheckTokenMembership and GetAce.
parent 776cb279
...@@ -89,7 +89,7 @@ debug_channels (advapi crypt reg) ...@@ -89,7 +89,7 @@ debug_channels (advapi crypt reg)
@ stdcall EqualSid(ptr ptr) EqualSid @ stdcall EqualSid(ptr ptr) EqualSid
@ stub FindFirstFreeAce @ stub FindFirstFreeAce
@ stdcall FreeSid(ptr) FreeSid @ stdcall FreeSid(ptr) FreeSid
@ stub GetAce @ stdcall GetAce(ptr long ptr) GetAce
@ stub GetAclInformation @ stub GetAclInformation
@ stdcall GetFileSecurityA(str long ptr long ptr) GetFileSecurityA @ stdcall GetFileSecurityA(str long ptr long ptr) GetFileSecurityA
@ stdcall GetFileSecurityW(wstr long ptr long ptr) GetFileSecurityW @ stdcall GetFileSecurityW(wstr long ptr long ptr) GetFileSecurityW
...@@ -323,3 +323,4 @@ debug_channels (advapi crypt reg) ...@@ -323,3 +323,4 @@ debug_channels (advapi crypt reg)
@ stub I_ScSetServiceBitsA @ stub I_ScSetServiceBitsA
@ stub EnumServiceGroupA @ stub EnumServiceGroupA
@ stub EnumServiceGroupW @ stub EnumServiceGroupW
@ stdcall CheckTokenMembership(long ptr ptr) CheckTokenMembership
...@@ -91,6 +91,24 @@ AdjustTokenPrivileges( HANDLE TokenHandle, BOOL DisableAllPrivileges, ...@@ -91,6 +91,24 @@ AdjustTokenPrivileges( HANDLE TokenHandle, BOOL DisableAllPrivileges,
} }
/****************************************************************************** /******************************************************************************
* 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.@] * GetTokenInformation [ADVAPI32.@]
* *
* PARAMS * PARAMS
...@@ -919,3 +937,11 @@ LookupAccountNameA( ...@@ -919,3 +937,11 @@ LookupAccountNameA(
FIXME("(%s,%s,%p,%p,%p,%p,%p), stub.\n",system,account,sid,cbSid,ReferencedDomainName,cbReferencedDomainName,name_use); FIXME("(%s,%s,%p,%p,%p,%p,%p), stub.\n",system,account,sid,cbSid,ReferencedDomainName,cbReferencedDomainName,name_use);
return FALSE; return FALSE;
} }
/******************************************************************************
* GetAce [ADVAPI32.@]
*/
BOOL WINAPI GetAce(PACL pAcl,DWORD dwAceIndex,LPVOID *pAce )
{
CallWin32ToNt(RtlGetAce(pAcl, dwAceIndex, pAce));
}
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