how to load NT driver?

Hi everybody
I’m writing a driver for WindowsNT but i’m not able to load that during
boot-up time as there is no class available in WindowsNT to load a filter
driver as it is available in Win2K {4D36E967-E325-11CE-BFC1-08002BE10318},
So can anyone please let me know what could be the exact solution for this
and can it be invoked through the service if then how and how the
DriverEntry() function would behave in that case.
Thanking You.
Anuj Agarwal

Is it a WDM filter? Or a filesystem filter?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Anuj Agarwal”
To: “Windows System Software Devs Interest List”
Sent: Friday, November 18, 2005 10:53 AM
Subject: [ntdev] how to load NT driver?

Hi everybody
I’m writing a driver for WindowsNT but i’m not able to load that during
boot-up time as there is no class available in WindowsNT to load a filter
driver as it is available in Win2K {4D36E967-E325-11CE-BFC1-08002BE10318},
So can anyone please let me know what could be the exact solution for this
and can it be invoked through the service if then how and how the
DriverEntry() function would behave in that case.
Thanking You.
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

Maxim Its a WDM filter driver only and not a FSD.

On 11/18/05, Maxim S. Shatskih wrote:
>
> Is it a WDM filter? Or a filesystem filter?
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Anuj Agarwal”
> To: “Windows System Software Devs Interest List”
> Sent: Friday, November 18, 2005 10:53 AM
> Subject: [ntdev] how to load NT driver?
>
>
> Hi everybody
> I’m writing a driver for WindowsNT but i’m not able to load that during
> boot-up time as there is no class available in WindowsNT to load a filter
> driver as it is available in Win2K {4D36E967-E325-11CE-BFC1-08002BE10318},
> So can anyone please let me know what could be the exact solution for this
> and can it be invoked through the service if then how and how the
> DriverEntry() function would behave in that case.
> Thanking You.
> 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: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

WDM filters have no class themselves, they are registered as filters for
some other class.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Anuj Agarwal”
To: “Windows System Software Devs Interest List”
Sent: Friday, November 18, 2005 12:21 PM
Subject: Re: [ntdev] how to load NT driver?

Maxim Its a WDM filter driver only and not a FSD.

On 11/18/05, Maxim S. Shatskih wrote:
>
> Is it a WDM filter? Or a filesystem filter?
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Anuj Agarwal”
> To: “Windows System Software Devs Interest List”
> Sent: Friday, November 18, 2005 10:53 AM
> Subject: [ntdev] how to load NT driver?
>
>
> Hi everybody
> I’m writing a driver for WindowsNT but i’m not able to load that during
> boot-up time as there is no class available in WindowsNT to load a filter
> driver as it is available in Win2K {4D36E967-E325-11CE-BFC1-08002BE10318},
> So can anyone please let me know what could be the exact solution for this
> and can it be invoked through the service if then how and how the
> DriverEntry() function would behave in that case.
> Thanking You.
> 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: xxxxx@gmail.com
> 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

Thats exactly right, as in 2K I have made same type of driver and registered
that in class {4D36E967-E325-11CE-BFC1-08002BE10318} and worked perfectly
but in NT 4 there’s no such class and I manually made entry of this class
but it also doesn’t work, So is there any other way to start the driver.
Thanks.
Anuj Agarwal

On 11/18/05, Maxim S. Shatskih wrote:
>
> WDM filters have no class themselves, they are registered as filters for
> some other class.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Anuj Agarwal”
> To: “Windows System Software Devs Interest List”
> Sent: Friday, November 18, 2005 12:21 PM
> Subject: Re: [ntdev] how to load NT driver?
>
>
> Maxim Its a WDM filter driver only and not a FSD.
>
> On 11/18/05, Maxim S. Shatskih wrote:
> >
> > Is it a WDM filter? Or a filesystem filter?
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> > ----- Original Message -----
> > From: “Anuj Agarwal”
> > To: “Windows System Software Devs Interest List”
> > Sent: Friday, November 18, 2005 10:53 AM
> > Subject: [ntdev] how to load NT driver?
> >
> >
> > Hi everybody
> > I’m writing a driver for WindowsNT but i’m not able to load that during
> > boot-up time as there is no class available in WindowsNT to load a
> filter
> > driver as it is available in Win2K
> {4D36E967-E325-11CE-BFC1-08002BE10318},
> > So can anyone please let me know what could be the exact solution for
> this
> > and can it be invoked through the service if then how and how the
> > DriverEntry() function would behave in that case.
> > Thanking You.
> > 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: xxxxx@gmail.com
> > 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: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

