【Demo 0107】获取系统信息
这个标题说的有点大也很模糊,其实本例包括的信息非常少. 主要通过API: GetSystemInfo 返回的SYSTEM_INFO结构体,
数据如下:
typedef struct _SYSTEM_INFO {
DWORD dwPageSize;
LPVOID lpMinimumApplicationAddress;
LPVOID lpMaximumApplicationAddress;
DWORD_PTR dwActiveProcessorMask;
DWORD dwNumberOfProcessors;
DWORD dwProcessorType;
DWORD dwAllocationGranularity;
WORD wProcessorLevel;
WORD wProcessorRevision;
} SYSTEM_INFO, *LPSYSTEM_INFO;