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
65ba77bd
Commit
65ba77bd
authored
Apr 01, 2011
by
Owen Rudge
Committed by
Alexandre Julliard
Apr 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add basic SaferSetLevelInformation stub.
parent
1beb6e16
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
1 deletion
+31
-1
advapi32.spec
dlls/advapi32/advapi32.spec
+1
-1
security.c
dlls/advapi32/security.c
+10
-0
winsafer.h
include/winsafer.h
+20
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
65ba77bd
...
@@ -550,7 +550,7 @@
...
@@ -550,7 +550,7 @@
@ stdcall SaferGetPolicyInformation(long long long ptr ptr ptr)
@ stdcall SaferGetPolicyInformation(long long long ptr ptr ptr)
# @ stub SaferIdentifyLevel
# @ stub SaferIdentifyLevel
# @ stub SaferRecordEventLogEntry
# @ stub SaferRecordEventLogEntry
# @ stub SaferSetLevelInformation
@ stdcall SaferSetLevelInformation(ptr long ptr long)
# @ stub SaferSetPolicyInformation
# @ stub SaferSetPolicyInformation
# @ stub SaferiChangeRegistryScope
# @ stub SaferiChangeRegistryScope
# @ stub SaferiCompareTokenLevels
# @ stub SaferiCompareTokenLevels
...
...
dlls/advapi32/security.c
View file @
65ba77bd
...
@@ -5619,3 +5619,13 @@ BOOL WINAPI SaferGetPolicyInformation(DWORD scope, SAFER_POLICY_INFO_CLASS class
...
@@ -5619,3 +5619,13 @@ BOOL WINAPI SaferGetPolicyInformation(DWORD scope, SAFER_POLICY_INFO_CLASS class
FIXME
(
"(%u %u %u %p %p %p) stub
\n
"
,
scope
,
class
,
size
,
buffer
,
required
,
lpReserved
);
FIXME
(
"(%u %u %u %p %p %p) stub
\n
"
,
scope
,
class
,
size
,
buffer
,
required
,
lpReserved
);
return
FALSE
;
return
FALSE
;
}
}
/******************************************************************************
* SaferSetLevelInformation [ADVAPI32.@]
*/
BOOL
WINAPI
SaferSetLevelInformation
(
SAFER_LEVEL_HANDLE
handle
,
SAFER_OBJECT_INFO_CLASS
infotype
,
LPVOID
buffer
,
DWORD
size
)
{
FIXME
(
"(%p %u %p %u) stub
\n
"
,
handle
,
infotype
,
buffer
,
size
);
return
FALSE
;
}
include/winsafer.h
View file @
65ba77bd
...
@@ -51,7 +51,27 @@ typedef enum _SAFER_POLICY_INFO_CLASS {
...
@@ -51,7 +51,27 @@ typedef enum _SAFER_POLICY_INFO_CLASS {
SaferPolicyScopeFlags
SaferPolicyScopeFlags
}
SAFER_POLICY_INFO_CLASS
;
}
SAFER_POLICY_INFO_CLASS
;
typedef
enum
_SAFER_OBJECT_INFO_CLASS
{
SaferObjectLevelId
=
1
,
SaferObjectScopeId
,
SaferObjectFriendlyName
,
SaferObjectDescription
,
SaferObjectBuiltin
,
SaferObjectDisallowed
,
SaferObjectDisableMaxPrivilege
,
SaferObjectInvertDeletedPrivileges
,
SaferObjectDeletedPrivileges
,
SaferObjectDefaultOwner
,
SaferObjectSidsToDisable
,
SaferObjectRestrictedSidsInverted
,
SaferObjectRestrictedSidsAdded
,
SaferObjectAllIdentificationGuids
,
SaferObjectSingleIdentification
,
SaferObjectExtendedError
}
SAFER_OBJECT_INFO_CLASS
;
WINADVAPI
BOOL
WINAPI
SaferGetPolicyInformation
(
DWORD
,
SAFER_POLICY_INFO_CLASS
,
DWORD
,
PVOID
,
PDWORD
,
LPVOID
);
WINADVAPI
BOOL
WINAPI
SaferGetPolicyInformation
(
DWORD
,
SAFER_POLICY_INFO_CLASS
,
DWORD
,
PVOID
,
PDWORD
,
LPVOID
);
WINADVAPI
BOOL
WINAPI
SaferSetLevelInformation
(
SAFER_LEVEL_HANDLE
,
SAFER_OBJECT_INFO_CLASS
,
LPVOID
,
DWORD
);
#ifdef __cplusplus
#ifdef __cplusplus
}
}
...
...
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