Improving Default Serial Port Configuration

Hans Leidekker hans at
Sun Jan 13 07:39:49 CST 2008

On Sunday 13 January 2008 06:19:06 Forrest Samuels wrote:

> Does anyone have any insight on where I should start looking to
> implement this? Implementation suggestions? In the bug, Juan Lang made
> the suggestion that "Explorer's hal.c should be extended to create new
> devices for all the ports it finds, using SetupDiCreateDeviceInfo
> followed by SetupDiRegisterDeviceInfo. For some devices it should also
> call SetupDiCreateDeviceInterface to register a particular interface."
> I've looked in programs/explorer/hal.c and I am not sure where to
> begin hooking something like that in.

I'd like to know where and when SetupDiRegisterDeviceInfo gets called on
Windows. I know that Alexandre is planning to move drive detection from
explorer to mountmgr.sys, serial devices will probably end up in serial.sys
or something like that. Perhaps this could work by making the driver itself
do device registration.


More information about the wine-devel mailing list