diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index 81de479d8c9..7e6fcaa3ff1 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec @@ -122,7 +122,7 @@ @ stdcall GetSecurityDescriptorLength(ptr) @ stdcall GetSecurityDescriptorOwner(ptr ptr ptr) @ stdcall GetSecurityDescriptorSacl (ptr ptr ptr ptr) -@ stub GetSecurityInfo #(long long long ptr ptr ptr ptr ptr) GetSecurityInfo +@ stdcall GetSecurityInfo (long long long ptr ptr ptr ptr ptr) @ stdcall GetSecurityInfoExW (long long long wstr wstr ptr ptr wstr wstr) @ stub GetServiceDisplayNameA @ stub GetServiceDisplayNameW diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index fda6a2fb246..7015c729c49 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -1494,6 +1494,20 @@ BOOL WINAPI AccessCheckAndAuditAlarmW(LPCWSTR Subsystem, LPVOID HandleId, LPWSTR } +/****************************************************************************** + * GetSecurityInfo [ADVAPI32.@] + */ +DWORD WINAPI GetSecurityInfo( + HANDLE hObject, SE_OBJECT_TYPE ObjectType, + SECURITY_INFORMATION SecurityInfo, PSID *ppsidOwner, + PSID *ppsidGroup, PACL *ppDacl, PACL *ppSacl, + PSECURITY_DESCRIPTOR *ppSecurityDescriptor +) +{ + FIXME("stub!\n"); + return ERROR_BAD_PROVIDER; +} + /****************************************************************************** * GetSecurityInfoExW [ADVAPI32.@] */