How to replace the native disk class

I wanna implement a driver to capture some special disk drive and repalce the native disk class by my Own class.

I don’t know how PnP Mananger choice between my own class and native disk class.

My class inf is:

[Version]
Signature = “$HSSING$”
Class = DiskDrive
ClassGuid = {4D36E967-E325-11CE-BFC1-08002BE10318}
Provider = %HS%
DriverVer = 11/13/2008,1.22.3790.2358

inf£¨disk.inf£©£º

replace the hardwareID.

Date: Fri, 11 Jun 2010 22:58:30 -0400
From: xxxxx@huaweisymantec.com
To: xxxxx@lists.osr.com
Subject: [ntdev] How to replace the native disk class

I wanna implement a driver to capture some special disk drive and repalce the native disk class by my Own class.

I don’t know how PnP Mananger choice between my own class and native disk class.

My class inf is:

[Version]
Signature = “$HSSING$”
Class = DiskDrive
ClassGuid = {4D36E967-E325-11CE-BFC1-08002BE10318}
Provider = %HS%
DriverVer = 11/13/2008,1.22.3790.2358


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


SkyDriveµç×Ó»­²á£¬´øÄãÁìÂÔ¾«²ÊÕÕÆ¬£¬·ÖÏí¡°ÃÀ¡±Ê±¡°ÃÀ¡±¿Ì!
http://www.windowslive.cn/campaigns/e-magazine/ngmchina/?a=c

lewg, Thanks.

I can update the disk drive’s driver by my own, one by one. However, I don’t know how disk driver will encounter, or i don’t mean your tips. Thanks, again.

Maybe writing a filter is better?


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntdev…
>I wanna implement a driver to capture some special disk drive and repalce the native disk class by my Own class.
>
> I don’t know how PnP Mananger choice between my own class and native disk class.
>
>
> My class inf is:
>
> [Version]
> Signature = “$HSSING$”
> Class = DiskDrive
> ClassGuid = {4D36E967-E325-11CE-BFC1-08002BE10318}
> Provider = %HS%
> DriverVer = 11/13/2008,1.22.3790.2358
>
>

This seems like a very poor design choice. What is so different about your
‘special disks’ that requires replacing the disk class driver?

Mark Roddy

On Fri, Jun 11, 2010 at 10:58 PM, wrote:

> I wanna implement a driver to capture some special disk drive and repalce
> the native disk class by my Own class.
>
> I don’t know how PnP Mananger choice between my own class and native disk
> class.
>
>
> My class inf is:
>
> [Version]
> Signature = “$HSSING$”
> Class = DiskDrive
> ClassGuid = {4D36E967-E325-11CE-BFC1-08002BE10318}
> Provider = %HS%
> DriverVer = 11/13/2008,1.22.3790.2358
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

>However, I don’t know how disk driver will encounter, or i don’t mean your >tips. Thanks, again.
You need to have a bus driver which will create a Device Object of your disk class.

Igor Sharovar