http://bugs.winehq.org/show_bug.cgi?id=8241
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #22 from Vincent Povirk madewokherd@gmail.com 2009-05-19 16:07:46 --- I think the issue with tests in this case is that GlobalFlags is (according to MSDN) NT only. There are plenty of examples where we test functions that are not available on all systems.
You need to use GetProcAddress to get the address of the function. If the result is not NULL, you should test the function, otherwise call win_skip (indicating the tests are OK to skip on Windows but not on Wine).
The test in dlls/setupapi/tests/misc.c for SetupQueryInfOriginalFileInformationA is a good example.
Also, see http://www.winehq.org/sending_patches for the proper method of sending patches to Wine.