Registry-entry for Windows-NT

Hello everybody
I’m writing a driver for Windows NT and wants to insert above ‘Disk Driver’
and I hav make the Registry entry for the ‘service’ but I’m not getting
where to make the entry in ‘Registry’ for loading the driver, So if anyone
of you can tell me about this, it would be very helpful.
Thanks.
Anuj Agarwal

Study diskperf code and registry values, you will get the stuff you need.

If you are intending to implement a class upper filter driver you need to
add your driver to the UpperFilters entry for the disk class. See the
diskperf sample in the ddk.

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anuj Agarwal
Sent: Monday, October 03, 2005 6:11 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registry-entry for Windows-NT

Hello everybody
I’m writing a driver for Windows NT and wants to insert above ‘Disk Driver’
and I hav make the Registry entry for the ‘service’ but I’m not getting
where to make the entry in ‘Registry’ for loading the driver, So if anyone
of you can tell me about this, it would be very helpful.
Thanks.
Anuj Agarwal
— Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed to
ntdev as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank email
to xxxxx@lists.osr.com

> you need to add your driver to the UpperFilters entry for the disk class.
Mark,
Anuj is asking about WinNT4, and there is no disk class registry entry on NT4, that’s the problem.

(I mean the … 967… one, on NT4SP6A “Class” starts from …968…, as in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E968-E325-11CE-BFC1-08002BE10318}

which is “Display Adadpters”)

Looks like you have to do it manually…

Regards,
Alex Shvedov

----- Original Message -----
From: Mark Roddy
To: Windows System Software Devs Interest List
Sent: Monday, October 03, 2005 7:49 AM
Subject: RE: [ntdev] Registry-entry for Windows-NT

If you are intending to implement a class upper filter driver you need to add your driver to the UpperFilters entry for the disk class. See the diskperf sample in the ddk.

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Anuj Agarwal
Sent: Monday, October 03, 2005 6:11 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registry-entry for Windows-NT

Hello everybody
I’m writing a driver for Windows NT and wants to insert above ‘Disk Driver’ and I hav make the Registry entry for the ‘service’ but I’m not getting where to make the entry in ‘Registry’ for loading the driver, So if anyone of you can tell me about this, it would be very helpful.
Thanks.
Anuj Agarwal
— Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Actually the same general advice applies: see the diskperf example, only
this would be the NT4DDK diskperf.


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@Home
Sent: Monday, October 03, 2005 12:27 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Registry-entry for Windows-NT

you need to add your driver to the UpperFilters entry for the disk
class.

Mark,

Anuj is asking about WinNT4, and there is no disk class registry entry
on NT4, that’s the problem.

(I mean the … 967… one, on NT4SP6A “Class” starts from …968…, as
in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E968-E325
-11CE-BFC1-08002BE10318}

which is “Display Adadpters”)

Looks like you have to do it manually…

Regards,

Alex Shvedov

----- Original Message -----

From: Mark Roddy mailto:xxxxx

To: Windows System Software Devs Interest List
mailto:xxxxx

Sent: Monday, October 03, 2005 7:49 AM

Subject: RE: [ntdev] Registry-entry for Windows-NT

If you are intending to implement a class upper filter driver
you need to add your driver to the UpperFilters entry for the disk
class. See the diskperf sample in the ddk.

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com

________________________________

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anuj Agarwal
Sent: Monday, October 03, 2005 6:11 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registry-entry for Windows-NT

Hello everybody

I’m writing a driver for Windows NT and wants to insert
above ‘Disk Driver’ and I hav make the Registry entry for the ‘service’
but I’m not getting where to make the entry in ‘Registry’ for loading
the driver, So if anyone of you can tell me about this, it would be very
helpful.

Thanks.

Anuj Agarwal

— Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: unknown lmsubst tag argument: ‘’ To unsubscribe send a
blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
To unsubscribe send a blank email to
xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com</mailto:xxxxx></mailto:xxxxx>

Thanks EveryOne.
Alex you are exactly right that there is no registry entry for disk class
and I also made the manual entry but its not working.
Actually I made the entry in class {71A27CDD-812A-11D0-BEC7-08002BE2092F}
for Win-2K for the same type of driver and made the entry fr UpperFilters
and it worked perfectly there but on NT its not working, all services are
working good enough but driver is not working so can you please tell me what
exactly can be the problem and which class is similar to the one in 2K.
Thanks.
Anuj Agarwal

