Re: [PATCH 1/3] user32: Added GetMenuBarInfo implementation (try2)

2012-05-15 Thread Alexandre Julliard
Piotr Caban writes: > This patch serie is based on Andrew Eikum's and Rein Klazes's work. > --- > dlls/user32/menu.c | 94 > > 1 files changed, 87 insertions(+), 7 deletions(-) It doesn't work here: ../../../tools/runtest -q -P wine -M use

Re: [PATCH 1/3] user32: Added GetMenuBarInfo implementation

2012-05-12 Thread Piotr Caban
On 05/11/12 17:49, Alexandre Julliard wrote: Do you really have an app that requires an exception handler? No, I'll resend the patches without exception handling.

Re: [PATCH 1/3] user32: Added GetMenuBarInfo implementation

2012-05-11 Thread Alexandre Julliard
Piotr Caban writes: > +__TRY > +{ > +mbi.cbSize = pmbi->cbSize; > +if (mbi.cbSize == sizeof(MENUBARINFO)) > +memcpy(pmbi, &mbi, sizeof(MENUBARINFO)); > +} > +__EXCEPT_PAGE_FAULT > +{ > +SetLastError(ERROR_NOACCESS); > +return FALSE;