kernel32: Fix parameters checking for GetVolumePathName()

Alexandre Julliard julliard at winehq.org
Wed Jul 31 12:24:05 CDT 2013


Bruno Jesus <00cpxxx at gmail.com> writes:

> @@ -1813,6 +1821,8 @@ BOOL WINAPI GetVolumePathNameW(LPCWSTR filename, LPWSTR volumepathname, DWORD bu
>          volumepathname[3] = 0;
>          return TRUE;
>      }
> +
> +    SetLastError(ERROR_FILENAME_EXCED_RANGE);
>      return FALSE;

This doesn't really make sense as a general error.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list