Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Beetham
wine
Commits
123501fb
Commit
123501fb
authored
26 years ago
by
Andreas Mohr
Committed by
Alexandre Julliard
26 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Two ADVAPI32 stubs: ImpersonateSelf32 and AccessCheck32. Spelling fixes.
parent
01fb67de
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/advapi32/security.c
+22
-4
22 additions, 4 deletions
dlls/advapi32/security.c
relay32/advapi32.spec
+2
-2
2 additions, 2 deletions
relay32/advapi32.spec
with
24 additions
and
6 deletions
dlls/advapi32/security.c
+
22
−
4
View file @
123501fb
...
...
@@ -101,8 +101,8 @@ LookupPrivilegeValue32W( LPCWSTR lpSystemName, LPCWSTR lpName, LPVOID lpLuid )
* GetFileSecurity32A [ADVAPI32.45]
*
* Obtains Specified information about the security of a file or directory
* The information obtained is constrained by the callers acces rights and
* privil
i
ges
* The information obtained is constrained by the callers acces
s
rights and
* privil
e
ges
*/
BOOL32
WINAPI
GetFileSecurity32A
(
LPCSTR
lpFileName
,
...
...
@@ -118,8 +118,8 @@ GetFileSecurity32A( LPCSTR lpFileName,
* GetFileSecurity32W [ADVAPI32.46]
*
* Obtains Specified information about the security of a file or directory
* The information obtained is constrained by the callers acces rights and
* privil
i
ges
* The information obtained is constrained by the callers acces
s
rights and
* privil
e
ges
*
* PARAMS
* lpFileName []
...
...
@@ -642,3 +642,21 @@ RevertToSelf( void )
FIXME
(
advapi
,
"(), stub
\n
"
);
return
TRUE
;
}
/******************************************************************************
* ImpersonateSelf [ADVAPI32.71]
*/
BOOL32
WINAPI
ImpersonateSelf32
(
DWORD
/*SECURITY_IMPERSONATION_LEVEL*/
ImpersonationLevel
)
{
FIXME
(
advapi
,
"(%08lx), stub
\n
"
,
ImpersonationLevel
);
return
TRUE
;
}
BOOL32
WINAPI
AccessCheck32
(
LPSECURITY_DESCRIPTOR
pSecurityDescriptor
,
HANDLE32
ClientToken
,
DWORD
DesiredAccess
,
LPVOID
/*LPGENERIC_MAPPING*/
GenericMapping
,
LPVOID
/*LPPRIVILEGE_SET*/
PrivilegeSet
,
LPDWORD
PrivilegeSetLength
,
LPDWORD
GrantedAccess
,
LPBOOL32
AccessStatus
)
{
FIXME
(
advapi
,
"(%p, %04x, %08lx, %p, %p, %p, %p, %p), stub
\n
"
,
pSecurityDescriptor
,
ClientToken
,
DesiredAccess
,
GenericMapping
,
PrivilegeSet
,
PrivilegeSetLength
,
GrantedAccess
,
AccessStatus
);
*
AccessStatus
=
TRUE
;
return
TRUE
;
}
This diff is collapsed.
Click to expand it.
relay32/advapi32.spec
+
2
−
2
View file @
123501fb
...
...
@@ -3,7 +3,7 @@ type win32
0000 stub AbortSystemShutdownA
0001 stub AbortSystemShutdownW
0002 st
ub
AccessCheck
0002 st
dcall
AccessCheck
(ptr long long ptr ptr ptr ptr ptr) AccessCheck32
0003 stub AccessCheckAndAuditAlarmA
0004 stub AccessCheckAndAuditAlarmW
0005 stub AddAccessAllowedAce
...
...
@@ -72,7 +72,7 @@ type win32
0068 stdcall GetUserNameW(ptr ptr) GetUserName32W
0069 stub ImpersonateLoggedOnUser
0070 stub ImpersonateNamedPipeClient
0071 st
ub
ImpersonateSelf
0071 st
dcall ImpersonateSelf(long)
ImpersonateSelf
32
0072 stub InitializeAcl
0073 stdcall InitializeSecurityDescriptor(ptr long) InitializeSecurityDescriptor
0074 stdcall InitializeSid(ptr ptr long) InitializeSid
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment