mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -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);
|
||||
}
|
||||
public static void FspDebugLogSetHandle(IntPtr Handle)
|
||||
{
|
||||
Api.FspDebugLogSetHandle(Handle);
|
||||
}
|
||||
|
||||
/* operations */
|
||||
protected virtual Int32 ExceptionHandler(Exception ex)
|
||||
|
@ -488,6 +488,9 @@ namespace Fsp.Interop
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal delegate UInt32 FspWin32FromNtStatus(
|
||||
Int32 Status);
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal delegate void FspDebugLogSetHandle(
|
||||
IntPtr Handle);
|
||||
|
||||
/* callbacks */
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
@ -538,6 +541,7 @@ namespace Fsp.Interop
|
||||
internal static Proto.FspServiceLog FspServiceLog;
|
||||
internal static Proto.FspNtStatusFromWin32 FspNtStatusFromWin32;
|
||||
internal static Proto.FspWin32FromNtStatus FspWin32FromNtStatus;
|
||||
internal static Proto.FspDebugLogSetHandle FspDebugLogSetHandle;
|
||||
|
||||
internal static unsafe Int32 FspFileSystemSetMountPointEx(
|
||||
IntPtr FileSystem,
|
||||
@ -718,6 +722,7 @@ namespace Fsp.Interop
|
||||
FspVersion = GetEntryPoint<Proto.FspVersion>(Module);
|
||||
FspNtStatusFromWin32 = GetEntryPoint<Proto.FspNtStatusFromWin32>(Module);
|
||||
FspWin32FromNtStatus = GetEntryPoint<Proto.FspWin32FromNtStatus>(Module);
|
||||
FspDebugLogSetHandle = GetEntryPoint<Proto.FspDebugLogSetHandle>(Module);
|
||||
}
|
||||
static Api()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user