Author: dchapyshev
Date: Mon Oct 12 14:25:02 2009
New Revision: 43394
URL:
http://svn.reactos.org/svn/reactos?rev=43394&view=rev
Log:
- Stub implement SfcGetNextProtectedFile
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?…
==============================================================================
--- 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] Mon Oct 12 14:25:02 2009
@@ -22,6 +22,13 @@
#include "debug.h"
HINSTANCE hLibModule;
+
+typedef struct _PROTECTED_FILE_DATA
+{
+ WCHAR FileName[MAX_PATH];
+ DWORD FileNumber;
+} PROTECTED_FILE_DATA, *PPROTECTED_FILE_DATA;
+
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
@@ -119,3 +126,19 @@
return FALSE;
}
+/******************************************************************
+ * SfcGetNextProtectedFile [sfc_os.@]
+ */
+BOOL WINAPI SfcGetNextProtectedFile(HANDLE RpcHandle, PPROTECTED_FILE_DATA ProtFileData)
+{
+ if (!ProtFileData)
+ {
+ SetLastError(ERROR_INVALID_PARAMETER);
+ return FALSE;
+ }
+
+ UNIMPLEMENTED;
+ SetLastError(ERROR_NO_MORE_FILES);
+ return FALSE;
+}
+
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.sp…
==============================================================================
--- 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] Mon Oct 12 14:25:02 2009
@@ -5,7 +5,7 @@
@ stub sfc_os_5
@ stub sfc_os_6
@ stub sfc_os_7
-@ stub SfcGetNextProtectedFile
+@ stdcall SfcGetNextProtectedFile(ptr ptr)
@ stdcall SfcIsFileProtected(ptr wstr)
@ stdcall SfcIsKeyProtected(long wstr long)
@ stub SfcWLEventLogoff