About the sample minifilter MINISPY.

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.device_driver.dev (More info?)

Hi, all

Now, I'm studying about the minifilter driver with the IFS Development Kit.
I compare the filespy and minispy (both are stored at the IFS DK).
FileSpy is an legacy file system filter driver and minispy is a new
architecture for filter manager.
First, I build the FileSpy and install it ,see how it work.
The result is success and I can output the log of accessing files.

Next , I try to test the minispy.
The result of building is OK so I install it.
But when I execute the minispy.exe (usermode application), the error
appears...

Connecting to filter's port...
Could not connect to filter: 0x80070002

This error is generated by this command.

FilterConnectCommunicationPort(MINISPY_PORT_NAME,0,NULL,0,NULL,&port);

*The MINISPY_PORT_NAME is L"\\MiniSpyPort"

[Question]
Could you let me know what should I do to solve this error?

--
Macnica Networks Corp.
Application Tech. 2nd Sec.
Syota Shinogi
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.device_driver.dev (More info?)

I know why the minifilter was not loaded. It is necessary to use the "fltmc".
After install minispy driver, I did this command.

fltmc load minispy

And the minispy driver was loaded.
I have another question but I will ask you with another thread.
Thank you.
===================
Macnica Networks Corp.
Application Tech. 2nd Sec.
Syota Shinogi
===================


"Shinogi Syota" wrote:

> Hi, all
>
> Now, I'm studying about the minifilter driver with the IFS Development Kit.
> I compare the filespy and minispy (both are stored at the IFS DK).
> FileSpy is an legacy file system filter driver and minispy is a new
> architecture for filter manager.
> First, I build the FileSpy and install it ,see how it work.
> The result is success and I can output the log of accessing files.
>
> Next , I try to test the minispy.
> The result of building is OK so I install it.
> But when I execute the minispy.exe (usermode application), the error
> appears...
>
> Connecting to filter's port...
> Could not connect to filter: 0x80070002
>
> This error is generated by this command.
>
> FilterConnectCommunicationPort(MINISPY_PORT_NAME,0,NULL,0,NULL,&port);
>
> *The MINISPY_PORT_NAME is L"\\MiniSpyPort"
>
> [Question]
> Could you let me know what should I do to solve this error?
>
> --
> Macnica Networks Corp.
> Application Tech. 2nd Sec.
> Syota Shinogi
 

TRENDING THREADS