The information in this article applies to:
SUMMARYOne of the features of the SCSI miniport driver architecture is the ability to pass a user-defined parameter string to the miniport. Under Windows 95, a user can view and modify this string through the Settings property page for a SCSI adapter in the Device Manager. MORE INFORMATION
Scsiport.pdr actually looks in two different places in the registry for
user settings to pass to the miniport via the ArgumentString parameter of
the miniport's HwFindAdapter function. Each hardware device actually has
two different keys in the registry -- the software key and the hardware
key.
The \Root key indicates the device is a legacy (non-PnP) device, and the
\0000 is the instance number for the device. Similiarly, ISA PnP devices
would be found under the \ISAPNP key, PCI devices would be under the \PCI
key, etc. The hardware registry section for a device also contains an entry
that points to the software registry key for that device. For example, the
Adaptec adapter might have a Driver=SCSI\0000 value. This points to the
software key for the device, which would be found under the following key
in the registry:
The software key for a device has driver information, such as the devloader
for the device (*IOS in the case of SCSI adapters) and the driver for the
device.
Scsiport.pdr will look in both the software and hardware registry sections of a SCSI adapter to find a parameter string to pass to the SCSI miniport's HwFindAdapter function. The subkey it looks for is AdapterSettings. Scsiport will look first in the software section and then in the hardware section for a matching subkey. The hardware section is searched only if the software section does not have a match. NOTE: Users can create their own AdapterSettings parameter string using Device Manager by selecting Properties for the device, selecting the Settings propery page, and entering appropriate informaton into the Adapter Settings edit control. The entered adapter settings will be stored in the hardware registy key for the device. This implies that an AdapterSettings string created by a user can be overridden by an AdapterSettings entry in the hardware key. REFERENCESSCSI Miniport Driver Specification - Windows NT 3.51 DDK Additional query words: 4.00 AdapterSettings
Keywords : |
Last Reviewed: October 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |