implementing DllCanUnloadNow questions

Mike Hearn mh at
Wed Dec 1 08:42:14 CST 2004

On Tue, 30 Nov 2004 18:33:20 -0500, James Hawkins wrote:
> Is _Construct the same as _AddRef()?  I'm thinking it's not.  If it
> isn't, I need to add a MSI_Construct to msi.  What are the parameters
> to the Construct function and what would usually go in the place of
> the "..."?

It's just the function that creates the object. There are no real source
conventions in Wine unfortunately so it could be called anything.

Look for a function that HeapAllocs a struct then sets its ->refcount
member to 1 (may not be called ->refcount of course).

thanks -mike

More information about the wine-devel mailing list