Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
362cb2c0
Commit
362cb2c0
authored
Jan 31, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Eric Kohl <ekohl@codeweavers.com>
Implemented CheckTokenMembership and GetAce.
parent
776cb279
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-1
security.c
dlls/advapi32/security.c
+26
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
362cb2c0
...
@@ -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
@ st
ub
GetAce
@ st
dcall 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
dlls/advapi32/security.c
View file @
362cb2c0
...
@@ -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
));
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment