4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-03-01 04:25:27 +08:00
Corinna Vinschen 01bcd7d29e Cygwin: fhandler_netdrive: skip enumerating WebDAV shares
So far there's no known way to enumerate connected WebDAV resources.
WNetGetResourceInformationW/WNetOpenEnumW both return ERROR_BAD_NET_NAME.

Windows Explorer also shows an error dialog when trying to open a
Nextcloud instance to see the shares.

However, `net use' enumerates the connected cloud shares, so
there must be a way to do this.

For the time being, we just don't even try to enumerate WebDAV
shares and return an empty list.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2025-02-24 16:42:01 +01:00
..

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESSED OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at https://cygwin.com
You might especially be interested in

https://cygwin.com/faq/faq.html#faq.programming.building-cygwin