Austin English : kernel32: Add stub for SetFileValidData.
Alexandre Julliard
julliard at winehq.org
Wed Aug 18 12:09:56 CDT 2010
Module: wine
Branch: master
Commit: 7cd7851ca149101183ee90ea3b69e1ad7d55591a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7cd7851ca149101183ee90ea3b69e1ad7d55591a
Author: Austin English <austinenglish at gmail.com>
Date: Wed Aug 18 00:17:39 2010 -0700
kernel32: Add stub for SetFileValidData.
---
dlls/kernel32/file.c | 10 ++++++++++
dlls/kernel32/kernel32.spec | 2 +-
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c
index edec6b0..dadaea6 100644
--- a/dlls/kernel32/file.c
+++ b/dlls/kernel32/file.c
@@ -1001,6 +1001,16 @@ error:
}
/***********************************************************************
+ * SetFileValidData (KERNEL32.@)
+ */
+BOOL WINAPI SetFileValidData( HANDLE hFile, LONGLONG ValidDataLength )
+{
+ FIXME("stub: %p, %s\n", hFile, wine_dbgstr_longlong(ValidDataLength));
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/***********************************************************************
* GetFileTime (KERNEL32.@)
*/
BOOL WINAPI GetFileTime( HANDLE hFile, FILETIME *lpCreationTime,
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index e7ae774..601644f 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -1030,7 +1030,7 @@
# @ stub SetFileShortNameA
# @ stub SetFileShortNameW
@ stdcall SetFileTime(long ptr ptr ptr)
-# @ stub SetFileValidData
+@ stdcall SetFileValidData(ptr double)
# @ stub SetFirmwareEnvironmentVariableA
# @ stub SetFirmwareEnvironmentVariableW
@ stdcall SetHandleContext(long long)
More information about the wine-cvs
mailing list