In NT4, there is no WDM at all, and no device class GUIDs. You must do
major rewrites to your driver to support NT4.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Anuj Agarwal”
To: “Windows System Software Devs Interest List”
Sent: Friday, November 18, 2005 4:50 PM
Subject: Re: [ntdev] how to load NT driver?

Thats exactly right, as in 2K I have made same type of driver and registered
that in class {4D36E967-E325-11CE-BFC1-08002BE10318} and worked perfectly
but in NT 4 there’s no such class and I manually made entry of this class
but it also doesn’t work, So is there any other way to start the driver.
Thanks.
Anuj Agarwal

On 11/18/05, Maxim S. Shatskih wrote:
>
> WDM filters have no class themselves, they are registered as filters for
> some other class.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Anuj Agarwal”
> To: “Windows System Software Devs Interest List”
> Sent: Friday, November 18, 2005 12:21 PM
> Subject: Re: [ntdev] how to load NT driver?
>
>
> Maxim Its a WDM filter driver only and not a FSD.
>
> On 11/18/05, Maxim S. Shatskih wrote:
> >
> > Is it a WDM filter? Or a filesystem filter?
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> > ----- Original Message -----
> > From: “Anuj Agarwal”
> > To: “Windows System Software Devs Interest List”
> > Sent: Friday, November 18, 2005 10:53 AM
> > Subject: [ntdev] how to load NT driver?
> >
> >
> > Hi everybody
> > I’m writing a driver for WindowsNT but i’m not able to load that during
> > boot-up time as there is no class available in WindowsNT to load a
> filter
> > driver as it is available in Win2K
> {4D36E967-E325-11CE-BFC1-08002BE10318},
> > So can anyone please let me know what could be the exact solution for
> this
> > and can it be invoked through the service if then how and how the
> > DriverEntry() function would behave in that case.
> > Thanking You.
> > 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: xxxxx@gmail.com
> > 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: xxxxx@gmail.com
> 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

Maxim Thanks for the help and I’ll try to write the necessary routines and
it would be very helpful if you can provide me some links where I could get
some good stuff regarding NT4.
Thanks.
Anuj Agarwal

On 11/18/05, Maxim S. Shatskih wrote:
>
> In NT4, there is no WDM at all, and no device class GUIDs. You must do
> major rewrites to your driver to support NT4.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Anuj Agarwal”
> To: “Windows System Software Devs Interest List”
> Sent: Friday, November 18, 2005 4:50 PM
> Subject: Re: [ntdev] how to load NT driver?
>
>
> Thats exactly right, as in 2K I have made same type of driver and
> registered
> that in class {4D36E967-E325-11CE-BFC1-08002BE10318} and worked perfectly
> but in NT 4 there’s no such class and I manually made entry of this class
> but it also doesn’t work, So is there any other way to start the driver.
> Thanks.
> Anuj Agarwal
>
>
> On 11/18/05, Maxim S. Shatskih wrote:
> >
> > WDM filters have no class themselves, they are registered as filters for
> > some other class.
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> > ----- Original Message -----
> > From: “Anuj Agarwal”
> > To: “Windows System Software Devs Interest List”
> > Sent: Friday, November 18, 2005 12:21 PM
> > Subject: Re: [ntdev] how to load NT driver?
> >
> >
> > Maxim Its a WDM filter driver only and not a FSD.
> >
> > On 11/18/05, Maxim S. Shatskih wrote:
> > >
> > > Is it a WDM filter? Or a filesystem filter?
> > >
> > > Maxim Shatskih, Windows DDK MVP
> > > StorageCraft Corporation
> > > xxxxx@storagecraft.com
> > > http://www.storagecraft.com
> > >
> > > ----- Original Message -----
> > > From: “Anuj Agarwal”
> > > To: “Windows System Software Devs Interest List”
> > > Sent: Friday, November 18, 2005 10:53 AM
> > > Subject: [ntdev] how to load NT driver?
> > >
> > >
> > > Hi everybody
> > > I’m writing a driver for WindowsNT but i’m not able to load that
> during
> > > boot-up time as there is no class available in WindowsNT to load a
> > filter
> > > driver as it is available in Win2K
> > {4D36E967-E325-11CE-BFC1-08002BE10318},
> > > So can anyone please let me know what could be the exact solution for
> > this
> > > and can it be invoked through the service if then how and how the
> > > DriverEntry() function would behave in that case.
> > > Thanking You.
> > > 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: xxxxx@gmail.com
> > > 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: xxxxx@gmail.com
> > 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: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

