From 18e195a89b595d5fcf023347d4f4dce41f003c20 Mon Sep 17 00:00:00 2001 From: Evan Deaubl Date: Thu, 26 Aug 2004 00:29:06 +0000 Subject: [PATCH] Added GetSecurityInfo stub. --- dlls/advapi32/advapi32.spec | 2 +- dlls/advapi32/security.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index 81de479d8c..7e6fcaa3ff 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 fda6a2fb24..7015c729c4 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.@] */