[Bug 5824] mdac-2.8 installer fails on first run

Wine Bugs wine-bugs at winehq.org
Tue Apr 24 13:48:16 CDT 2007


------- Additional Comments From focht at gmx.net  2007-24-04 13:48 -------
Created an attachment (id=5925)
 --> (http://bugs.winehq.org/attachment.cgi?id=5925&action=view)
Verification of SetupQueryRegisteredOsComponent prototype/stub impl


the discussion regarding syssetup.dll.SetupQueryRegisteredOsComponent caught my
interest :)

Attached is an extended test case (originating from developer thread) which
contains the meaning of parameter/struct member data revealed (struct layout)
and a working implementation.
It could serve as sample for dozen other syssetup.dll api exports belonging to
this category (Register/Unregister/SetRegistered/Enumerate OS Setup

Both versions of this export (native windows and the impl) are compared against
each other to ensure the data returned is really at right place.

All struct member data is read from registry.
There is no magic involved (as implied in developer thread).
Only the "unused"/"reserved" fields at the tail of each struct gave me some
headache, but i came to conclusion it's just garbage from temporary stack copy
(see comments inside code).


Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the wine-bugs mailing list