advapi32: Add stub for SaferGetPolicyInformation.
This commit is contained in:
parent
e41d0dd7de
commit
5ffba2da97
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue