kernel32: Add GetVolumeInformationByHandleW stub.
Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
582245b5c4
commit
ad6c781eb2
|
@ -49,7 +49,7 @@
|
|||
@ stdcall GetLongPathNameW(wstr long long) kernel32.GetLongPathNameW
|
||||
@ stdcall GetShortPathNameW(wstr ptr long) kernel32.GetShortPathNameW
|
||||
@ stdcall GetTempFileNameW(wstr wstr long ptr) kernel32.GetTempFileNameW
|
||||
@ stub GetVolumeInformationByHandleW
|
||||
@ stdcall GetVolumeInformationByHandleW(ptr ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationByHandleW
|
||||
@ stdcall GetVolumeInformationW(wstr ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationW
|
||||
@ stdcall GetVolumePathNameW(wstr ptr long) kernel32.GetVolumePathNameW
|
||||
@ stdcall LocalFileTimeToFileTime(ptr ptr) kernel32.LocalFileTimeToFileTime
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
@ stdcall GetShortPathNameW(wstr ptr long) kernel32.GetShortPathNameW
|
||||
@ stdcall GetTempFileNameW(wstr wstr long ptr) kernel32.GetTempFileNameW
|
||||
@ stdcall GetTempPathW(long ptr) kernel32.GetTempPathW
|
||||
@ stub GetVolumeInformationByHandleW
|
||||
@ stdcall GetVolumeInformationByHandleW(ptr ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationByHandleW
|
||||
@ stdcall GetVolumeInformationW(wstr ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationW
|
||||
@ stdcall GetVolumeNameForVolumeMountPointW(wstr ptr long) kernel32.GetVolumeNameForVolumeMountPointW
|
||||
@ stdcall GetVolumePathNameW(wstr ptr long) kernel32.GetVolumePathNameW
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
@ stdcall GetShortPathNameW(wstr ptr long) kernel32.GetShortPathNameW
|
||||
@ stdcall GetTempFileNameW(wstr wstr long ptr) kernel32.GetTempFileNameW
|
||||
@ stdcall GetTempPathW(long ptr) kernel32.GetTempPathW
|
||||
@ stub GetVolumeInformationByHandleW
|
||||
@ stdcall GetVolumeInformationByHandleW(ptr ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationByHandleW
|
||||
@ stdcall GetVolumeInformationW(wstr ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationW
|
||||
@ stdcall GetVolumeNameForVolumeMountPointW(wstr ptr long) kernel32.GetVolumeNameForVolumeMountPointW
|
||||
@ stdcall GetVolumePathNameW(wstr ptr long) kernel32.GetVolumePathNameW
|
||||
|
|
|
@ -877,7 +877,7 @@
|
|||
@ stdcall GetVersionExA(ptr)
|
||||
@ stdcall GetVersionExW(ptr)
|
||||
@ stdcall GetVolumeInformationA(str ptr long ptr ptr ptr ptr long)
|
||||
# @ stub GetVolumeInformationByHandleW
|
||||
@ stdcall GetVolumeInformationByHandleW(ptr ptr long ptr ptr ptr ptr long)
|
||||
@ stdcall GetVolumeInformationW(wstr ptr long ptr ptr ptr ptr long)
|
||||
@ stdcall GetVolumeNameForVolumeMountPointA(str ptr long)
|
||||
@ stdcall GetVolumeNameForVolumeMountPointW(wstr ptr long)
|
||||
|
|
|
@ -2309,3 +2309,25 @@ BOOL WINAPI SetVolumeMountPointW(LPCWSTR path, LPCWSTR volume)
|
|||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* GetVolumeInformationByHandleW (KERNEL32.@)
|
||||
*/
|
||||
BOOL WINAPI GetVolumeInformationByHandleW(HANDLE handle, WCHAR *volnamebuf, DWORD volnamesize, DWORD *volserial, DWORD *maxlength, DWORD *flags, WCHAR *fsnamebuf, DWORD fsnamesize)
|
||||
{
|
||||
FIXME("%p %p %d %p %p %p %p %d\n", handle, volnamebuf, volnamesize, volserial, maxlength, flags, fsnamebuf, fsnamesize);
|
||||
|
||||
if(volnamebuf && volnamesize)
|
||||
*volnamebuf = 0;
|
||||
if(volserial)
|
||||
*volserial = 0;
|
||||
if(maxlength)
|
||||
*maxlength = 0;
|
||||
if(flags)
|
||||
*flags = 0;
|
||||
if(fsnamebuf && fsnamesize)
|
||||
*fsnamebuf = 0;
|
||||
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -337,7 +337,7 @@
|
|||
@ stdcall GetVersion() kernel32.GetVersion
|
||||
@ stdcall GetVersionExA(ptr) kernel32.GetVersionExA
|
||||
@ stdcall GetVersionExW(ptr) kernel32.GetVersionExW
|
||||
@ stub GetVolumeInformationByHandleW
|
||||
@ stdcall GetVolumeInformationByHandleW(ptr ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationByHandleW
|
||||
@ stdcall GetVolumeInformationW(wstr ptr long ptr ptr ptr ptr long) kernel32.GetVolumeInformationW
|
||||
@ stdcall GetVolumePathNameW(wstr ptr long) kernel32.GetVolumePathNameW
|
||||
@ stdcall GetWindowsAccountDomainSid(ptr ptr ptr) advapi32.GetWindowsAccountDomainSid
|
||||
|
|
|
@ -2217,6 +2217,7 @@ WINBASEAPI BOOL WINAPI GetVersionExW(OSVERSIONINFOW*);
|
|||
WINBASEAPI BOOL WINAPI GetVolumeInformationA(LPCSTR,LPSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD);
|
||||
WINBASEAPI BOOL WINAPI GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD);
|
||||
#define GetVolumeInformation WINELIB_NAME_AW(GetVolumeInformation)
|
||||
WINBASEAPI BOOL WINAPI GetVolumeInformationByHandleW(HANDLE,WCHAR *,DWORD,DWORD *,DWORD *,DWORD *,WCHAR *,DWORD);
|
||||
WINBASEAPI BOOL WINAPI GetVolumeNameForVolumeMountPointA(LPCSTR,LPSTR,DWORD);
|
||||
WINBASEAPI BOOL WINAPI GetVolumeNameForVolumeMountPointW(LPCWSTR,LPWSTR,DWORD);
|
||||
#define GetVolumeNameForVolumeMountPoint WINELIB_NAME_AW(GetVolumeNameForVolumeMountPoint)
|
||||
|
|
Loading…
Reference in New Issue