Austin English : kernel32: Add stub for SetFileValidData.

Alexandre Julliard julliard at winehq.org
Tue Oct 5 14:41:47 CDT 2010


Module: wine
Branch: stable
Commit: 003bc82b3904d0f5274b6bed6d6ec324c3e6680e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=003bc82b3904d0f5274b6bed6d6ec324c3e6680e

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Aug 18 00:17:39 2010 -0700

kernel32: Add stub for SetFileValidData.
(cherry picked from commit 7cd7851ca149101183ee90ea3b69e1ad7d55591a)

---

 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 843e97c..a0b729d 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -1028,7 +1028,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