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
f2081fb2
Commit
f2081fb2
authored
Jul 20, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Stub out the Safer* functions a bit more.
parent
58dddbed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-2
security.c
dlls/advapi32/security.c
+24
-1
No files found.
dlls/advapi32/advapi32.spec
View file @
f2081fb2
...
...
@@ -540,8 +540,8 @@
@ stdcall ReportEventA (long long long long ptr long long str ptr)
@ stdcall ReportEventW (long long long long ptr long long wstr ptr)
@ stdcall RevertToSelf()
# @ stub SaferCloseLevel
# @ stub SaferComputeTokenFromLevel
@ stdcall SaferCloseLevel(ptr)
@ stdcall SaferComputeTokenFromLevel(ptr ptr ptr long ptr)
@ stdcall SaferCreateLevel(long long long ptr ptr)
# @ stub SaferGetLevelInformation
@ stdcall SaferGetPolicyInformation(long long long ptr ptr ptr)
...
...
dlls/advapi32/security.c
View file @
f2081fb2
...
...
@@ -5418,7 +5418,30 @@ BOOL WINAPI SaferCreateLevel(DWORD ScopeId, DWORD LevelId, DWORD OpenFlags,
SAFER_LEVEL_HANDLE
*
LevelHandle
,
LPVOID
lpReserved
)
{
FIXME
(
"(%u, %x, %u, %p, %p) stub
\n
"
,
ScopeId
,
LevelId
,
OpenFlags
,
LevelHandle
,
lpReserved
);
return
FALSE
;
*
LevelHandle
=
(
SAFER_LEVEL_HANDLE
)
0xdeadbeef
;
return
TRUE
;
}
/******************************************************************************
* SaferComputeTokenFromLevel [ADVAPI32.@]
*/
BOOL
WINAPI
SaferComputeTokenFromLevel
(
SAFER_LEVEL_HANDLE
handle
,
HANDLE
token
,
PHANDLE
access_token
,
DWORD
flags
,
LPVOID
reserved
)
{
FIXME
(
"(%p, %p, %p, %x, %p) stub
\n
"
,
handle
,
token
,
access_token
,
flags
,
reserved
);
*
access_token
=
(
HANDLE
)
0xdeadbeef
;
return
TRUE
;
}
/******************************************************************************
* SaferCloseLevel [ADVAPI32.@]
*/
BOOL
WINAPI
SaferCloseLevel
(
SAFER_LEVEL_HANDLE
handle
)
{
FIXME
(
"(%p) stub
\n
"
,
handle
);
return
TRUE
;
}
DWORD
WINAPI
TreeResetNamedSecurityInfoW
(
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