• R/O
  • HTTP
  • SSH
  • HTTPS

dtxmania: 提交


Commit MetaInfo

修订版cc614790d6466fc968ccf21b18e56ac13221e4ad (tree)
时间2019-06-18 01:44:41
作者yyagi <yyagi.dtxmania@gmai...>
Commiteryyagi

Log Message

#34763 1つ前のコミット内容を1か所見直し(IntPtr->UIntPtr)、さらにMidiInChecker2内のPsuedoFDKにも同じ修正を念のため適用(ただし未使用)。

更改概述

差异

--- a/FDK/コード/00.共通/CWin32.cs
+++ b/FDK/コード/00.共通/CWin32.cs
@@ -523,7 +523,7 @@ namespace FDK
523523 public uint dwPageSize;
524524 public IntPtr lpMinimumApplicationAddress;
525525 public IntPtr lpMaximumApplicationAddress;
526- public IntPtr dwActiveProcessorMask;
526+ public UIntPtr dwActiveProcessorMask;
527527 public uint dwNumberOfProcessors;
528528 public uint dwProcessorType;
529529 public uint dwAllocationGranularity;
--- a/MidiInChecker2_Solution/MidiInChecker2_Project/PsuedoFDK/CWin32.cs
+++ b/MidiInChecker2_Solution/MidiInChecker2_Project/PsuedoFDK/CWin32.cs
@@ -223,7 +223,7 @@ namespace MidiInChecker2
223223 [DllImport( "user32.dll", CharSet = CharSet.Auto, SetLastError = true )]
224224 public static extern bool SystemParametersInfo( uint uiAction, uint uiParam, IntPtr pvParam, uint fWinIni );
225225 [DllImport( "kernel32.dll" )]
226- public static extern void GetSystemInfo( ref SYSTEM_INFO ptmpsi );
226+ public static extern void GetSystemInfo( out SYSTEM_INFO ptmpsi );
227227 [DllImport( "kernel32.dll" )]
228228 internal static extern ExecutionState SetThreadExecutionState( ExecutionState esFlags );
229229 //-----------------
@@ -317,9 +317,9 @@ namespace MidiInChecker2
317317 {
318318 public uint dwOemId;
319319 public uint dwPageSize;
320- public uint lpMinimumApplicationAddress;
321- public uint lpMaximumApplicationAddress;
322- public uint dwActiveProcessorMask;
320+ public IntPtr lpMinimumApplicationAddress;
321+ public IntPtr lpMaximumApplicationAddress;
322+ public UIntPtr dwActiveProcessorMask;
323323 public uint dwNumberOfProcessors;
324324 public uint dwProcessorType;
325325 public uint dwAllocationGranularity;
Show on old repository browser