advapi32: Add stub for SaferGetPolicyInformation.

This commit is contained in:
Stefan Leichter 2009-08-11 20:09:58 +02:00 committed by Alexandre Julliard
parent e41d0dd7de
commit 5ffba2da97
3 changed files with 21 additions and 1 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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