After connect a network-drive, when we open a Windows Explorer or a File Dialog, the process find this key in the registry to show it’s volume name.
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2{A45BA3B2-F396-4F67-8375-ECC2CA1EBBFC}_LabelFromDesktopINI
I don’t know what the GUID is. {A45BA3B2-F396-4F67-8375-ECC2CA1EBBFC}
What is it?
Who(When) does create the key?
How does the application(in this case, Windows Explorer) know the key?
I’m developing a network-redirector like SMB.
I should write a volume name to the key. But I don’t know how I can get the my volume’s(?) GUID.
-Of course, I also write the volume name to \MountPoints2##UNCNAME_LabelFromReg
But it doesn’t work for WOW64 applications in 64Bit Windows.
> I’m developing a network-redirector like SMB.
I should write a volume name to the key. But I don’t know how I can get the my volume’s(?) GUID.
-Of course, I also write the volume name to \MountPoints2##UNCNAME_LabelFromReg
You must not touch anything of this, just write a Network Provider DLL.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
Why?
I don’t understand ‘just write a Network Provider DLL’
Did you mean ‘use your NP DLL’?
Do NetworkProvider have a interface for network volume name?
> I don’t understand ‘just write a Network Provider DLL’
All issues related to Explorer’s use of network volume names are solved by developing and registering the NP DLL.
No need to hack the undoc registry keys.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
Yes, we’ve developed NP dll(most of it’s interfaces).
But I don’t know what method is related network volume name.
One weird thing is when we do command ‘NET USE’
my redirector’s status column value is not ‘OK’. It’s just empty. Although it works fine.
SMB status is ‘OK’. I don’t know how microsoft did.