Hello all,
I my design, I need a volume upper filter driver. I do not know hot to write a volume upper filter driver INF file which used to install the volume upper filter driver. From DDK, I got that in the [Version] field, I need to fill ‘Class’ and ‘ClassGUID’. I try to fill ‘Class’ as volume and ‘ClassGUID’ as {71a27cdd-812a-11d0-bec7-08002be2092f}. But when I install the driver using this INF file. System tell me that can not fine any hardware description infomation.
So, how to fill ‘Class’ and ‘ClassGUID’ field in INF file for a volume upper filter driver? How can I find a sample?
WinDDK\6000\src\storage\filters\diskperf\
Class = DiskDrive
ClassGUID = {4d36e967-e325-11ce-bfc1-08002be10318}
xxxxx@yahoo.com.cn wrote:
Hello all,
I my design, I need a volume upper filter driver. I do not know hot to write a volume upper filter driver INF file which used to install the volume upper filter driver. From DDK, I got that in the [Version] field, I need to fill ‘Class’ and ‘ClassGUID’. I try to fill ‘Class’ as volume and ‘ClassGUID’ as {71a27cdd-812a-11d0-bec7-08002be2092f}. But when I install the driver using this INF file. System tell me that can not fine any hardware description infomation.
So, how to fill ‘Class’ and ‘ClassGUID’ field in INF file for a volume upper filter driver? How can I find a sample?
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
Sorry I am very family with diskperf source code. Before I learn the source code, I want to that this driver is a volume upper filter or a disk upper filter?
Thanks
You can install driver using CreateService.
After CreateService, write registry
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{71A27CDD-812A-11D0-BEC7-08002BE2092F}”,
Add your driver’s name in “UpperFilters”
This method can be used for install DiskDrive filter driver, I think
it also can be used here.
It maybe need reboot.
On Nov 9, 2007 11:13 AM, wrote:
> Sorry I am very family with diskperf source code. Before I learn the source code, I want to that this driver is a volume upper filter or a disk upper filter?
>
> Thanks
>
>
> —
> 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
>
Use INF files to install filters under/over Microsoft drivers if you want your drivers to run on x64 Windows too. You would wish to sign these INFs/binaries.
Regards,
Ilya Faenson
I think that INF is not a must, since x64 signature can be embedded to the
binary.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntdev…
> Use INF files to install filters under/over Microsoft drivers if you want
your drivers to run on x64 Windows too. You would wish to sign these
INFs/binaries.
>
> Regards,
> Ilya Faenson
>
>
The embedded signature can be signed using your company’s certificates.
The WHQL’s signature is not necessary.
Just sign the sys file. You does’t need generate a catalog file and sign the
catalog file.
On Nov 10, 2007 5:11 AM, Maxim S. Shatskih wrote:
> I think that INF is not a must, since x64 signature can be embedded to
> the
> binary.
>
> –
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> wrote in message news:xxxxx@ntdev…
> > Use INF files to install filters under/over Microsoft drivers if you
> want
> your drivers to run on x64 Windows too. You would wish to sign these
> INFs/binaries.
> >
> > Regards,
> > Ilya Faenson
> >
> >
>
>
> —
> 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
>
–
Best regards,
Leo Jiang
MSN: xxxxx@live.com
http://www.shamuma.net/