[Spice-devel] [phodav PATCH 2/3 v7] spice-webdavd-windows: Check for mapped shared folder
Lukas Venhoda
lvenhoda at redhat.com
Fri May 27 14:22:08 UTC 2016
Hi
On Thu, May 26, 2016 at 1:07 PM, Marc-André Lureau <mlureau at redhat.com>
wrote:
>
> ----- Original Message -----
> Rather than the user name of the driver, it would be more reliable to
> check the connection details, with a function such as
> WNetGetResourceInformation(). (I haven't looked in details if this is the
> right function)
So I tested this function, and it doesn't actually return the local name
(drive letter). It might return this on older Windows, but on the newer
ones, since drive letters are per user, it doesn't return anything.
(localname is null).
Lukas Venhoda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160527/3ea7590f/attachment.html>
More information about the Spice-devel
mailing list