OSDN Git Service

#34763 1つ前のコミット内容を1か所見直し(IntPtr->UIntPtr)、さらにMidiInChecker2内のPsuedoFDKにも同じ修正を念のため適用...
authoryyagi <yyagi.dtxmania@gmail.com>
Mon, 17 Jun 2019 16:44:41 +0000 (01:44 +0900)
committeryyagi <yyagi.dtxmania@gmail.com>
Mon, 17 Jun 2019 16:44:41 +0000 (01:44 +0900)
FDK/コード/00.共通/CWin32.cs
MidiInChecker2_Solution/MidiInChecker2_Project/PsuedoFDK/CWin32.cs

index 3f0a2e1..71a9a57 100644 (file)
@@ -523,7 +523,7 @@ namespace FDK
                        public uint dwPageSize;
                        public IntPtr lpMinimumApplicationAddress;
                        public IntPtr lpMaximumApplicationAddress;
-                       public IntPtr dwActiveProcessorMask;
+                       public UIntPtr dwActiveProcessorMask;
                        public uint dwNumberOfProcessors;
                        public uint dwProcessorType;
                        public uint dwAllocationGranularity;
index 50f0177..816addf 100644 (file)
@@ -223,7 +223,7 @@ namespace MidiInChecker2
                [DllImport( "user32.dll", CharSet = CharSet.Auto, SetLastError = true )]\r
                public static extern bool SystemParametersInfo( uint uiAction, uint uiParam, IntPtr pvParam, uint fWinIni );\r
                [DllImport( "kernel32.dll" )]\r
-               public static extern void GetSystemInfo( ref SYSTEM_INFO ptmpsi );\r
+               public static extern void GetSystemInfo( out SYSTEM_INFO ptmpsi );\r
                [DllImport( "kernel32.dll" )]\r
                internal static extern ExecutionState SetThreadExecutionState( ExecutionState esFlags );\r
                //-----------------\r
@@ -317,9 +317,9 @@ namespace MidiInChecker2
                {\r
                        public uint dwOemId;\r
                        public uint dwPageSize;\r
-                       public uint lpMinimumApplicationAddress;\r
-                       public uint lpMaximumApplicationAddress;\r
-                       public uint dwActiveProcessorMask;\r
+                       public IntPtr lpMinimumApplicationAddress;\r
+                       public IntPtr lpMaximumApplicationAddress;\r
+                       public UIntPtr dwActiveProcessorMask;\r
                        public uint dwNumberOfProcessors;\r
                        public uint dwProcessorType;\r
                        public uint dwAllocationGranularity;\r