优化日志输出

This commit is contained in:
2023-10-30 19:44:12 +08:00
parent 0b683b9a8e
commit fb8463a51d
3 changed files with 41 additions and 19 deletions

View File

@@ -8,9 +8,15 @@ using namespace std;
int main()
{
HRESULT hr = S_OK;
hr = CoInitialize(nullptr);
if (FAILED(hr)) {
return 0;
}
cout << "Hello CMake." << endl;
ScreenManager screenManager;
screenManager.UpdateDisplayInfo();
CoUninitialize();
return 0;
}