Skip to content

Commit a0f5210

Browse files
committed
Added missing files
1 parent 07e933c commit a0f5210

File tree

7 files changed

+33
-0
lines changed

7 files changed

+33
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ Profile
2626
Release
2727
x64
2828
/wiki
29+
!Kits/Telemetry/ARM
30+
!Kits/Telemetry/Win32
31+
!Kits/Telemetry/x64
10 KB
Binary file not shown.
2.97 KB
Binary file not shown.

Kits/Telemetry/Telemetry.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
//--------------------------------------------------------------------------------------
2+
// Telemetry.h
3+
//
4+
// Advanced Technology Group (ATG)
5+
// Copyright (C) Microsoft Corporation. All rights reserved.
6+
//--------------------------------------------------------------------------------------
7+
8+
#pragma once
9+
10+
#ifdef ATG_TELEMETRY_EXPORTS
11+
#define ATG_TELEMETRY_API __declspec(dllexport)
12+
#else
13+
#define ATG_TELEMETRY_API __declspec(dllimport)
14+
#endif
15+
16+
#include <stdint.h>
17+
18+
namespace ATG
19+
{
20+
// Must register the event provider before writing any events
21+
ATG_TELEMETRY_API uint32_t EventRegisterATGSampleTelemetry();
22+
ATG_TELEMETRY_API uint32_t EventUnregisterATGSampleTelemetry();
23+
24+
// Returns true if you've called EventRegisterATGSampleTelemetry()
25+
ATG_TELEMETRY_API bool EventEnabledSampleLoaded();
26+
27+
// Log the SampleLoaded event
28+
// requires that you call EventRegisterATGSampleTelemetry() first
29+
ATG_TELEMETRY_API uint32_t EventWriteSampleLoaded(const wchar_t* exeName);
30+
}
2.97 KB
Binary file not shown.
11.5 KB
Binary file not shown.
2.98 KB
Binary file not shown.

0 commit comments

Comments
 (0)