mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
src: dotnet: add FspDebugLogSetHandle
This commit is contained in:
parent
6365a553dc
commit
aa1e32494c
@ -184,6 +184,10 @@ namespace Fsp
|
|||||||
{
|
{
|
||||||
return Api.FspWin32FromNtStatus(Status);
|
return Api.FspWin32FromNtStatus(Status);
|
||||||
}
|
}
|
||||||
|
public static void FspDebugLogSetHandle(IntPtr Handle)
|
||||||
|
{
|
||||||
|
Api.FspDebugLogSetHandle(Handle);
|
||||||
|
}
|
||||||
|
|
||||||
/* operations */
|
/* operations */
|
||||||
protected virtual Int32 ExceptionHandler(Exception ex)
|
protected virtual Int32 ExceptionHandler(Exception ex)
|
||||||
|
@ -488,6 +488,9 @@ namespace Fsp.Interop
|
|||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
internal delegate UInt32 FspWin32FromNtStatus(
|
internal delegate UInt32 FspWin32FromNtStatus(
|
||||||
Int32 Status);
|
Int32 Status);
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
|
internal delegate void FspDebugLogSetHandle(
|
||||||
|
IntPtr Handle);
|
||||||
|
|
||||||
/* callbacks */
|
/* callbacks */
|
||||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
@ -538,6 +541,7 @@ namespace Fsp.Interop
|
|||||||
internal static Proto.FspServiceLog FspServiceLog;
|
internal static Proto.FspServiceLog FspServiceLog;
|
||||||
internal static Proto.FspNtStatusFromWin32 FspNtStatusFromWin32;
|
internal static Proto.FspNtStatusFromWin32 FspNtStatusFromWin32;
|
||||||
internal static Proto.FspWin32FromNtStatus FspWin32FromNtStatus;
|
internal static Proto.FspWin32FromNtStatus FspWin32FromNtStatus;
|
||||||
|
internal static Proto.FspDebugLogSetHandle FspDebugLogSetHandle;
|
||||||
|
|
||||||
internal static unsafe Int32 FspFileSystemSetMountPointEx(
|
internal static unsafe Int32 FspFileSystemSetMountPointEx(
|
||||||
IntPtr FileSystem,
|
IntPtr FileSystem,
|
||||||
@ -718,6 +722,7 @@ namespace Fsp.Interop
|
|||||||
FspVersion = GetEntryPoint<Proto.FspVersion>(Module);
|
FspVersion = GetEntryPoint<Proto.FspVersion>(Module);
|
||||||
FspNtStatusFromWin32 = GetEntryPoint<Proto.FspNtStatusFromWin32>(Module);
|
FspNtStatusFromWin32 = GetEntryPoint<Proto.FspNtStatusFromWin32>(Module);
|
||||||
FspWin32FromNtStatus = GetEntryPoint<Proto.FspWin32FromNtStatus>(Module);
|
FspWin32FromNtStatus = GetEntryPoint<Proto.FspWin32FromNtStatus>(Module);
|
||||||
|
FspDebugLogSetHandle = GetEntryPoint<Proto.FspDebugLogSetHandle>(Module);
|
||||||
}
|
}
|
||||||
static Api()
|
static Api()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user