mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -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()
|
public String MountPoint()
|
||||||
{
|
{
|
||||||
return IntPtr.Zero != _FileSystem ? Api.FspFileSystemMountPoint(_FileSystem) : null;
|
return IntPtr.Zero != _FileSystem ?
|
||||||
|
Marshal.PtrToStringUni(Api.FspFileSystemMountPoint(_FileSystem)) : null;
|
||||||
}
|
}
|
||||||
public IntPtr FileSystemHandle()
|
public IntPtr FileSystemHandle()
|
||||||
{
|
{
|
||||||
|
@ -441,8 +441,7 @@ namespace Fsp.Interop
|
|||||||
internal delegate Int32 FspFileSystemStopDispatcher(
|
internal delegate Int32 FspFileSystemStopDispatcher(
|
||||||
IntPtr FileSystem);
|
IntPtr FileSystem);
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
[return: MarshalAs(UnmanagedType.LPWStr)]
|
internal delegate IntPtr FspFileSystemMountPointF(
|
||||||
internal delegate String FspFileSystemMountPointF(
|
|
||||||
IntPtr FileSystem);
|
IntPtr FileSystem);
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
internal delegate void FspFileSystemSetOperationGuardStrategyF(
|
internal delegate void FspFileSystemSetOperationGuardStrategyF(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user