GetNamedSecurityInfoExA() stub

Paul Bryan Roberts pbronline-wine at yahoo.co.uk
Sun Feb 15 14:35:40 CST 2009


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

diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec
index 219e3d1..9fdc2a1 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 str str 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 4153d93..4c12d59 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -5116,6 +5116,34 @@ DWORD WINAPI GetNamedSecurityInfoW( LPWSTR name, SE_OBJECT_TYPE type,
 }
 
 /******************************************************************************
+ * GetNamedSecurityInfoExA [ADVAPI32.@]
+ *
+ * PARAMS
+ *   pObjectName   [I]  name of the object
+ *   ObjectType    [I]  type of object
+ *   SecurityInfo  [I]  type of security information to retrieve
+ *   pProvider     [I]  name of provider to handle request
+ *   pProperty     [I]  GUID string of a property on the object
+ *   ppAccessList  [O]  receives a pointer to the object's access control list
+ *   ppAuditList   [O]  receives a pointer to the object's audit control list
+ *   ppOwner       [O]  receives the name of the object's owner
+ *   ppGroup       [O]  receives the name of the object's primary group
+ */
+DWORD WINAPI GetNamedSecurityInfoExA(LPCSTR pObjectName,
+    SE_OBJECT_TYPE ObjectType, SECURITY_INFORMATION SecurityInfo,
+    LPCSTR pProvider, LPCSTR pProperty,
+    PACTRL_ACCESSW *ppAccessList, PACTRL_AUDITW *ppAuditList,
+    LPSTR *ppOwner, LPSTR *ppGroup)
+{
+  FIXME ("(%s, %d, %d, %s, %s, %p, %p, %p, %p) - stub\n",
+    debugstr_a(pObjectName), ObjectType, SecurityInfo,
+    debugstr_a(pProvider), debugstr_a(pProperty),
+    ppAccessList, ppAuditList, ppOwner, ppGroup);
+
+  return (ERROR_BAD_PROVIDER);
+}
+
+/******************************************************************************
  * DecryptFileW [ADVAPI32.@]
  */
 BOOL WINAPI DecryptFileW(LPCWSTR lpFileName, DWORD dwReserved)
-- 
1.5.4.3


--------------030300080805070508000002--



More information about the wine-patches mailing list