Hans Leidekker : kernel32: Add a stub implementation for FindFirstVolumeMountPoint{A, W}.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 19 07:02:09 CST 2007


Module: wine
Branch: master
Commit: c56eafcb80ee6541c3218c4ac8c4cf8ade9e81cf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c56eafcb80ee6541c3218c4ac8c4cf8ade9e81cf

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Sun Feb 18 19:37:29 2007 +0100

kernel32: Add a stub implementation for FindFirstVolumeMountPoint{A, W}.

---

 dlls/kernel32/kernel32.spec |    4 ++--
 dlls/kernel32/volume.c      |   20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index ac340ff..99ec3a5 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -372,8 +372,8 @@
 @ stdcall FindFirstFileExW(wstr long ptr long ptr long)
 @ stdcall FindFirstFileW(wstr ptr)
 @ stub FindFirstVolumeA
-@ stub FindFirstVolumeMountPointA
-@ stub FindFirstVolumeMountPointW
+@ stdcall FindFirstVolumeMountPointA(str ptr long)
+@ stdcall FindFirstVolumeMountPointW(wstr ptr long)
 @ stub FindFirstVolumeW
 @ stdcall FindNextChangeNotification(long)
 @ stdcall FindNextFileA(long ptr)
diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c
index d73e603..536fcfa 100644
--- a/dlls/kernel32/volume.c
+++ b/dlls/kernel32/volume.c
@@ -1387,3 +1387,23 @@ BOOL WINAPI GetVolumePathNameW(LPCWSTR filename, LPWSTR volumepathname, DWORD bu
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     return FALSE;
 }
+
+/***********************************************************************
+ *           FindFirstVolumeMountPointA   (KERNEL32.@)
+ */
+HANDLE WINAPI FindFirstVolumeMountPointA(LPCSTR root, LPSTR mount_point, DWORD len)
+{
+    FIXME("(%s, %p, %d), stub!\n", debugstr_a(root), mount_point, len);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return INVALID_HANDLE_VALUE;
+}
+
+/***********************************************************************
+ *           FindFirstVolumeMountPointW   (KERNEL32.@)
+ */
+HANDLE WINAPI FindFirstVolumeMountPointW(LPCWSTR root, LPWSTR mount_point, DWORD len)
+{
+    FIXME("(%s, %p, %d), stub!\n", debugstr_w(root), mount_point, len);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return INVALID_HANDLE_VALUE;
+}




More information about the wine-cvs mailing list