[setupapi/tests] Any reason why we do a GetProcAddress for the functions?

Paul Vriens paul.vriens.wine at gmail.com
Tue Jul 31 02:07:10 CDT 2007


Is there any reason we do a GetProcAddress for the setupapi functions used in 
the setupapi tests? It look like they are exported properly on win95 until Vista.

Or is it just because the first patch for these tests did 
LoadLibrary/GetProcAddress so the rest followed?

Although most of the tests do a GetProcAddress, the result is actually never 
checked (neither in the init phase nor before calling a function).

(We also do a LoadLibrary where the library is already imported, so 
GetModuleHandle seems more appropriate anyway).




More information about the wine-devel mailing list