systeminfo.via
来自「用VB6写的真正的32位高级语言可视程序编译器」· VIA 代码 · 共 28 行
VIA
28 行
// SystemInfo.lnl
application PE GUI entry main;
include "Windows.inc";
type SYSTEM_INFO {
dword dwOemID;
dword dwPageSize;
dword lpMinimumApplicationAddress;
dword lpMaximumApplicationAddress;
dword dwActiveProcessorMask;
dword dwNumberOfProcessors;
dword dwProcessorType;
dword dwAllocationGranularity;
dword dwReserved;
}
SYSTEM_INFO SI;
string buffer[256];
frame main();
GetSystemInfo(@SI);
Format(buffer,
"dwOemID=%d\ndwPageSize=%d\nNumberOfProcessors=%d\nProcessorType=%d",
SI.dwOemID,SI.dwPageSize,SI.dwNumberOfProcessors,SI.dwProcessorType);
MessageBox(0,buffer,"System.Info",1);
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?