[oleaut32/tests #1] Use GetModuleHandle and check only once for availability of some functions

Paul Vriens paul.vriens.wine at gmail.com
Fri Aug 17 04:16:13 CDT 2007


Hi,

We don't need to call LoadLibrary as oleaut32 is already imported.

I've changed some of the macro's into a onetime setting. In the old code we were
doing about 80 GetProcAddress calls, and we need more to skip some tests on 
win98/NT4/W2K.

I've removed HAVE_OLEAUT32_CY as it wasn't used.

Changelog
   Use GetModuleHandle and check only once for availability of some functions

Cheers,

Paul.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Use-GetModuleHandle-and-check-only-once-for-availabi.patch
Type: text/x-patch
Size: 2400 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070817/34079998/0006-Use-GetModuleHandle-and-check-only-once-for-availabi.bin


More information about the wine-patches mailing list