I found Developing Windows NT Device Drivers: A Programmer’s Handbook by Edward N. Dekker, Joseph M. Newcomer, very good for NT drivers so I would be suggesting get hold of a copy of this book. Also NTDDK samples will be of good help.
All in all you need to scan the bus in driverentry routine yourself and do activity you are doing in AddDevice and StartDevice functions (means no PnP ;).

Regards,
Dev


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Anuj Agarwal
Sent: Friday, November 18, 2005 8:48 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] how to load NT driver?

Maxim Thanks for the help and I’ll try to write the necessary routines and it would be very helpful if you can provide me some links where I could get some good stuff regarding NT4.
?? Thanks.
Anuj Agarwal
On 11/18/05, Maxim S. Shatskih wrote:
???In NT4, there is no WDM at all, and no device class GUIDs. You must do
major rewrites to your driver to support NT4.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Anuj Agarwal”
To: “Windows System Software Devs Interest List”
Sent: Friday, November 18, 2005 4:50 PM
Subject: Re: [ntdev] how to load NT driver?

Thats exactly right, as in 2K I have made same type of driver and registered
that in class {4D36E967-E325-11CE-BFC1-08002BE10318} and worked perfectly
but in NT 4 there’s no such class and I manually made entry of this class
but it also doesn’t work, So is there any other way to start the driver.
Thanks.
Anuj Agarwal

On 11/18/05, Maxim S. Shatskih wrote:
>
> WDM filters have no class themselves, they are registered as filters for
> some other class.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Anuj Agarwal” < xxxxx@gmail.com>
> To: “Windows System Software Devs Interest List”
> Sent: Friday, November 18, 2005 12:21 PM
> Subject: Re: [ntdev] how to load NT driver?
>
>
> Maxim Its a WDM filter driver only and not a FSD.
>
> On 11/18/05, Maxim S. Shatskih wrote:
> >
> > Is it a WDM filter? Or a filesystem filter?
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> > ----- Original Message -----
> > From: “Anuj Agarwal” < xxxxx@gmail.com>
> > To: “Windows System Software Devs Interest List”
> > Sent: Friday, November 18, 2005 10:53 AM
> > Subject: [ntdev] how to load NT driver?
> >
> >
> > Hi everybody
> > I’m writing a driver for WindowsNT but i’m not able to load that during
> > boot-up time as there is no class available in WindowsNT to load a
> filter
> > driver as it is available in Win2K
> {4D36E967-E325-11CE-BFC1-08002BE10318},
> > So can anyone please let me know what could be the exact solution for
> this
> > and can it be invoked through the service if then how and how the
> > DriverEntry() function would behave in that case.
> > Thanking You.
> > 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: xxxxx@gmail.com
> > 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: xxxxx@gmail.com
> 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: xxxxx@gmail.com
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