[1/3] user32/tests: Comment-out PostQuitMessage (causes tests skip)

sir-lexa sir-lexa at yandex.ru
Sun May 27 22:02:54 CDT 2012


While writing my own test I have found that PostQuitMessage in the middle of dialog testsuite makes some tests be skipped.
When I commented-out this call, tests number raised from 114 to 117 in the run report.
I have discovered this thing because of my own test was not executed while PostQuitMessage is there. (DialogBox() failed - and it's right on Windows too).
MSDN says: PostQuitMessage function:
Indicates to the system that a thread has made a request to terminate (quit). It is typically used in response to a WM_DESTROY message.
..the function simply indicates to the system that the thread is requesting to quit at some time in the future.
Well, I think there is nothing bad if we just comment it out.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-1-3-user32-tests-Comment-out-PostQuitMessage-causes-te.txt
Type: text/x-c
Size: 814 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120528/df3d5c6d/attachment-0001.bin>


More information about the wine-patches mailing list