Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d5a31871
Commit
d5a31871
authored
May 25, 2004
by
William Lahti
Committed by
Alexandre Julliard
May 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented AreAnyAccessesGranted.
parent
b6dae78b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
advapi32.spec
dlls/advapi32/advapi32.spec
+1
-1
security.c
dlls/advapi32/security.c
+20
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
d5a31871
...
...
@@ -15,7 +15,7 @@
@ stdcall AllocateAndInitializeSid(ptr long long long long long long long long long ptr)
@ stdcall AllocateLocallyUniqueId(ptr)
@ stub AreAllAccessesGranted
@ st
ub AreAnyAccessesGranted
@ st
dcall AreAnyAccessesGranted(long long)
@ stdcall BackupEventLogA (long str)
@ stdcall BackupEventLogW (long wstr)
@ stdcall BuildTrusteeWithSidA(ptr ptr)
...
...
dlls/advapi32/security.c
View file @
d5a31871
...
...
@@ -1547,6 +1547,26 @@ DWORD WINAPI SetNamedSecurityInfoA(LPSTR pObjectName,
}
/******************************************************************************
* AreAnyAccessesGranted [ADVAPI32.@]
*
* Determines whether or not any of a set of specified access permissions have
* been granted or not.
*
* PARAMS
* GrantedAccess [I] The permissions that have been granted.
* DesiredAccess [I] The permissions that you want to have.
*
* RETURNS
* Nonzero if any of the permissions have been granted, zero if none of the
* permissions have been granted.
*/
BOOL
WINAPI
AreAnyAccessesGranted
(
DWORD
GrantedAccess
,
DWORD
DesiredAccess
)
{
return
(
GrantedAccess
&
DesiredAccess
)
!=
0
;
}
/******************************************************************************
* SetNamedSecurityInfoW [ADVAPI32.@]
*/
DWORD
WINAPI
SetNamedSecurityInfoW
(
LPWSTR
pObjectName
,
...
...
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