DeviceManager/WinDeviceDemo/WinDeviceDemo.cpp

23 lines
374 B
C++
Raw Normal View History

2023-10-30 16:44:02 +08:00
// WinDeviceDemo.cpp: 定义应用程序的入口点。
//
#include "WinDeviceDemo.h"
#include "Video/ScreenManager.h"
using namespace std;
int main()
{
2023-10-30 19:44:12 +08:00
HRESULT hr = S_OK;
hr = CoInitialize(nullptr);
if (FAILED(hr)) {
return 0;
}
2023-10-30 16:44:02 +08:00
cout << "Hello CMake." << endl;
ScreenManager screenManager;
screenManager.UpdateDisplayInfo();
2023-10-30 19:44:12 +08:00
CoUninitialize();
2023-10-30 16:44:02 +08:00
return 0;
}