From ef7df8048d1067d3148287f27af9047743f1e2ae Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 15 3月 2020 16:26:21 +0800 Subject: [PATCH] Merge branch 'feature/pc_identifiers' into develop issues #2 #3 #14 #49 --- src/library/os/windows/isvm/Native.h | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/library/os/windows/isvm/Native.h b/src/library/os/windows/isvm/Native.h new file mode 100644 index 0000000..d22a908 --- /dev/null +++ b/src/library/os/windows/isvm/Native.h @@ -0,0 +1,18 @@ +#pragma once + +#include <stdint.h> +#include <windows.h> + +struct RawSMBIOSData +{ + BYTE Used20CallingMethod; + BYTE SMBIOSMajorVersion; + BYTE SMBIOSMinorVersion; + BYTE DmiRevision; + DWORD Length; + BYTE SMBIOSTableData[]; +}; + +bool InitEntryPoints(); +void *LocateSMBIOS(uint32_t *smbios_size); + -- Gitblit v1.9.1