[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [setupapi/tests] Any reason why we do a GetProcAddress for the
From:       Paul Vriens <paul.vriens.wine () gmail ! com>
Date:       2007-07-31 7:07:10
Message-ID: 46AEDF9E.20703 () gmail ! com
[Download RAW message or body]

Hi,

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).

Anyone?

Cheers,

Paul.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic