diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index f49075e7076..c95c446b4ba 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -1465,8 +1465,8 @@ @ stub SetVDMCurrentDirectories @ stdcall SetVolumeLabelA(str str) @ stdcall SetVolumeLabelW(wstr wstr) -@ stub SetVolumeMountPointA -@ stub SetVolumeMountPointW +@ stdcall SetVolumeMountPointA(str str) +@ stdcall SetVolumeMountPointW(wstr wstr) @ stdcall SetWaitableTimer(long ptr long ptr ptr long) @ stdcall SetWaitableTimerEx(long ptr long ptr ptr ptr long) # @ stub SetXStateFeaturesMask diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c index d3967649eb1..59eda44c62f 100644 --- a/dlls/kernel32/volume.c +++ b/dlls/kernel32/volume.c @@ -2167,3 +2167,23 @@ BOOL WINAPI DeleteVolumeMountPointW(LPCWSTR mountpoint) FIXME("(%s), stub!\n", debugstr_w(mountpoint)); return FALSE; } + +/*********************************************************************** + * SetVolumeMountPointA (KERNEL32.@) + */ +BOOL WINAPI SetVolumeMountPointA(LPCSTR path, LPCSTR volume) +{ + FIXME("(%s, %s), stub!\n", debugstr_a(path), debugstr_a(volume)); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + +/*********************************************************************** + * SetVolumeMountPointW (KERNEL32.@) + */ +BOOL WINAPI SetVolumeMountPointW(LPCWSTR path, LPCWSTR volume) +{ + FIXME("(%s, %s), stub!\n", debugstr_w(path), debugstr_w(volume)); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} diff --git a/include/winbase.h b/include/winbase.h index 0d8cede5929..1eb49b32c65 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -2407,7 +2407,7 @@ WINBASEAPI BOOL WINAPI SetVolumeLabelA(LPCSTR,LPCSTR); WINBASEAPI BOOL WINAPI SetVolumeLabelW(LPCWSTR,LPCWSTR); #define SetVolumeLabel WINELIB_NAME_AW(SetVolumeLabel) WINBASEAPI BOOL WINAPI SetVolumeMountPointA(LPCSTR,LPCSTR); -WINBASEAPI BOOL WINAPI SetVolumeMountPointW(LPCSTR,LPCSTR); +WINBASEAPI BOOL WINAPI SetVolumeMountPointW(LPCWSTR,LPCWSTR); #define SetVolumeMountPoint WINELIB_NAME_AW(SetVolumeMountPoint) WINBASEAPI BOOL WINAPI SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,LPVOID,BOOL); WINBASEAPI BOOL WINAPI SetWaitableTimerEx(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,LPVOID,REASON_CONTEXT*,ULONG);