EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Detect if mounting point already exists

Posted: 04/24/2008 04:31:57
by Vijay Mani (Standard support level)
Joined: 03/09/2008
Posts: 29

Hi all,
How do we detect if the mounting point already exists?
There appears to be a bug in that if I try to:
map random network path at any drive letter of your choice (say M:)

it doesn't fail even if there is something else mounted at M:

Posted: 04/24/2008 05:04:47
by Volodymyr Zinin (Team)


It's because AddMountingPoint creates 'global' type of mounting points (that are visible from all sessions). If in a logon session the 'local' mounting point with the same name already exists then nothing error occurs. But the created 'global' mounting point will not be visible from this session, because the 'local' type has a priority before the 'global' one with the same name.

For creating 'local' mounting points use the AddMountingPointEx method.



Topic viewed 4226 times

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


Back to top

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

Got it!