mirror of
https://github.com/lsecqt/OffensiveCpp
synced 2026-06-08 15:34:26 +00:00
Create processorsCount.cpp
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#include <Windows.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
SYSTEM_INFO info;
|
||||
::GetNativeSystemInfo(&info);
|
||||
if (info.dwNumberOfProcessors < 2)
|
||||
{
|
||||
return -99;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user