Commit 65ba77bd authored by Owen Rudge's avatar Owen Rudge Committed by Alexandre Julliard

advapi32: Add basic SaferSetLevelInformation stub.

parent 1beb6e16
...@@ -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
......
...@@ -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;
}
...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment