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
5ffba2da
Commit
5ffba2da
authored
Aug 11, 2009
by
Stefan Leichter
Committed by
Alexandre Julliard
Aug 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add stub for SaferGetPolicyInformation.
parent
e41d0dd7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
advapi32.spec
dlls/advapi32/advapi32.spec
+1
-1
security.c
dlls/advapi32/security.c
+10
-0
winsafer.h
include/winsafer.h
+10
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
5ffba2da
...
...
@@ -542,7 +542,7 @@
# @ stub SaferComputeTokenFromLevel
@ stdcall SaferCreateLevel(long long long ptr ptr)
# @ stub SaferGetLevelInformation
# @ stub SaferGetPolicyInformation
@ stdcall SaferGetPolicyInformation(long long long ptr ptr ptr)
# @ stub SaferIdentifyLevel
# @ stub SaferRecordEventLogEntry
# @ stub SaferSetLevelInformation
...
...
dlls/advapi32/security.c
View file @
5ffba2da
...
...
@@ -5340,3 +5340,13 @@ DWORD WINAPI TreeResetNamedSecurityInfoW( LPWSTR pObjectName,
return
ERROR_SUCCESS
;
}
/******************************************************************************
* SaferGetPolicyInformation [ADVAPI32.@]
*/
BOOL
WINAPI
SaferGetPolicyInformation
(
DWORD
scope
,
SAFER_POLICY_INFO_CLASS
class
,
DWORD
size
,
PVOID
buffer
,
PDWORD
required
,
LPVOID
lpReserved
)
{
FIXME
(
"(%u %u %u %p %p %p) stub
\n
"
,
scope
,
class
,
size
,
buffer
,
required
,
lpReserved
);
return
FALSE
;
}
include/winsafer.h
View file @
5ffba2da
...
...
@@ -43,6 +43,16 @@ DECLARE_HANDLE(SAFER_LEVEL_HANDLE);
WINADVAPI
BOOL
WINAPI
SaferCreateLevel
(
DWORD
,
DWORD
,
DWORD
,
SAFER_LEVEL_HANDLE
*
,
LPVOID
);
typedef
enum
_SAFER_POLICY_INFO_CLASS
{
SaferPolicyLevelList
=
1
,
SaferPolicyEnableTransparentEnforcement
,
SaferPolicyDefaultLevel
,
SaferPolicyEvaluateUserScope
,
SaferPolicyScopeFlags
}
SAFER_POLICY_INFO_CLASS
;
WINADVAPI
BOOL
WINAPI
SaferGetPolicyInformation
(
DWORD
,
SAFER_POLICY_INFO_CLASS
,
DWORD
,
PVOID
,
PDWORD
,
LPVOID
);
#ifdef __cplusplus
}
#endif
...
...
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