EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Mount As A Network Location

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
Posted: 06/11/2015 18:21:29
by Gavin Hinfey (Basic support level)
Joined: 06/11/2015
Posts: 2


I'm using your Mapper example for Callback Filesystem.
I would like it to mount a location as a 'Network Drive' not as a 'Removable Disk'.

I've been trying:
g_CbFs.AddMountingPoint(MountingPoint, CBFS_SYMLINK_NETWORK, NULL);
but I get the error:
The parameter is incorrect.

I feel like there is more to this than changing one line of mappers code but I just thought I'd ask!

Posted: 06/12/2015 03:18:42
by Volodymyr Zinin (EldoS Corp.)

Hi Gavin,

You can use mounting points with any type of virtual disks. It's like as you insert a USB flash drive (which is a removable local disk), share it, and access the drive via a UNC path.

I.e. create a CBFS virtual disk with, for example, DiskType = stDisk and StorageCharacteristics = scRemovable. Then call
AddMountingPoint("X:;server_name;share_name", CBFS_SYMLINK_NETWORK, NULL);

It seems the problem in your case is that you pass the first parameter in incorrect format. For details see https://www.eldos.com/documentation/cb...oints.html

Posted: 06/12/2015 17:03:02
by Gavin Hinfey (Basic support level)
Joined: 06/11/2015
Posts: 2


This worked a charm!
I should of read the documentation more thoroughly.




Topic viewed 2096 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!