public uint dwPageSize;
public IntPtr lpMinimumApplicationAddress;
public IntPtr lpMaximumApplicationAddress;
- public IntPtr dwActiveProcessorMask;
+ public UIntPtr dwActiveProcessorMask;
public uint dwNumberOfProcessors;
public uint dwProcessorType;
public uint dwAllocationGranularity;
[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
{\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