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"
|
|
|
|
#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>
|
|
|
|
#pragma pop_macro("GetCurrentTime")
|
|
|
|
#include <strsafe.h>
|
|
|
|
#include <Shlwapi.h>
|
2020-01-24 22:22:33 +08:00
|
|
|
#include <ProjectTelemetry.h>
|