diff options
| author | Wither OrNot | 2025-04-07 23:23:19 +0000 |
|---|---|---|
| committer | Wither OrNot | 2025-04-07 23:23:19 +0000 |
| commit | b7868ff296016917c38657474117d5ca820b2312 (patch) | |
| tree | 5c3dd53fe258c322c14dc2d69b8864a98de91a4a /LibTSforge/SPP/SPSys.cs | |
| parent | cb5c97d443982e547a8dd5a76032de8fa6859b61 (diff) | |
| parent | 3a3ac06ca3715127475c7a2c7b3f0782e1690dfb (diff) | |
| download | TSforge-b7868ff296016917c38657474117d5ca820b2312.zip | |
Merge branch 'longhorn' of https://github.com/massgravel/TSforge into longhorn1.1.0-longhorn+1
Diffstat (limited to 'LibTSforge/SPP/SPSys.cs')
| -rw-r--r-- | LibTSforge/SPP/SPSys.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibTSforge/SPP/SPSys.cs b/LibTSforge/SPP/SPSys.cs index 18b3655..ecc331c 100644 --- a/LibTSforge/SPP/SPSys.cs +++ b/LibTSforge/SPP/SPSys.cs @@ -15,7 +15,7 @@ namespace LibTSforge.SPP [return: MarshalAs(UnmanagedType.Bool)] [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] - public static extern bool DeviceIoControl([In] SafeFileHandle hDevice, [In] uint dwIoControlCode, [In] IntPtr lpInBuffer, [In] int nInBufferSize, [Out] IntPtr lpOutBuffer, [In] int nOutBufferSize, out int lpBytesReturned, [In] IntPtr lpOverlapped); + private static extern bool DeviceIoControl([In] SafeFileHandle hDevice, [In] uint dwIoControlCode, [In] IntPtr lpInBuffer, [In] int nInBufferSize, [Out] IntPtr lpOutBuffer, [In] int nOutBufferSize, out int lpBytesReturned, [In] IntPtr lpOverlapped); public static bool IsSpSysRunning() { |
