Author: spetreolle
Date: Sun Jul 10 15:05:14 2011
New Revision: 52609

URL: http://svn.reactos.org/svn/reactos?rev=52609&view=rev
Log:
[SFC_OS]
Implement SfcFileException, required by VBox Guest additions to install 3D 
support.

Modified:
    trunk/reactos/dll/win32/sfc_os/sfc_os.c
    trunk/reactos/dll/win32/sfc_os/sfc_os.spec

Modified: trunk/reactos/dll/win32/sfc_os/sfc_os.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/sfc_os/sfc_os.c?rev=52609&r1=52608&r2=52609&view=diff
==============================================================================
--- trunk/reactos/dll/win32/sfc_os/sfc_os.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/sfc_os/sfc_os.c [iso-8859-1] Sun Jul 10 15:05:14 
2011
@@ -142,3 +142,24 @@
     return FALSE;
 }
 
+/******************************************************************
+ *              SfcFileException     [sfc_os.@]
+ *
+ * Disable the protection for the given file during one minute
+ *
+ * PARAMS
+ *  dwUnknown0    [I] Set to 0
+ *  pwszFile      [I] Name of the file to unprotect
+ *  dwUnknown1    [I] Set to -1
+ *
+ * RETURNS
+ *  Failure: 1;
+ *  Success: 0;
+ *
+ */
+DWORD WINAPI SfcFileException(DWORD dwUnknown0, PWCHAR pwszFile, DWORD 
dwUnknown1)
+{
+    UNIMPLEMENTED;
+    /* Always return success */
+    return 0;
+}

Modified: trunk/reactos/dll/win32/sfc_os/sfc_os.spec
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/sfc_os/sfc_os.spec?rev=52609&r1=52608&r2=52609&view=diff
==============================================================================
--- trunk/reactos/dll/win32/sfc_os/sfc_os.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/sfc_os/sfc_os.spec [iso-8859-1] Sun Jul 10 15:05:14 
2011
@@ -2,7 +2,7 @@
 @ stub sfc_os_2
 @ stub sfc_os_3
 @ stub sfc_os_4
-@ stub sfc_os_5
+@ stdcall SfcFileException(long ptr long)
 @ stub sfc_os_6
 @ stub sfc_os_7
 @ stdcall SfcGetNextProtectedFile(ptr ptr)


Reply via email to