// Copyright (C) 2017 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include #include #include #if defined(_WIN32) && defined(__INTEL_COMPILER) #error "Windows ICC fails to build the WinRT backend (QTBUG-68026)." #endif int main() { Microsoft::WRL::ComPtr deviceInformationStatics; ABI::Windows::Foundation::GetActivationFactory(Microsoft::WRL::Wrappers::HString::MakeReference (RuntimeClass_Windows_Devices_Enumeration_DeviceInformation).Get(), &deviceInformationStatics); (void)Microsoft::WRL::ComPtr().Get(); (void)Microsoft::WRL::ComPtr().Get(); (void)Microsoft::WRL::ComPtr().Get(); return 0; }