mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
Settings telemetry for ColorPicker (#10417)
This commit is contained in:
@@ -83,15 +83,6 @@ private:
|
||||
|
||||
HANDLE send_telemetry_event;
|
||||
|
||||
SECURITY_ATTRIBUTES getDefaultSecurityAttribute()
|
||||
{
|
||||
SECURITY_ATTRIBUTES sa;
|
||||
sa.nLength = sizeof(sa);
|
||||
sa.bInheritHandle = false;
|
||||
sa.lpSecurityDescriptor = NULL;
|
||||
return sa;
|
||||
}
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Microsoft_Launcher()
|
||||
@@ -104,10 +95,8 @@ public:
|
||||
Logger::info("Launcher object is constructing");
|
||||
init_settings();
|
||||
|
||||
auto sa1 = getDefaultSecurityAttribute();
|
||||
m_hEvent = CreateEventW(&sa1, FALSE, FALSE, CommonSharedConstants::POWER_LAUNCHER_SHARED_EVENT);
|
||||
auto sa2 = getDefaultSecurityAttribute();
|
||||
send_telemetry_event = CreateEventW(&sa2, FALSE, FALSE, CommonSharedConstants::RUN_SEND_SETTINGS_TELEMETRY_EVENT);
|
||||
m_hEvent = CreateDefaultEvent(CommonSharedConstants::POWER_LAUNCHER_SHARED_EVENT);
|
||||
send_telemetry_event = CreateDefaultEvent(CommonSharedConstants::RUN_SEND_SETTINGS_TELEMETRY_EVENT);
|
||||
};
|
||||
|
||||
~Microsoft_Launcher()
|
||||
|
||||
Reference in New Issue
Block a user