WinDevice/WinDevice/Utils/SysInfoUtil.h
2023-12-18 20:25:30 +08:00

28 lines
459 B
C++

#pragma once
#include "Export.h"
#pragma comment(lib, "IPHLPAPI.lib")
#pragma comment(lib, "wbemuuid.lib")
class WINDEVICE_API SysInfoUtil
{
public:
void GetMacByGetAdaptersInfo(char* outMAC) const;
static int GetInfoByWMI();
static void GetInfoByEnumDisplayMonitors();
static int GetInfoByEnumDisplayDevices();
static int GetInfoByQueryDisplayConfig();
static void GetInfoByEdid();
static int GetInfoByCfgmgr();
};