riched20: EM_AUTOURLDETECT/EM_GETAUTOURLDETECT implementation

Alexandre Julliard julliard at winehq.org
Wed Mar 1 03:45:53 CST 2006


Brandon Woodmansee <bwood at ucla.edu> writes:

> +  case EM_AUTOURLDETECT:
> +  {
> +    if (wParam==1) 
> +    {
> +        editor->AutoURLDetect_bEnable=1;
> +        return 0;
> +    }
> +	
> +    if (wParam==0)
> +    {
> +        editor->AutoURLDetect_bEnable=0;
> +	return 0;
> +    }
> +    return E_INVALIDARG;

E_INVALIDARG is a pretty strange return value for a window
procedure. Do you have a test case for that?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list