Re: What is the driver API call to register a device
From: Steve Maillet \(eMVP\) (nospam1_at_EntelechyConsulting.com)
Date: 04/29/04
- Next message: Barry Bond: "Re: Misaligned accesses with MS ARM compiler"
- Previous message: Stephan Wolf: "Re: NDIS driver not loading. DLL_PREOCESS_DETACH called"
- In reply to: Dale Ziebarth: "Re: What is the driver API call to register a device"
- Next in thread: Dale Ziebarth: "Re: What is the driver API call to register a device"
- Reply: Dale Ziebarth: "Re: What is the driver API call to register a device"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Barry Bond: "Re: Misaligned accesses with MS ARM compiler"
- Previous message: Stephan Wolf: "Re: NDIS driver not loading. DLL_PREOCESS_DETACH called"
- In reply to: Dale Ziebarth: "Re: What is the driver API call to register a device"
- Next in thread: Dale Ziebarth: "Re: What is the driver API call to register a device"
- Reply: Dale Ziebarth: "Re: What is the driver API call to register a device"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|