Init commit
This commit is contained in:
+13
@@ -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);
|
||||
Reference in New Issue
Block a user