On 10/3/05, xxxxx@Home wrote:
>
> > you need to add your driver to the UpperFilters entry for the disk
> class.
> Mark,
> Anuj is asking about WinNT4, and there is no disk class registry entry on
> NT4, that’s the problem.
> (I mean the … 967… one, on NT4SP6A “Class” starts from …968…, as
> in
>
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E968-E325-11CE-BFC1-08002BE10318}
> which is “Display Adadpters”)
> Looks like you have to do it manually…
> Regards,
> Alex Shvedov
>
> ----- Original Message -----
> From: Mark Roddy
> To: Windows System Software Devs Interest List
> Sent: Monday, October 03, 2005 7:49 AM
> Subject: RE: [ntdev] Registry-entry for Windows-NT
>
> If you are intending to implement a class upper filter driver you need to
> add your driver to the UpperFilters entry for the disk class. See the
> diskperf sample in the ddk.
>
> =====================
> Mark Roddy DDK MVP
> Windows 2003/XP/2000 Consulting
> Hollis Technology Solutions 603-321-1032
> www.hollistech.com http:</http:>
>
> ------------------------------
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *Anuj Agarwal
> Sent: Monday, October 03, 2005 6:11 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Registry-entry for Windows-NT
>
> Hello everybody
> I’m writing a driver for Windows NT and wants to insert above ‘Disk
> Driver’ and I hav make the Registry entry for the ‘service’ but I’m not
> getting where to make the entry in ‘Registry’ for loading the driver, So if
> anyone of you can tell me about this, it would be very helpful.
> Thanks.
> Anuj Agarwal
> — Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256 You are currently subscribed
> to ntdev as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank
> email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
>
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Anuj,

I really like Mark’s last advice: no such class? ok, look into DDK, but this time into the NT4 DDK.

which class is similar to the one in 2K
No such thing as “similar”.
The whole mechanics in NT4 case is different: you have to do it MANUALLY.

Dust off your NT4 DDK CD circa 1999 AD and check diskperf.c, you may want to look at

VOID
DiskPerfInitialize(
IN PDRIVER_OBJECT DriverObject,
IN PVOID NextDisk,
IN ULONG Count
)

/*++

Routine Description:

Attach to new disk devices and partitions.
Set up device objects for counts and times.
If this is the first time this routine is called,
then register with the IO system to be called
after all other disk device drivers have initiated.

Do you see this? They have to do the dirty part themselves this time.

Regards,
Alex Shvedov

----- Original Message -----
From: Anuj Agarwal
To: Windows System Software Devs Interest List
Sent: Wednesday, October 05, 2005 6:51 AM
Subject: Re: [ntdev] Registry-entry for Windows-NT

Thanks EveryOne.
Alex you are exactly right that there is no registry entry for disk class and I also made the manual entry but its not working.
Actually I made the entry in class {71A27CDD-812A-11D0-BEC7-08002BE2092F} for Win-2K for the same type of driver and made the entry fr UpperFilters and it worked perfectly there but on NT its not working, all services are working good enough but driver is not working so can you please tell me what exactly can be the problem and which class is similar to the one in 2K.
Thanks.
Anuj Agarwal

On 10/3/05, xxxxx@Home wrote:
> you need to add your driver to the UpperFilters entry for the disk class.
Mark,
Anuj is asking about WinNT4, and there is no disk class registry entry on NT4, that’s the problem.

(I mean the … 967… one, on NT4SP6A “Class” starts from …968…, as in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E968-E325-11CE-BFC1-08002BE10318}

which is “Display Adadpters”)

Looks like you have to do it manually…

Regards,
Alex Shvedov

----- Original Message -----
From: Mark Roddy
To: Windows System Software Devs Interest List
Sent: Monday, October 03, 2005 7:49 AM
Subject: RE: [ntdev] Registry-entry for Windows-NT

If you are intending to implement a class upper filter driver you need to add your driver to the UpperFilters entry for the disk class. See the diskperf sample in the ddk.

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com

------------------------------------------------------------------------
From: xxxxx@lists.osr.com [mailto: xxxxx@lists.osr.com] On Behalf Of Anuj Agarwal
Sent: Monday, October 03, 2005 6:11 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Registry-entry for Windows-NT

Hello everybody
I’m writing a driver for Windows NT and wants to insert above ‘Disk Driver’ and I hav make the Registry entry for the ‘service’ but I’m not getting where to make the entry in ‘Registry’ for loading the driver, So if anyone of you can tell me about this, it would be very helpful.
Thanks.
Anuj Agarwal
— Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

— Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’ To unsubscribe send a blank email to xxxxx@lists.osr.com