Alachisoft.NCache.Common.Interop.SYSTEM_INFO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-common Show documentation
Show all versions of nc-common Show documentation
Internal package of Alachisoft.
package Alachisoft.NCache.Common.Interop;
//ORIGINAL LINE: public struct SYSTEM_INFO
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//[CLSCompliant(false), StructLayout(LayoutKind.Sequential)]
public final class SYSTEM_INFO {
/*
//C# TO JAVA CONVERTER TODO TASK: There is no preprocessor in Java:
//#if NC64
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwOemId;
public int dwOemId;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwPageSize;
public int dwPageSize;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public ulong lpMinimumApplicationAddress;
public long lpMinimumApplicationAddress;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public ulong lpMaximumApplicationAddress;
public long lpMaximumApplicationAddress;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public ulong dwActiveProcessorMask;
public long dwActiveProcessorMask;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwNumberOfProcessors;
public int dwNumberOfProcessors;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwProcessorType;
public int dwProcessorType;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwAllocationGranularity;
public int dwAllocationGranularity;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public UInt16 dwProcessorLevel;
public short dwProcessorLevel;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public UInt16 dwProcessorRevision;
public short dwProcessorRevision;
//#else
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwOemId;
public int dwOemId;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwPageSize;
public int dwPageSize;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint lpMinimumApplicationAddress;
public int lpMinimumApplicationAddress;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint lpMaximumApplicationAddress;
public int lpMaximumApplicationAddress;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwActiveProcessorMask;
public int dwActiveProcessorMask;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwNumberOfProcessors;
public int dwNumberOfProcessors;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwProcessorType;
public int dwProcessorType;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public uint dwAllocationGranularity;
public int dwAllocationGranularity;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public UInt16 dwProcessorLevel;
public short dwProcessorLevel;
//C# TO JAVA CONVERTER WARNING: Unsigned integer types have no direct equivalent in Java:
//ORIGINAL LINE: public UInt16 dwProcessorRevision;
public short dwProcessorRevision;
//#endif
public SYSTEM_INFO clone() {
SYSTEM_INFO varCopy = new SYSTEM_INFO();
varCopy.dwOemId = this.dwOemId;
varCopy.dwPageSize = this.dwPageSize;
varCopy.lpMinimumApplicationAddress = this.lpMinimumApplicationAddress;
varCopy.lpMaximumApplicationAddress = this.lpMaximumApplicationAddress;
varCopy.dwActiveProcessorMask = this.dwActiveProcessorMask;
varCopy.dwNumberOfProcessors = this.dwNumberOfProcessors;
varCopy.dwProcessorType = this.dwProcessorType;
varCopy.dwAllocationGranularity = this.dwAllocationGranularity;
varCopy.dwProcessorLevel = this.dwProcessorLevel;
varCopy.dwProcessorRevision = this.dwProcessorRevision;
varCopy.dwOemId = this.dwOemId;
varCopy.dwPageSize = this.dwPageSize;
varCopy.lpMinimumApplicationAddress = this.lpMinimumApplicationAddress;
varCopy.lpMaximumApplicationAddress = this.lpMaximumApplicationAddress;
varCopy.dwActiveProcessorMask = this.dwActiveProcessorMask;
varCopy.dwNumberOfProcessors = this.dwNumberOfProcessors;
varCopy.dwProcessorType = this.dwProcessorType;
varCopy.dwAllocationGranularity = this.dwAllocationGranularity;
varCopy.dwProcessorLevel = this.dwProcessorLevel;
varCopy.dwProcessorRevision = this.dwProcessorRevision;
return varCopy;
}*/
}