Re: What is the driver API call to register a device

From: Steve Maillet \(eMVP\) (nospam1_at_EntelechyConsulting.com)
Date: 04/29/04


Date: Thu, 29 Apr 2004 14:59:46 -0400

Umm, well yes that makes sense. You can't create the drivers load registry
entries at the same time you activate it. The registry entries provided to
ActivateDevice are for the devices "Active" key. The "Active" key is
essentially per instance device information the loading process provides to
the driver. A typical use of this would be for the PCMCIA bus driver to
place socket and function info in the active key so the driver can have that
information available to initialize the PCMCIA bus access for the device.
Another example is an IRQ and or SYSINTR value allocated for the driver by a
bus enumerator like the PCI bus.

So you need to add the devices key manually with the normal registry APIs
instead of with the ActivateDeviceEx() call.

-- 
Steve Maillet (eMVP)
EmbeddedFusion
smaillet_AT_EmbeddedFusion_DOT_com


Relevant Pages

  • IRC Packets being generated. Dont know where from...
    ... *Registry value not found* ... Autorun entries from Registry: ... Enumerating ICQ Agent Autostart apps: ... RAS Asynchronous Media Driver: System32\DRIVERS\asyncmac.sys (manual ...
    (microsoft.public.security.virus)
  • hijack this startup - can someone tell me the hack i am experienci
    ... *Registry value not found* ... Enumerating ICQ Agent Autostart apps: ... Intel82801 Audio Driver Install Service: ... Application Management: %SystemRoot%\system32\svchost.exe -k netsvcs (manual ...
    (microsoft.public.windowsxp.security_admin)
  • Re: BSOD Error 0x000000B8
    ... *Registry value not found* ... Enumerating ICQ Agent Autostart apps: ... ADI UAA Function Driver for High Definition Audio Service: ... Application Management: %SystemRoot%\system32\svchost.exe -k netsvcs ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: hijack this startup - can someone tell me the hack i am experienci
    ... | *Registry key not found* ... | *Registry value not found* ... | Autorun entries from Registry: ... | Intel82801 Audio Driver Install Service: ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Ho to run CF driver before reading hive-based registry
    ... BOOT SECTION": ... so I had to rewrite the driver for it. ... The problem is now the hive-based registry. ... FileSystem Starting - starting with clean file system ...
    (microsoft.public.windowsce.platbuilder)