Re: What determine COM port number?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Walter Oney (waltoney_at_oneysoft.com)
Date: 02/20/04


Date: Fri, 20 Feb 2004 10:57:12 -0500

siedem wrote:
> but how to do it programatically? for 2k++, my question is: how to
> programtically check
> on what port number my drivers will install?
> I found a placy in registry
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\COM Name Arbiter
> and field ComDB. What is it for?

I think you can write a coinstaller DLL that will do this. IIRC, you
have to do your work after the install happens, but your new port number
won't take effect until the next time the driver actually starts.

--
Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Check out our schedule at http://www.oneysoft.com


Relevant Pages

  • Re: Clustered printing issue
    ... tcp/ip port. ... accessible unless you install the printer driver. ... printers restored via the print migrator tool. ...
    (microsoft.public.windows.server.clustering)
  • Re: KMDF Fakemodem not working
    ... I'm using the `Windows Vista and Windows Server Longhorn x86 Checked Build ... install the fakemodem with devcon: ... INf in the sample should tell you how to use devcon to install the driver. ... Why do I need to choose a COM port? ...
    (microsoft.public.development.device.drivers)
  • KMDF Fakemodem not working
    ... I'm trying to develop my first device driver but have some problems getting ... I succeeded to install the WDM version on a Win 2003 Server x86 using the ... I had to disable a real modem driver, ... Why do I need to choose a COM port? ...
    (microsoft.public.development.device.drivers)
  • Re: NDIS WDM driver installation for multi-port NIC
    ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... miniport's inf and to install the miniport driver. ... the miniport driver (the bus driver starts up fine). ... identify the particular port you are communicating with. ...
    (microsoft.public.development.device.drivers)
  • Re: Found, a new rootkit
    ... Your MS-DOS box is no more secure ... machine has a device driver for that device, ... to the serial port. ... So if I install a modem on it, ...
    (Fedora)