Init commit

This commit is contained in:
My Name
2026-11-03 20:45:39 -08:00
commit 26642f28a2
57 changed files with 15683 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#pragma once
#include <windows.h>
#include <string>
// Returns true when the machine looks like a virtual machine or hypervisor
// guest. When 'reason' is provided it receives a short human-readable cause.
bool IsVirtualMachine(std::wstring* reason = nullptr);
// --allow-vm on the command line, ARDRV_ALLOW_VM=1, or AllowVm=1 under
// HKLM\SOFTWARE\ArDrvLoader. Any of them disables the VM block.
bool VmOverrideRequested(int argc, wchar_t** argv);