"Steven Edwards" <steven_ed4153(a)yahoo.com> wrote:
I think winehq may still be interested in working with
us on it as Aric
Stewart is planning on adding support for mass stoage drivers "ipod usb
and frirewire" to Wine. We looked at using libusb to develop a common
interface that can be shared on Linux and ReactOS but he has had to
work on other things so it might be some time before more work is done.
The problem is that Wine needs to use an entirely different approach than
ReactOS. We cannot rely on libusb, our configuration manager apis need to
call to the user-mode-pnp-manager (umpnpmgr.dll) via RPC. Umpnpmgr.dll
communicates with ntoskrnl via NtPlugPlayControl and NtGetPlugPlayEvent. As
a short-term sollution we can retrieve some information from the registry
instead of calling umpnpmgr.
PS. It does work now via some really dirty hacks.
Which setupapi functions are needed for this hack?
I implemented:
- SetupDiBuildClassInfoList(ExW)
- SetupDiClassGuidsFromName(W/ExW)
- SetupDiClassNameFromGuid(W/ExW)
- SetupDiGetActualSectionToInstallW
- SetupDiGetClassDescription(W/ExW)
- SetupDiInstallClassW partially
- SetupDiOpenClassRegKey(ExW)
Regards,
Eric