diff --git a/.gitignore b/.gitignore index 7b720e0c..5a4e09cb 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,6 @@ Profile Release x64 /wiki +!Kits/Telemetry/ARM +!Kits/Telemetry/Win32 +!Kits/Telemetry/x64 diff --git a/Kits/Telemetry/ARM/ATGTelemetryUWP.dll b/Kits/Telemetry/ARM/ATGTelemetryUWP.dll new file mode 100644 index 00000000..d0856c3d Binary files /dev/null and b/Kits/Telemetry/ARM/ATGTelemetryUWP.dll differ diff --git a/Kits/Telemetry/ARM/ATGTelemetryUWP.lib b/Kits/Telemetry/ARM/ATGTelemetryUWP.lib new file mode 100644 index 00000000..7a4be79e Binary files /dev/null and b/Kits/Telemetry/ARM/ATGTelemetryUWP.lib differ diff --git a/Kits/Telemetry/Telemetry.h b/Kits/Telemetry/Telemetry.h new file mode 100644 index 00000000..7ef2f4d1 --- /dev/null +++ b/Kits/Telemetry/Telemetry.h @@ -0,0 +1,30 @@ +//-------------------------------------------------------------------------------------- +// Telemetry.h +// +// Advanced Technology Group (ATG) +// Copyright (C) Microsoft Corporation. All rights reserved. +//-------------------------------------------------------------------------------------- + +#pragma once + +#ifdef ATG_TELEMETRY_EXPORTS +#define ATG_TELEMETRY_API __declspec(dllexport) +#else +#define ATG_TELEMETRY_API __declspec(dllimport) +#endif + +#include + +namespace ATG +{ + // Must register the event provider before writing any events + ATG_TELEMETRY_API uint32_t EventRegisterATGSampleTelemetry(); + ATG_TELEMETRY_API uint32_t EventUnregisterATGSampleTelemetry(); + + // Returns true if you've called EventRegisterATGSampleTelemetry() + ATG_TELEMETRY_API bool EventEnabledSampleLoaded(); + + // Log the SampleLoaded event + // requires that you call EventRegisterATGSampleTelemetry() first + ATG_TELEMETRY_API uint32_t EventWriteSampleLoaded(const wchar_t* exeName); +} diff --git a/Kits/Telemetry/Win32/ATGTelemetryUWP.lib b/Kits/Telemetry/Win32/ATGTelemetryUWP.lib new file mode 100644 index 00000000..e8f63a45 Binary files /dev/null and b/Kits/Telemetry/Win32/ATGTelemetryUWP.lib differ diff --git a/Kits/Telemetry/x64/ATGTelemetryUWP.dll b/Kits/Telemetry/x64/ATGTelemetryUWP.dll new file mode 100644 index 00000000..928add58 Binary files /dev/null and b/Kits/Telemetry/x64/ATGTelemetryUWP.dll differ diff --git a/Kits/Telemetry/x64/ATGTelemetryUWP.lib b/Kits/Telemetry/x64/ATGTelemetryUWP.lib new file mode 100644 index 00000000..e4afe955 Binary files /dev/null and b/Kits/Telemetry/x64/ATGTelemetryUWP.lib differ