// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: BSD-3-Clause #include #include #include #include #include using namespace Microsoft::WRL::Wrappers; using namespace ABI::Windows::Devices::Geolocation; using namespace ABI::Windows::Foundation; typedef IAsyncOperationCompletedHandler AccessHandler; int main(int, char**) { IGeolocator *locator; RoActivateInstance(HString::MakeReference(RuntimeClass_Windows_Devices_Geolocation_Geolocator).Get(), reinterpret_cast(&locator)); return 0; }