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.@) */