Commit 642d6c69 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

advapi32: Add AuditQuerySystemPolicy stub.

parent ed408d8d
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
# @ stub AuditQueryGlobalSaclW # @ stub AuditQueryGlobalSaclW
# @ stub AuditQueryPerUserPolicy # @ stub AuditQueryPerUserPolicy
# @ stub AuditQuerySecurity # @ stub AuditQuerySecurity
# @ stub AuditQuerySystemPolicy @ stdcall AuditQuerySystemPolicy(ptr long ptr)
# @ stub AuditSetGlobalSaclA # @ stub AuditSetGlobalSaclA
# @ stub AuditSetGlobalSaclW # @ stub AuditSetGlobalSaclW
# @ stub AuditSetPerUserPolicy # @ stub AuditSetPerUserPolicy
......
...@@ -1072,3 +1072,15 @@ NTSTATUS WINAPI LsaLookupPrivilegeDisplayName(LSA_HANDLE handle, LSA_UNICODE_STR ...@@ -1072,3 +1072,15 @@ NTSTATUS WINAPI LsaLookupPrivilegeDisplayName(LSA_HANDLE handle, LSA_UNICODE_STR
return STATUS_NO_SUCH_PRIVILEGE; 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;
}
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
@ stub AuditQueryGlobalSaclW @ stub AuditQueryGlobalSaclW
@ stub AuditQueryPerUserPolicy @ stub AuditQueryPerUserPolicy
@ stub AuditQuerySecurity @ stub AuditQuerySecurity
@ stub AuditQuerySystemPolicy @ stdcall AuditQuerySystemPolicy(ptr long ptr) advapi32.AuditQuerySystemPolicy
@ stub AuditSetGlobalSaclW @ stub AuditSetGlobalSaclW
@ stub AuditSetPerUserPolicy @ stub AuditSetPerUserPolicy
@ stub AuditSetSecurity @ stub AuditSetSecurity
......
...@@ -349,6 +349,13 @@ typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS ...@@ -349,6 +349,13 @@ typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS
PolicyNotifyMachineAccountPasswordInformation PolicyNotifyMachineAccountPasswordInformation
} POLICY_NOTIFICATION_INFORMATION_CLASS, *PPOLICY_NOTIFICATION_INFORMATION_CLASS; } 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" #define MICROSOFT_KERBEROS_NAME_A "Kerberos"
#if defined(_MSC_VER) #if defined(_MSC_VER)
#define MICROSOFT_KERBEROS_NAME_W L"Kerberos" #define MICROSOFT_KERBEROS_NAME_W L"Kerberos"
...@@ -458,6 +465,8 @@ typedef struct _KERB_PURGE_TKT_CACHE_REQUEST ...@@ -458,6 +465,8 @@ typedef struct _KERB_PURGE_TKT_CACHE_REQUEST
#define RtlEncryptMemory SystemFunction040 #define RtlEncryptMemory SystemFunction040
#define RtlDecryptMemory SystemFunction041 #define RtlDecryptMemory SystemFunction041
BOOLEAN WINAPI AuditQuerySystemPolicy(const GUID*,ULONG,AUDIT_POLICY_INFORMATION**);
BOOLEAN WINAPI RtlGenRandom(PVOID,ULONG); BOOLEAN WINAPI RtlGenRandom(PVOID,ULONG);
NTSTATUS WINAPI RtlEncryptMemory(PVOID,ULONG,ULONG); NTSTATUS WINAPI RtlEncryptMemory(PVOID,ULONG,ULONG);
NTSTATUS WINAPI RtlDecryptMemory(PVOID,ULONG,ULONG); NTSTATUS WINAPI RtlDecryptMemory(PVOID,ULONG,ULONG);
......
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