advapi32: Add AuditQuerySystemPolicy stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46643
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2019-03-15 09:26:45 +01:00 committed by Alexandre Julliard
parent ed408d8def
commit 642d6c695a
4 changed files with 23 additions and 2 deletions

View File

@ -51,7 +51,7 @@
# @ stub AuditQueryGlobalSaclW
# @ stub AuditQueryPerUserPolicy
# @ stub AuditQuerySecurity
# @ stub AuditQuerySystemPolicy
@ stdcall AuditQuerySystemPolicy(ptr long ptr)
# @ stub AuditSetGlobalSaclA
# @ stub AuditSetGlobalSaclW
# @ stub AuditSetPerUserPolicy

View File

@ -1072,3 +1072,15 @@ NTSTATUS WINAPI LsaLookupPrivilegeDisplayName(LSA_HANDLE handle, LSA_UNICODE_STR
return STATUS_NO_SUCH_PRIVILEGE;
}
/******************************************************************************
* AuditQuerySystemPolicy [ADVAPI32.@]
*
*/
BOOLEAN WINAPI AuditQuerySystemPolicy(const GUID* guids, ULONG count, AUDIT_POLICY_INFORMATION** policy)
{
FIXME("(%p, %d, %p)\n", guids, count, policy);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}

View File

@ -8,7 +8,7 @@
@ stub AuditQueryGlobalSaclW
@ stub AuditQueryPerUserPolicy
@ stub AuditQuerySecurity
@ stub AuditQuerySystemPolicy
@ stdcall AuditQuerySystemPolicy(ptr long ptr) advapi32.AuditQuerySystemPolicy
@ stub AuditSetGlobalSaclW
@ stub AuditSetPerUserPolicy
@ stub AuditSetSecurity

View File

@ -349,6 +349,13 @@ typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS
PolicyNotifyMachineAccountPasswordInformation
} POLICY_NOTIFICATION_INFORMATION_CLASS, *PPOLICY_NOTIFICATION_INFORMATION_CLASS;
typedef struct _AUDIT_POLICY_INFORMATION
{
GUID AuditSubCategoryGuid;
ULONG AuditingInformation;
GUID AuditCategoryGuid;
} AUDIT_POLICY_INFORMATION, *PAUDIT_POLICY_INFORMATION;
#define MICROSOFT_KERBEROS_NAME_A "Kerberos"
#if defined(_MSC_VER)
#define MICROSOFT_KERBEROS_NAME_W L"Kerberos"
@ -458,6 +465,8 @@ typedef struct _KERB_PURGE_TKT_CACHE_REQUEST
#define RtlEncryptMemory SystemFunction040
#define RtlDecryptMemory SystemFunction041
BOOLEAN WINAPI AuditQuerySystemPolicy(const GUID*,ULONG,AUDIT_POLICY_INFORMATION**);
BOOLEAN WINAPI RtlGenRandom(PVOID,ULONG);
NTSTATUS WINAPI RtlEncryptMemory(PVOID,ULONG,ULONG);
NTSTATUS WINAPI RtlDecryptMemory(PVOID,ULONG,ULONG);