Re: File System Filter Won't Load
- From: Mark Roddy <markr@xxxxxxxxxxxxxx>
- Date: Wed, 02 May 2007 07:39:51 -0400
On Tue, 1 May 2007 17:07:02 -0700, Dakota Ridge
<DakotaRidge@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
This is a mini filter driver? <<
Nope - full scale filter driver.
Well why? For new fs filter development you really should be using the
minifilter package. It is vastly simpler and will reduce your
development effort considerably.
Your inf file is messed up. Why is your service binary diskperf.sys?
How come you are not ServiceType 2? Why are you attempting to install
yourself as the upper filter of class
{B86DFF51-A31E-4BAC-B3CF-E8CFE75C9FC2}?
Here is a suggestion: start with filespy.inf. Replace all references
to filespy.sys with your driver SATAtrieve.sys. Get that to work. Then
whatever else it is that you think you are doing here, try adding that
functionality in.
What is in the rest of the inf file? <<
;*******************************************************************************
;
; SATAtrieve INF file
;
; Copyright (c) 2007
; by Chris Malcheski
; All Rights Reserved
;*******************************************************************************
;
; VERSION section
[Version]
Signature = "$CHICAGO$"
Class = ActivityMonitor
ClassGUID =
{B86DFF51-A31E-4BAC-B3CF-E8CFE75C9FC2}
Provider = %tas%
DriverVer = 04/30/2007,1.0.0.0
;*******************************************************************************
;
; DefaultInstall section
[DefaultInstall.NT]
CopyFiles = @SATAtrieve.sys
AddReg = ST.AddReg
;*******************************************************************************
;
; DestinationDirs section
[DestinationDirs]
DefaultDestDir = 12
;*******************************************************************************
;
; AddReg section
[ST.AddReg]
HKLM,
System\CurrentControlSet\Control\Class\{B86DFF51-A31E-4BAC-B3CF-E8CFE75C9FC2}, UpperFilters, 0x00010008, SATAtrieve
;*******************************************************************************
;
; Services section
[Default.NT.Services]
AddService = SATAtrieve, , SATAtrieve.Service.Install
;*******************************************************************************
;
; SATAtrieve.Services.Install section
[SATAtrieve.Service.Install]
DisplayName = %service_desc%
ServiceType = 1
StartType = 0
ErrorControl = 1
ServiceBinary = %12%\diskperf.sys
LoadOrderGroup = "FSFilter Activity Monitor"
[SourceDisksFiles]
diskperf.sys=1
;*******************************************************************************
;
; SourceDisksNames section
[SourceDisksNames]
1 = "SATAtrieve Installation"
;*******************************************************************************
;
; Strings section
[Strings]
tas = "Tensor ASM Software"
ServiceDesc = "SATAtrieve Filter Driver"
ServiceName = "SATAtrieve"
How are you installing the driver? <<
Per the WDK documentation: in Windows Explorer, right click the file and
click "Install" - not "FastInstall." Reboot. Nothing. Verified driver is
copied to \Windows\System32\Drivers, verified my driver is added to the
UpperFilters registry entry for the ActivityFilter class.
The exact same driver through the exact same .INF file loads perfectly, IF I
add it to the DiskDrive class.
Are you using fltmc to start/stop your driver? <<
I'm still fighting my way through the learning curve; very new at all this.
What is fltmc?
=====================
Mark Roddy DDK MVP
Windows Vista/2003/XP Consulting
Device and Filesystem Drivers
Broken Driver Code? Call us.
Hollis Technology Solutions 603-321-1032
www.hollistech.com
.
- Follow-Ups:
- Re: File System Filter Won't Load
- From: Dakota Ridge
- Re: File System Filter Won't Load
- References:
- Re: File System Filter Won't Load
- From: Mark Roddy
- Re: File System Filter Won't Load
- From: Dakota Ridge
- Re: File System Filter Won't Load
- Prev by Date: Re: Who can tell me where I can download the WDK?
- Next by Date: Re: Who can tell me where I can download the WDK?
- Previous by thread: Re: File System Filter Won't Load
- Next by thread: Re: File System Filter Won't Load
- Index(es):
Relevant Pages
|
Loading