GetSecurityInfo stub replacement
Evan Deaubl
wine at warpedview.com
Wed Aug 25 13:43:23 CDT 2004
Well, this has been a humbling experience. :-S Let's see if these patches finally come out right.
ChangeLog:
* Replace GetSecurityInfo stub entry in advapi32.spec with stub implementation
diff -urN wine-20040813.orig/dlls/advapi32/advapi32.spec wine-20040813.patched/dlls/advapi32/advapi32.spec
--- wine-20040813.orig/dlls/advapi32/advapi32.spec 2004-08-24 11:17:35.600481456 -0700
+++ wine-20040813.patched/dlls/advapi32/advapi32.spec 2004-08-24 11:25:44.569146920 -0700
@@ -114,7 +114,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 -urN wine-20040813.orig/dlls/advapi32/security.c wine-20040813.patched/dlls/advapi32/security.c
--- wine-20040813.orig/dlls/advapi32/security.c 2004-08-24 11:17:35.597481912 -0700
+++ wine-20040813.patched/dlls/advapi32/security.c 2004-08-24 11:25:44.566147376 -0700
@@ -1487,6 +1487,20 @@
/******************************************************************************
+ * 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.@]
*/
DWORD WINAPI GetSecurityInfoExW(
More information about the wine-patches
mailing list