SCSI Miniport Driver

Hi All!

Can a SCSI Miniport Driver accesss the registry when it is loaded by the
OS? I have tried to find this information in the DDK, but failed to do
so.

thank you very much

Vu


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Yes, but you have to call the Zw*Key() functions yourself.

DDK Docs->Kernel-Mode Drivers->Reference->Part 1: Kernel-Mode Support
Routines->1.0 Summary of Kernel-Mode Support Routines->1.1 Initialization
and Unload->1.1.2 Registry

Phil

-----Original Message-----
From: xxxxx@ureach.com [mailto:xxxxx@ureach.com]
Sent: Thursday, August 16, 2001 5:00 PM
To: NT Developers Interest List
Subject: [ntdev] SCSI Miniport Driver

Hi All!

Can a SCSI Miniport Driver accesss the registry when it is loaded by the
OS? I have tried to find this information in the DDK, but failed to do
so.

thank you very much

Vu


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thank You very much Phil


Get your own “800” number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

---- On Fri, 17 Aug 2001, Barila, Phil (xxxxx@intel.com)
wrote:

Yes, but you have to call the Zw*Key() functions yourself.

DDK Docs->Kernel-Mode Drivers->Reference->Part 1: Kernel-Mode
Support
Routines->1.0 Summary of Kernel-Mode Support Routines->1.1
Initialization
and Unload->1.1.2 Registry

Phil

-----Original Message-----
From: xxxxx@ureach.com [mailto:xxxxx@ureach.com]
Sent: Thursday, August 16, 2001 5:00 PM
To: NT Developers Interest List
Subject: [ntdev] SCSI Miniport Driver

Hi All!

Can a SCSI Miniport Driver accesss the registry when it is
loaded by the

OS? I have tried to find this information in the DDK, but
failed to do
so.

thank you very much

Vu


You are currently subscribed to ntdev as:
xxxxx@intel.com
To unsubscribe send a blank email to leave-ntdev-
xxxxx@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@ureach.com
To unsubscribe send a blank email to leave-ntdev-
xxxxx@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

No. There are no exports in SCSIPORT that permit registry access. Your
FindAdapter function, however, gets a single text string from a registry
subkey of the
HKLM->CCS->service->YourSCSI->Parameters->Device->DriverParameters. You can
expect that string and parse it as you see fit.

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: xxxxx@ureach.com [mailto:xxxxx@ureach.com]
Sent: Thursday, August 16, 2001 5:00 PM
To: NT Developers Interest List
Subject: [ntdev] SCSI Miniport Driver

Hi All!

Can a SCSI Miniport Driver accesss the registry when it is loaded by the
OS? I have tried to find this information in the DDK, but failed to do
so.

thank you very much

Vu


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Reflect back on your C programming skills and I think you can come up with a
way to read the registry from a miniport driver. Think modules and include
files…

Jamey Kirby
StorageCraft, inc.
xxxxx@storagecraft.com
www.storagecraft.com

----- Original Message -----
From: “Gary Little”
To: “NT Developers Interest List”
Sent: Monday, August 20, 2001 8:27 AM
Subject: [ntdev] RE: SCSI Miniport Driver

> No. There are no exports in SCSIPORT that permit registry access. Your
> FindAdapter function, however, gets a single text string from a registry
> subkey of the
> HKLM->CCS->service->YourSCSI->Parameters->Device->DriverParameters. You
can
> expect that string and parse it as you see fit.
>
> Gary G. Little
> Staff Engineer
> Broadband Storage, Inc.
> xxxxx@broadstor.com
>
> -----Original Message-----
> From: xxxxx@ureach.com [mailto:xxxxx@ureach.com]
> Sent: Thursday, August 16, 2001 5:00 PM
> To: NT Developers Interest List
> Subject: [ntdev] SCSI Miniport Driver
>
> Hi All!
>
> Can a SCSI Miniport Driver accesss the registry when it is loaded by the
> OS? I have tried to find this information in the DDK, but failed to do
> so.
>
> thank you very much
>
> Vu
>
> —
> You are currently subscribed to ntdev as: xxxxx@broadstor.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

To be a little less obscure, an NT-specific miniport driver can use
libraries or object files that include ntddk.h or wdm.h rather than
miniport.h. So once you have decided to scrap windos compatibility, just
separate your NT functions from your scsiminiport functions in either
separate source files or (and this is preferable as it gives you a chance to
report back to windos,) a library and your driver files.

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Wednesday, August 15, 2001 7:46 PM
To: NT Developers Interest List
Subject: [ntdev] RE: SCSI Miniport Driver

Reflect back on your C programming skills and I think you can come up with a
way to read the registry from a miniport driver. Think modules and include
files…

Jamey Kirby
StorageCraft, inc.
xxxxx@storagecraft.com
www.storagecraft.com

----- Original Message -----
From: “Gary Little”
To: “NT Developers Interest List”
Sent: Monday, August 20, 2001 8:27 AM
Subject: [ntdev] RE: SCSI Miniport Driver

> No. There are no exports in SCSIPORT that permit registry access. Your
> FindAdapter function, however, gets a single text string from a
> registry subkey of the
> HKLM->CCS->service->YourSCSI->Parameters->Device->DriverParameters.
> HKLM->CCS->service->YourSCSI->Parameters->Device->You
can
> expect that string and parse it as you see fit.
>
> Gary G. Little
> Staff Engineer
> Broadband Storage, Inc.
> xxxxx@broadstor.com
>
> -----Original Message-----
> From: xxxxx@ureach.com [mailto:xxxxx@ureach.com]
> Sent: Thursday, August 16, 2001 5:00 PM
> To: NT Developers Interest List
> Subject: [ntdev] SCSI Miniport Driver
>
> Hi All!
>
> Can a SCSI Miniport Driver accesss the registry when it is loaded by
> the OS? I have tried to find this information in the DDK, but failed
> to do so.
>
> thank you very much
>
> Vu
>
> —
> You are currently subscribed to ntdev as: xxxxx@broadstor.com To
> unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com To
> unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com