diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index e9a3ccc551..4189458a7e 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec @@ -230,8 +230,8 @@ # @ stub GetAccessPermissionsForObjectW @ stdcall GetAce(ptr long ptr) @ stdcall GetAclInformation(ptr ptr long long) -# @ stub GetAuditedPermissionsFromAclA -# @ stub GetAuditedPermissionsFromAclW +@ stdcall GetAuditedPermissionsFromAclA(ptr ptr ptr ptr) +@ stdcall GetAuditedPermissionsFromAclW(ptr ptr ptr ptr) @ stdcall GetCurrentHwProfileA(ptr) @ stdcall GetCurrentHwProfileW(ptr) @ stdcall GetEffectiveRightsFromAclA(ptr ptr ptr) diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index 333ad86bac..2f9132968b 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -3442,6 +3442,27 @@ DWORD WINAPI GetExplicitEntriesFromAclW( PACL pacl, PULONG pcCountOfExplicitEntr return ERROR_CALL_NOT_IMPLEMENTED; } +/****************************************************************************** + * GetAuditedPermissionsFromAclA [ADVAPI32.@] + */ +DWORD WINAPI GetAuditedPermissionsFromAclA( PACL pacl, PTRUSTEEA pTrustee, PACCESS_MASK pSuccessfulAuditedRights, + PACCESS_MASK pFailedAuditRights) +{ + FIXME("%p %p %p %p\n",pacl, pTrustee, pSuccessfulAuditedRights, pFailedAuditRights); + return ERROR_CALL_NOT_IMPLEMENTED; + +} + +/****************************************************************************** + * GetAuditedPermissionsFromAclW [ADVAPI32.@] + */ +DWORD WINAPI GetAuditedPermissionsFromAclW( PACL pacl, PTRUSTEEW pTrustee, PACCESS_MASK pSuccessfulAuditedRights, + PACCESS_MASK pFailedAuditRights) +{ + FIXME("%p %p %p %p\n",pacl, pTrustee, pSuccessfulAuditedRights, pFailedAuditRights); + return ERROR_CALL_NOT_IMPLEMENTED; + +} /****************************************************************************** * ParseAclStringFlags