[PATCH 1/3] user32: Added GetMenuBarInfo implementation

Alexandre Julliard julliard at winehq.org
Fri May 11 10:49:23 CDT 2012


Piotr Caban <piotr at 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
julliard at winehq.org



More information about the wine-devel mailing list