CVS: winex/dlls/advapi32 advapi32.spec, 1.18, 1.19 security.c, 1.14, 1.15

[email protected]
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/dlls/advapi32 advapi32.spec,1.18,1.19 security.c,1.14,1.15Update of /var/lib/cvsd/cvsroot/winex/dlls/advapi32
In directory agravaine:/tmp/cvs-serv22662/dlls/advapi32

Modified Files:
	advapi32.spec security.c 
Log Message:

Advapi32 stub implementation for CheckPrivileges(), and spec stub for
ConvertStringSecurityDescriptorToSecurityDescriptor.


Index: advapi32.spec
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/advapi32/advapi32.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- advapi32.spec	29 Mar 2007 22:01:59 -0000	1.18
+++ advapi32.spec	30 Mar 2007 21:18:11 -0000	1.19
@@ -41,6 +41,7 @@
 @ stdcall ConvertSidToStringSidA (ptr ptr) ConvertSidToStringSidA
 @ stdcall ConvertSidToStringSidW (ptr ptr) ConvertSidToStringSidW
 @ stub ConvertStringSecurityDescriptorToSecurityDescriptorW
+@ stub ConvertStringSecurityDescriptorToSecurityDescriptorA
 @ stdcall CopySid(long ptr ptr) CopySid
 @ stub CreatePrivateObjectSecurity
 @ stub CreateProcessAsUserA
@@ -183,7 +184,7 @@
 @ stdcall OpenServiceA(long str long) OpenServiceA
 @ stdcall OpenServiceW(long wstr long) OpenServiceW
 @ stdcall OpenThreadToken(long long long ptr) OpenThreadToken
-@ stub PrivilegeCheck
+@ stdcall PrivilegeCheck(long ptr ptr) PrivilegeCheck
 @ stub PrivilegedServiceAuditAlarmA
 @ stub PrivilegedServiceAuditAlarmW
 @ stub QueryServiceConfigA

Index: security.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/advapi32/security.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- security.c	29 Mar 2007 22:01:59 -0000	1.14
+++ security.c	30 Mar 2007 21:18:11 -0000	1.15
@@ -1073,3 +1073,20 @@
 }
 
 
+/******************************************************************************
+ * PrivilegeCheck [ADVAPI32.@]
+ *
+ * Stub - can be used to determine whether user is in administrative mode.
+ * Returns yes to all valid privileges queries.
+ */
+BOOL WINAPI PrivilegeCheck( HANDLE ClientToken, PPRIVILEGE_SET RequiredPrivileges,
+                            LPBOOL lpResult )
+{
+    FIXME( "%p %p %p: stub (entry)\n", ClientToken, RequiredPrivileges, lpResult );
+    if ( lpResult == NULL )
+        return( FALSE );
+    
+    *lpResult = TRUE;
+    
+    return( TRUE );
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.