- Stub implement SfcGetNextProtectedFile

svn path=/trunk/; revision=43394
This commit is contained in:
Dmitry Chapyshev 2009-10-12 12:25:02 +00:00
parent 0a427ec6b6
commit 3ed9870bca
2 changed files with 24 additions and 1 deletions

View file

@ -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;
}

View file

@ -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