How to Pass Parameters to a SCSI Miniport via the RegistryLast reviewed: August 3, 1995Article ID: Q133706 |
The information in this article applies to:
SUMMARYThis article describes how to pass information from the Windows NT registry to a SCSI miniport driver. The parameter string passed to the SCSI miniport is in the fourth parameter of the HwFindAdapter routine. This article refers to the following registry location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services MORE INFORMATIONThere are two formats that can be used to pass registry information to SCSI miniports. The first is used when a different parameter string must be passed to each HBA that the SCSI miniport supports. The second is used when the same parameter string should be passed to all the HBAs the SCSI miniport supports. The registry string described below will be passed in as the fourth parameter (the ArgumentString) in the SCSI miniport's HwScsiFindAdapter routine. The FD8XX driver in the Windows NT DDK shows an example of the parameter string being passed to the SCSI miniport. WARNING: Use extreme care when making changes to the Windows NT Registry. Improper changes can cause the system to become unbootable. Refer to the Windows NT DDK documentation for assistance on general registry changes.
Format One
MpName // SCSI miniport key name Parameters // key name Device0 // key name DriverParameter // value name REG_SZ // value data type Parm string for HBA-0 // parameter string Device1 DriverParameter REG_SZ Parm string for HBA-1 ... DeviceN DriverParameter REG_SZ Parm string for HBA-N Format Two
MpName // SCSI miniport key name Parameters // key name Device // key name DriverParameter // value name REG_SZ // value data type Parm string for all MpName HBA's // parameter stringThere are several methods to add the information to the registry:
|
Additional reference words: 3.51 parm
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |