110,533
社区成员
发帖
与我相关
我的任务
分享
typedef struct _SYSTEM_INFO {
union {
DWORD dwOemId;
struct {
WORD wProcessorArchitecture;
WORD wReserved;
};
};
DWORD dwPageSize;
LPVOID lpMinimumApplicationAddress;
LPVOID lpMaximumApplicationAddress;
DWORD_PTR dwActiveProcessorMask;
DWORD dwNumberOfProcessors;
DWORD dwProcessorType;
DWORD dwAllocationGranularity;
WORD wProcessorLevel;
WORD wProcessorRevision;
} SYSTEM_INFO;
[StructLayout(LayoutKind.Explicit)]
public struct SYSTEM_INFO
{
[FieldOffset(0)]
uint dwOemId;
[FieldOffset(0)]
public struct _
{
public uint wProcessorArchitecture;
public uint wReserved;
}
uint dwPageSize;
UInt32 lpMinimumApplicationAddress;
UInt32 lpMaximumApplicationAddress;
UIntPtr dwActiveProcessorMask;
uint dwNumberOfProcessors;
uint dwProcessorType;
uint dwAllocationGranularity;
uint wProcessorLevel;
ushort wProcessorRevision;
}