From 78160d4fe1e501f322d491c9e6bffdd53c0c6388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 9 Mar 2011 15:11:41 +0100 Subject: [PATCH] kernel32: Add stub for GetVolumePathNamesForVolumeNameA. --- dlls/kernel32/kernel32.spec | 2 +- dlls/kernel32/volume.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index d2f3a2639d7..d7edf1f1c2b 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -676,7 +676,7 @@ @ stdcall GetVolumeNameForVolumeMountPointW(wstr ptr long) @ stdcall GetVolumePathNameA(str ptr long) @ stdcall GetVolumePathNameW(wstr ptr long) -# @ stub GetVolumePathNamesForVolumeNameA +@ stdcall GetVolumePathNamesForVolumeNameA(str ptr long ptr) @ stdcall GetVolumePathNamesForVolumeNameW(wstr ptr long ptr) @ stdcall GetWindowsDirectoryA(ptr long) @ stdcall GetWindowsDirectoryW(ptr long) diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c index 912f215a63e..16849670ec6 100644 --- a/dlls/kernel32/volume.c +++ b/dlls/kernel32/volume.c @@ -1620,6 +1620,16 @@ BOOL WINAPI GetVolumePathNameW(LPCWSTR filename, LPWSTR volumepathname, DWORD bu return FALSE; } +/*********************************************************************** + * GetVolumePathNamesForVolumeNameA (KERNEL32.@) + */ +BOOL WINAPI GetVolumePathNamesForVolumeNameA(LPCSTR volumename, LPSTR volumepathname, DWORD buflen, PDWORD returnlen) +{ + FIXME("(%s, %p, %d, %p), stub!\n", debugstr_a(volumename), volumepathname, buflen, returnlen); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + /*********************************************************************** * GetVolumePathNamesForVolumeNameW (KERNEL32.@) */