diff --git a/reactos/dll/win32/sfc_os/sfc_os.c b/reactos/dll/win32/sfc_os/sfc_os.c index 05125ac0dbf..84fb96bace6 100644 --- a/reactos/dll/win32/sfc_os/sfc_os.c +++ b/reactos/dll/win32/sfc_os/sfc_os.c @@ -23,6 +23,13 @@ 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) { switch (fdwReason) @@ -119,3 +126,19 @@ BOOL WINAPI SfcIsKeyProtected(HKEY hKey, LPCWSTR lpSubKey, REGSAM samDesired) 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; +} + diff --git a/reactos/dll/win32/sfc_os/sfc_os.spec b/reactos/dll/win32/sfc_os/sfc_os.spec index b5a079e2d2a..0fa440aff08 100644 --- a/reactos/dll/win32/sfc_os/sfc_os.spec +++ b/reactos/dll/win32/sfc_os/sfc_os.spec @@ -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