Open networkfile.

Hi, Develpers. Thank for nice informations.

I have a question.

In my driver, I want to open a file on network disk. I don’t understand
how to specify the file name.
For example:
In the application::: CreateFile( “\Foo-machine\pubicdir\Boo\Text.txt”,
… );
In the driver::: ZwCreateFile( ??? );

Tell me to file name.

Regards.

Try prefixing your unc path with \Device\LanmanRedirector

Marc

-----Original Message-----
From: sw-moct@hh.iij4u.or.jp [mailto:sw-moct@hh.iij4u.or.jp]
Sent: Wednesday, September 13, 2000 4:54 AM
To: File Systems Developers
Subject: [ntfsd] Open networkfile.

Hi, Develpers. Thank for nice informations.

I have a question.

In my driver, I want to open a file on network disk. I don’t
understand
how to specify the file name.
For example:
In the application::: CreateFile(
“\Foo-machine\pubicdir\Boo\Text.txt”,
… );
In the driver::: ZwCreateFile( ??? );

Tell me to file name.

Regards.


You are currently subscribed to ntfsd as: xxxxx@bionetrix.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

> In the application::: CreateFile( “\Foo-machine\pubicdir\Boo\Text.txt”,

… );
In the driver::: ZwCreateFile( ??? );

\??\UNC\Foo-machine\pubicdir\Boo\Text.txt

Max