kernel32: Add SetVolumeMountPointA/W stubs.

This commit is contained in:
Austin English 2015-02-11 02:38:03 -06:00 committed by Alexandre Julliard
parent 2d18cf57ac
commit 295f194804
3 changed files with 23 additions and 3 deletions

View File

@ -1465,8 +1465,8 @@
@ stub SetVDMCurrentDirectories @ stub SetVDMCurrentDirectories
@ stdcall SetVolumeLabelA(str str) @ stdcall SetVolumeLabelA(str str)
@ stdcall SetVolumeLabelW(wstr wstr) @ stdcall SetVolumeLabelW(wstr wstr)
@ stub SetVolumeMountPointA @ stdcall SetVolumeMountPointA(str str)
@ stub SetVolumeMountPointW @ stdcall SetVolumeMountPointW(wstr wstr)
@ stdcall SetWaitableTimer(long ptr long ptr ptr long) @ stdcall SetWaitableTimer(long ptr long ptr ptr long)
@ stdcall SetWaitableTimerEx(long ptr long ptr ptr ptr long) @ stdcall SetWaitableTimerEx(long ptr long ptr ptr ptr long)
# @ stub SetXStateFeaturesMask # @ stub SetXStateFeaturesMask

View File

@ -2167,3 +2167,23 @@ BOOL WINAPI DeleteVolumeMountPointW(LPCWSTR mountpoint)
FIXME("(%s), stub!\n", debugstr_w(mountpoint)); FIXME("(%s), stub!\n", debugstr_w(mountpoint));
return FALSE; 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;
}

View File

@ -2407,7 +2407,7 @@ WINBASEAPI BOOL WINAPI SetVolumeLabelA(LPCSTR,LPCSTR);
WINBASEAPI BOOL WINAPI SetVolumeLabelW(LPCWSTR,LPCWSTR); WINBASEAPI BOOL WINAPI SetVolumeLabelW(LPCWSTR,LPCWSTR);
#define SetVolumeLabel WINELIB_NAME_AW(SetVolumeLabel) #define SetVolumeLabel WINELIB_NAME_AW(SetVolumeLabel)
WINBASEAPI BOOL WINAPI SetVolumeMountPointA(LPCSTR,LPCSTR); WINBASEAPI BOOL WINAPI SetVolumeMountPointA(LPCSTR,LPCSTR);
WINBASEAPI BOOL WINAPI SetVolumeMountPointW(LPCSTR,LPCSTR); WINBASEAPI BOOL WINAPI SetVolumeMountPointW(LPCWSTR,LPCWSTR);
#define SetVolumeMountPoint WINELIB_NAME_AW(SetVolumeMountPoint) #define SetVolumeMountPoint WINELIB_NAME_AW(SetVolumeMountPoint)
WINBASEAPI BOOL WINAPI SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,LPVOID,BOOL); 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); WINBASEAPI BOOL WINAPI SetWaitableTimerEx(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,LPVOID,REASON_CONTEXT*,ULONG);