Only if you are running in a thread context that has access to the file.
This would not normally be the case for the system process (or its threads)
for example.
If you do not have access, you will get back STATUS_ACCESS_DENIED.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Hope to see you at the next OSR file systems class October 7, 2002!
-----Original Message-----
From: gaoren [mailto:xxxxx@yahoo.ca]
Sent: Wednesday, May 22, 2002 1:30 PM
To: File Systems Developers
Subject: [ntfsd] Can ZwWriteFile() write to remote file:
\computer\folder\file??
Hi,
Can I use ZwWriteFile() in my FS filter driver to write to a remote file;
“\??\UNC\Computer\folder\file” ?
I am not sure. Because When I do it, always return a error.
Laura
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to %%email.unsub%%