19 Sep
2011
19 Sep
'11
1 p.m.
Francois Gouget <fgouget(a)codeweavers.com> writes:
@@ -3587,7 +3588,15 @@ static const IImageListVtbl ImageListImpl_Vtbl = {
static inline BOOL is_valid(HIMAGELIST himl) { - return himl && himl->lpVtbl == &ImageListImpl_Vtbl; + __TRY + { + return himl && himl->lpVtbl == &ImageListImpl_Vtbl; + } + __EXCEPT_PAGE_FAULT + { + return FALSE; + } + __ENDTRY
You can't return from a __TRY block. -- Alexandre Julliard julliard(a)winehq.org