I’m using IoCreateSymbolicLink() to create a symbolic link (a drive
letter) to a virtual volume device. If a Terminal Services user has
already established a session on my machine at the time
IoCreateSymbolicLink() is called, the drive letter is not available
within their session, even though the drive letter is created in the
Global namespace and the user does not already have that drive letter
assigned within their session namespace. If another Terminal Services
user establishes a connection to my machine AFTER I’ve created the
symbolic link in the global namespace, the drive letter IS available
within their session.
What’s going on here? What does it take to get the session namespace to
update? Do I have to iterate through all session namespaces and add my
device’s symbolic link there too?
Nate Bushman
PowerQuest Corp