WinDevice/WinDevice/Utils/SysInfoUtil.h
2023-09-12 00:22:47 +08:00

25 lines
446 B
C++

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