EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Eject with network mountpoint

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
Posted: 06/09/2011 10:50:51
by Jeff Mancuso (Standard support level)
Joined: 06/09/2011
Posts: 6

Ejection is supported explicitly for PnP devices but it does not seem to work for network drives [CBFS_SYMLINK_NETWORK]. When you right click a drive mounted through CBFS in Explorer and select disconnect it says the network connection cannot be found.

Is the expected behavior? It seems easy enough to add this feature [have the NP send an IRP to process the ejection].

Posted: 06/09/2011 11:17:28
by Volodymyr Zinin (EldoS Corp.)

Please specify what flags you are setting in the CallbackFileSystem.AddMountingPoint method.
Posted: 06/09/2011 11:28:04
by Jeff Mancuso (Standard support level)
Joined: 06/09/2011
Posts: 6

cbfs.AddMountingPoint(s, CBFS_SYMLINK_NETWORK, NULL);

where s is "Z:;Server;Label"

Posted: 06/09/2011 11:53:43
by Volodymyr Zinin (EldoS Corp.)

Try to specify the flag CBFS_SYMLINK_NETWORK_ALLOW_MAP_AS_DRIVE in addition. It should help.
Posted: 06/09/2011 13:00:46
by Jeff Mancuso (Standard support level)
Joined: 06/09/2011
Posts: 6

That didn't work. I just installed build 92 [beta] and the problem seems to go away.

Machine is Win7 x64. How close to final is 3.2?
Posted: 06/10/2011 01:23:39
by Volodymyr Zinin (EldoS Corp.)

Perhaps in a month or so. But the current beta is stable enough (actually it isn't a beta but rather prerelease).
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.



Topic viewed 1080 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!