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
123501fb
Commit
123501fb
authored
Feb 10, 1999
by
Andreas Mohr
Committed by
Alexandre Julliard
Feb 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Two ADVAPI32 stubs: ImpersonateSelf32 and AccessCheck32. Spelling fixes.
parent
01fb67de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
6 deletions
+24
-6
security.c
dlls/advapi32/security.c
+22
-4
advapi32.spec
relay32/advapi32.spec
+2
-2
No files found.
dlls/advapi32/security.c
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
;
}
relay32/advapi32.spec
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) ImpersonateSelf32
0072 stub InitializeAcl
0073 stdcall InitializeSecurityDescriptor(ptr long) InitializeSecurityDescriptor
0074 stdcall InitializeSid(ptr ptr long) InitializeSid
...
...
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