[PATCH] kernel32: Better stubs for SetVolumeMountPoint.

Alexandre Julliard julliard at winehq.org
Mon Nov 5 14:09:22 CST 2012


Johannes Obermayr <johannesobermayr at gmx.de> writes:

> +    /* Abort if already mounted */
> +    if (GetVolumeNameForVolumeMountPointW(path, (LPWSTR)volume, MAX_PATH))
> +    {

You can't do that.

> +/************************************************************************
> + *           SetVolumeMountPointA   (KERNEL32.@)
> + */
> +BOOL WINAPI SetVolumeMountPointA(LPCSTR path, LPCSTR volume)
> +{
> +    FIXME("(%s, %s), stub!\n", debugstr_a(path), debugstr_a(volume));
> +
> +    return FALSE;
> +}

Please implement this by calling the W function.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list