Skip to content

Commit 4783fd5

Browse files
authored
[WebDAV] Fixed drive mapping (#56)
1 parent 1990eb0 commit 4783fd5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SecureFolderFS.Core.WebDav/UnsafeNative/UnsafeNativeApis.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ internal static class UnsafeNativeApis
99
public const int CONNECT_TEMPORARY = 4;
1010
public const int RESOURCETYPE_DISK = 1;
1111

12-
[DllImport("Mpr.dll", CharSet = CharSet.Unicode)]
12+
[DllImport("Mpr.dll")]
1313
public static extern int WNetAddConnection2(
1414
[In] NETRESOURCE lpNetResource,
1515
[In] string lpPassword,
1616
[In] string lpUserName,
1717
[In] uint dwFlags);
1818

19-
[DllImport("Mpr.dll", CharSet = CharSet.Unicode)]
19+
[DllImport("Mpr.dll")]
2020
public static extern int WNetCancelConnection2(
2121
[In] string lpName,
2222
[In] uint dwFlags,
2323
[In] bool fForce);
2424

25-
[DllImport("Mpr.dll", CharSet = CharSet.Unicode)]
25+
[DllImport("Mpr.dll")]
2626
public static extern int WNetGetConnection(
2727
[In] string lpLocalName,
2828
[Out] StringBuilder lpRemoteName,

0 commit comments

Comments
 (0)