mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
src: dotnet: fix FspFileSystemMountPointF prototype
This commit is contained in:
parent
de60e76b1d
commit
5ef1de2647
@ -185,7 +185,8 @@ namespace Fsp
|
||||
}
|
||||
public String MountPoint()
|
||||
{
|
||||
return IntPtr.Zero != _FileSystem ? Api.FspFileSystemMountPoint(_FileSystem) : null;
|
||||
return IntPtr.Zero != _FileSystem ?
|
||||
Marshal.PtrToStringUni(Api.FspFileSystemMountPoint(_FileSystem)) : null;
|
||||
}
|
||||
public IntPtr FileSystemHandle()
|
||||
{
|
||||
|
@ -441,8 +441,7 @@ namespace Fsp.Interop
|
||||
internal delegate Int32 FspFileSystemStopDispatcher(
|
||||
IntPtr FileSystem);
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
[return: MarshalAs(UnmanagedType.LPWStr)]
|
||||
internal delegate String FspFileSystemMountPointF(
|
||||
internal delegate IntPtr FspFileSystemMountPointF(
|
||||
IntPtr FileSystem);
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal delegate void FspFileSystemSetOperationGuardStrategyF(
|
||||
|
Loading…
x
Reference in New Issue
Block a user