mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-23 06:59:39 +01:00
[Build]Fix building on Visual Studio 17.8 (#29303)
* Add definition to ignore deprecated stdext checked_array_iterator * Disable warning to ignore direct mention of dll in C# headers * Fix PowerAccent Keyboard Service build errors * Remove unused event variables * Fix uninitialized events * Remove unused telemetry events * Fix building ShortcutGuide * Fix C-style casts * Fix spellcheck
This commit is contained in:
@@ -156,7 +156,7 @@ bool create_auto_start_task_for_this_user(bool runElevated)
|
||||
ExitOnFailure(hr, "Cannot create the trigger: %x", hr);
|
||||
|
||||
hr = pTrigger->QueryInterface(
|
||||
IID_ILogonTrigger, (void**)&pLogonTrigger);
|
||||
IID_ILogonTrigger, reinterpret_cast<void**>(&pLogonTrigger));
|
||||
pTrigger->Release();
|
||||
ExitOnFailure(hr, "QueryInterface call failed for ILogonTrigger: %x", hr);
|
||||
|
||||
@@ -191,7 +191,7 @@ bool create_auto_start_task_for_this_user(bool runElevated)
|
||||
|
||||
// QI for the executable task pointer.
|
||||
hr = pAction->QueryInterface(
|
||||
IID_IExecAction, (void**)&pExecAction);
|
||||
IID_IExecAction, reinterpret_cast<void**>(&pExecAction));
|
||||
pAction->Release();
|
||||
ExitOnFailure(hr, "QueryInterface call failed for IExecAction: %x", hr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user