Author: cwittich
Date: Fri Nov 16 02:46:15 2007
New Revision: 30488
URL:
http://svn.reactos.org/svn/reactos?rev=30488&view=rev
Log:
better stub for FileEncryptionStatusW
Modified:
trunk/reactos/dll/win32/advapi32/crypt/crypt.c
Modified: trunk/reactos/dll/win32/advapi32/crypt/crypt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/crypt/c…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/crypt/crypt.c (original)
+++ trunk/reactos/dll/win32/advapi32/crypt/crypt.c Fri Nov 16 02:46:15 2007
@@ -1997,8 +1997,10 @@
)
{
DPRINT1("%s(%S) not implemented!\n", __FUNCTION__, lpFileName);
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return FALSE;
+ if (!lpStatus)
+ return FALSE;
+ *lpStatus = FILE_SYSTEM_NOT_SUPPORT;
+ return TRUE;
}