[usp10] Add stubbed support for ScriptGetFontProperties

Felix Nawothnig felix.nawothnig at t-online.de
Sun Jul 31 11:37:53 CDT 2005


Oliver Stieber wrote:
> +HRESULT WINAPI ScriptGetFontProperties(HDC hdc, SCRIPT_CACHE *psc, SCRIPT_FONTPROPERTIES *sfp) {
> +    FIXME("%p,%p,%p\n", hdc, psc, sfp);
> +    /* return something sensible? */
> +    if (NULL != sfp) {
> +        sfp->cBytes        = sizeof(SCRIPT_FONTPROPERTIES);
> +        sfp->wgBlank       = 0;
> +        sfp->wgDefault     = 0;
> +        sfp->wgInvalid     = 0;
> +        sfp->wgKashida     = 1;
> +        sfp->iKashidaWidth = 0;
> +    }
> +
> +}

You forgot the return value...

Felix



More information about the wine-devel mailing list