mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:52:57 +00:00
- Stub implement SfcGetNextProtectedFile
svn path=/trunk/; revision=43394
This commit is contained in:
parent
0a427ec6b6
commit
3ed9870bca
2 changed files with 24 additions and 1 deletions
|
@ -23,6 +23,13 @@
|
||||||
|
|
||||||
HINSTANCE hLibModule;
|
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)
|
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
{
|
{
|
||||||
switch (fdwReason)
|
switch (fdwReason)
|
||||||
|
@ -119,3 +126,19 @@ BOOL WINAPI SfcIsKeyProtected(HKEY hKey, LPCWSTR lpSubKey, REGSAM samDesired)
|
||||||
return FALSE;
|
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_5
|
||||||
@ stub sfc_os_6
|
@ stub sfc_os_6
|
||||||
@ stub sfc_os_7
|
@ stub sfc_os_7
|
||||||
@ stub SfcGetNextProtectedFile
|
@ stdcall SfcGetNextProtectedFile(ptr ptr)
|
||||||
@ stdcall SfcIsFileProtected(ptr wstr)
|
@ stdcall SfcIsFileProtected(ptr wstr)
|
||||||
@ stdcall SfcIsKeyProtected(long wstr long)
|
@ stdcall SfcIsKeyProtected(long wstr long)
|
||||||
@ stub SfcWLEventLogoff
|
@ stub SfcWLEventLogoff
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue