[PATCH 6/6] advapi: add stub for GetNamedSecurityInfoExA()

Paul Bryan Roberts pbronline-wine at yahoo.co.uk
Tue Nov 4 00:25:06 CST 2008


---
 dlls/advapi32/advapi32.spec |    2 +-
 dlls/advapi32/security.c    |   14 ++++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec
index cb4dd4d..a03a2b8 100644
--- a/dlls/advapi32/advapi32.spec
+++ b/dlls/advapi32/advapi32.spec
@@ -257,7 +257,7 @@
 # @ stub GetMultipleTrusteeOperationW
 # @ stub GetMultipleTrusteeW
 @ stdcall GetNamedSecurityInfoA (str long long ptr ptr ptr ptr ptr)
-# @ stub GetNamedSecurityInfoExA
+@ stdcall GetNamedSecurityInfoExA (str long long ptr ptr ptr ptr ptr ptr)
 # @ stub GetNamedSecurityInfoExW
 @ stdcall GetNamedSecurityInfoW (wstr long long ptr ptr ptr ptr ptr)
 @ stdcall GetNumberOfEventLogRecords (long ptr)
diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c
index 3fadf2e..d318a87 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -2890,6 +2890,20 @@ DWORD WINAPI GetSecurityInfo(
 }
 
 /******************************************************************************
+ * GetNamedSecurityInfoExA [ADVAPI32.@]
+ */
+DWORD WINAPI GetNamedSecurityInfoExA(
+        LPCSTR pObjectName, SE_OBJECT_TYPE ObjectType,
+        SECURITY_INFORMATION SecurityInfo, LPCSTR lpProvider,
+        LPCSTR lpProperty, PACTRL_ACCESSW *ppAccessList,
+        PACTRL_AUDITW *ppAuditList, LPSTR *lppOwner, LPSTR *lppGroup
+)
+{
+  FIXME("stub!\n");
+  return ERROR_BAD_PROVIDER;
+}
+
+/******************************************************************************
  * GetSecurityInfoExW [ADVAPI32.@]
  */
 DWORD WINAPI GetSecurityInfoExW(
-- 
1.5.4.3


--------------090604080806050601050006--



More information about the wine-patches mailing list