Piotr Caban <pi...@codeweavers.com> writes:

> +    __TRY
> +    {
> +        mbi.cbSize = pmbi->cbSize;
> +        if (mbi.cbSize == sizeof(MENUBARINFO))
> +            memcpy(pmbi, &mbi, sizeof(MENUBARINFO));
> +    }
> +    __EXCEPT_PAGE_FAULT
> +    {
> +        SetLastError(ERROR_NOACCESS);
> +        return FALSE;
> +    }
> +    __ENDTRY

Do you really have an app that requires an exception handler?

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to