user32: test what FindWindow when window isn't found
Austin English
austinenglish at gmail.com
Fri Aug 15 12:34:42 CDT 2008
On Thu, Aug 14, 2008 at 9:56 PM, Dmitry Timoshkov
<dmitry at codeweavers.com> wrote:
> "Austin English" <austinenglish at gmail.com> wrote:
>
>> This more what you have in mind?
>
> Almost. New code should be added around this piece of code:
>
> <add> SetLastError(0xdeadbeef);
> found = FindWindowExA( GetDesktopWindow(), 0, 0, "message window" );
> ok( found == 0, "found message window %p/%p\n", found, hwnd );
> <add> todo_wine
> <add> ok(GetLastError() == ERROR_FILE_NOT_FOUND,
> "ERROR_FILE_NOT_FOUND, got %d\n", GetLastError());
>
> --
> Dmitry.
>
New patch is attached. Thanks for the help Dmitry!
-Austin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-user32-find-out-what-FindWindow-does-when-a-window-is.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080815/26fec3e5/attachment.txt
More information about the wine-patches
mailing list