you attach to the LANMAN Redirector device.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Patrick Lau
Sent: Thursday, August 03, 2000 3:46 AM
To: File Systems Developers
Subject: [ntfsd] Can my filter driver attach to \Device\Mup??
Hi all,
I am kinda a novice to the world of NT device driver so
please excuse my ignorance if I am asking stupid
questions.
I am trying to write a filter driver which redirect file requests
from one server to another server. For example, if someone want to
open file \server-A\share\file-A.txt , then I want to automatically
redirect
the request to server-B instead. What Target Device should I attach my
filter to?? I tried to get the device for \Device\Mup but it failed with
STATUS_SHARING_VIOLATION. What does that mean??
RtlInitUnicodeString(&deviceNameString, L"\Device\Mup");
status = IoGetDeviceObjectPointer(&deviceNameString,
STANDARD_RIGHTS_ALL,
&deviceExtension->TargetFileObject,
&deviceExtension->TargetDeviceObject);
Any help would be much appreciated!
Thanks,
Patrick
You are currently subscribed to ntfsd as: xxxxx@softhome.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)