mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Stub implement SfcGetNextProtectedFile
svn path=/trunk/; revision=43394
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user