2019-09-05 00:26:26 +08:00
|
|
|
#pragma once
|
2020-03-13 17:55:15 +08:00
|
|
|
#define WIN32_LEAN_AND_MEAN
|
2019-09-05 00:26:26 +08:00
|
|
|
#include <Windows.h>
|
|
|
|
#pragma push_macro("GetCurrentTime")
|
|
|
|
#undef GetCurrentTime
|
|
|
|
// include winrt headers with fix for "warning C4002: Too many arguments for function-like macro invocation GetCurrentTime"
|
2020-04-30 04:02:18 +08:00
|
|
|
#include <winrt/Windows.Foundation.h>
|
|
|
|
#include <winrt/Windows.Foundation.Collections.h>
|
|
|
|
#include <winrt/Windows.Web.h>
|
|
|
|
#include <winrt/Windows.System.h>
|
|
|
|
#include <winrt/Windows.Web.UI.h>
|
|
|
|
#include <winrt/Windows.Web.UI.Interop.h>
|
|
|
|
#include <winrt/Windows.UI.Xaml.Controls.h>
|
|
|
|
#include <winrt/Windows.Foundation.h>
|
|
|
|
#include <winrt/Windows.Web.Http.h>
|
|
|
|
#include <winrt/Windows.Web.Http.Headers.h>
|
|
|
|
#include <winrt/Windows.Storage.h>
|
|
|
|
#include <winrt/Windows.Storage.Streams.h>
|
2019-09-05 00:26:26 +08:00
|
|
|
#pragma pop_macro("GetCurrentTime")
|
|
|
|
#include <strsafe.h>
|
|
|
|
#include <Shlwapi.h>
|
2020-01-24 22:22:33 +08:00
|
|
|
#include <ProjectTelemetry.h>
|