MPR patches

Hugh McMaster hugh.mcmaster at outlook.com
Wed Jul 27 06:40:20 CDT 2016


On Wednesday, 27 July 2016 6:40 AM, Pierre Schweitzer wrote:
 
> Is there any reason why the MPR patches are left abandoned? There are
> others awaiting in my queue...

> +    PWSTR name = strdupAtoW(lpName);
> +    if (!name)
> +        return ERROR_NOT_CONNECTED;
    
1. New code should use the WCHAR * style.

2. All three functions call WNetCancelConnection2W, but that function is a stub:

DWORD WINAPI WNetCancelConnection2W( LPCWSTR lpName, DWORD dwFlags, BOOL fForce )
{
    FIXME( "(%s, %08X, %d), stub\n", debugstr_w(lpName), dwFlags, fForce );

    return WN_SUCCESS;
}

3. Your mail has a StartCom Secure Digital Certificate attached. This has been mangled, as can be seen at the bottom of your patch: http://source.winehq.org/patches/data/124723

Hugh


More information about the wine-devel mailing list