문제

I am using driver code for mounting FTP Drives with NPAddConnection3 now the problem is when i mount the drive it gets mounted but i need to kill explorer and restart manually to see the mounted drive .

How to solve this problem ? How i can get see mounted drive without killing the explorer ? Thanks in Advance.

도움이 되었습니까?

해결책

You should call SHChangeNotify - depending on how you register your driver pick SHCNE_ADDDRIVE, SHCNE_NETSHARE etc.

Docs here on MSDN:

http://msdn.microsoft.com/en-us/library/bb762118(VS.85).aspx

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top