| Author |
Message |
Vic.Dong
Guest
|
Posted:
Sat Jul 31, 2004 3:35 pm Post subject:
about redirect to read from and write to a specific file |
|
|
Hollo All:
I had writed a File System Filter Driver based on hooking one specific
logic volume device. I want to redirect for reading from and writting to
some files within one same that logic volume device has been hooked.
Example: I had hooked a logic volume device : "D:\"
When application or user program read or write these files in
volume hooked "D:\1.dat", then I want to return data from Read option by
other file in different location---- "E:\1.dat". So I handle a lot of IRP
request and some FastIoDispach, but when application opened this file, it
always appears a message box that means --- "Not enough memory available to
complete this operation. Quit one or more applications to increase available
memory, and then try again." And returns nothing data.
Now I dont understand this reason cause this notice event. Maybe some IRP
and FastIoDispach request handles is incorrect or others request was not
handled.
Please help me.
Best Regards.
Vic |
|
| Back to top |
|
 |
Vic.Dong
Guest
|
Posted:
Sat Jul 31, 2004 3:35 pm Post subject:
Re: about redirect to read from and write to a specific file |
|
|
Hello All:
Sorry! That file name has opened was not "D:\1.dat", the correct file name
was "D:\1.txt", the file name redirected was "E:\1.txt", and application is
windows explorer.
My platform is Win2K (Pro) + SP4.
Please Help Me!!!!!!!!!!!!!!!!!!!
Best Reguards
Vic
"Vic.Dong" <god_88@163.com> дÈëÓʼþ
news:ODqaoKXcEHA.1652@TK2MSFTNGP09.phx.gbl...
| Quote: | Hollo All:
I had writed a File System Filter Driver based on hooking one specific
logic volume device. I want to redirect for reading from and writting to
some files within one same that logic volume device has been hooked.
Example: I had hooked a logic volume device : "D:\"
When application or user program read or write these files in
volume hooked "D:\1.dat", then I want to return data from Read option by
other file in different location---- "E:\1.dat". So I handle a lot of IRP
request and some FastIoDispach, but when application opened this file, it
always appears a message box that means --- "Not enough memory available
to
complete this operation. Quit one or more applications to increase
available
memory, and then try again." And returns nothing data.
Now I dont understand this reason cause this notice event. Maybe some IRP
and FastIoDispach request handles is incorrect or others request was not
handled.
Please help me.
Best Regards.
Vic
|
|
|
| Back to top |
|
 |
KeithHa [MSFT]
Guest
|
Posted:
Fri Sep 10, 2004 8:24 pm Post subject:
Re: about redirect to read from and write to a specific file |
|
|
If I understand what you are trying to do, there is a feature in Windows
called Mount Points to do this.
--
Keith Hageman
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.
"Vic.Dong" <god_88@163.com> wrote in message
news:%23MS4m4fcEHA.2812@TK2MSFTNGP11.phx.gbl...
| Quote: | Hello All:
Sorry! That file name has opened was not "D:\1.dat", the correct file name
was "D:\1.txt", the file name redirected was "E:\1.txt", and application
is
windows explorer.
My platform is Win2K (Pro) + SP4.
Please Help Me!!!!!!!!!!!!!!!!!!!
Best Reguards
Vic
"Vic.Dong" <god_88@163.com> дÈëÓʼþ
news:ODqaoKXcEHA.1652@TK2MSFTNGP09.phx.gbl...
Hollo All:
I had writed a File System Filter Driver based on hooking one specific
logic volume device. I want to redirect for reading from and writting to
some files within one same that logic volume device has been hooked.
Example: I had hooked a logic volume device : "D:\"
When application or user program read or write these files in
volume hooked "D:\1.dat", then I want to return data from Read option by
other file in different location---- "E:\1.dat". So I handle a lot of IRP
request and some FastIoDispach, but when application opened this file, it
always appears a message box that means --- "Not enough memory available
to
complete this operation. Quit one or more applications to increase
available
memory, and then try again." And returns nothing data.
Now I dont understand this reason cause this notice event. Maybe some
IRP
and FastIoDispach request handles is incorrect or others request was not
handled.
Please help me.
Best Regards.
Vic
|
|
|
| Back to top |
|
 |
|
|
|
|