mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
Cleanup
This commit is contained in:
8
.github/actions/spell-check/expect.txt
vendored
8
.github/actions/spell-check/expect.txt
vendored
@@ -452,6 +452,7 @@ DLGFRAME
|
|||||||
DLGMODALFRAME
|
DLGMODALFRAME
|
||||||
dlib
|
dlib
|
||||||
DLIMAGES
|
DLIMAGES
|
||||||
|
dllimport
|
||||||
dllexport
|
dllexport
|
||||||
dllhost
|
dllhost
|
||||||
dllmain
|
dllmain
|
||||||
@@ -769,6 +770,7 @@ HWNDNEXT
|
|||||||
HWNDPREV
|
HWNDPREV
|
||||||
IAction
|
IAction
|
||||||
IActivated
|
IActivated
|
||||||
|
IActivation
|
||||||
IAnimatable
|
IAnimatable
|
||||||
IApp
|
IApp
|
||||||
IApplication
|
IApplication
|
||||||
@@ -1399,6 +1401,7 @@ NTFS
|
|||||||
NTSTATUS
|
NTSTATUS
|
||||||
nuget
|
nuget
|
||||||
nuint
|
nuint
|
||||||
|
nullonfailure
|
||||||
nullopt
|
nullopt
|
||||||
nullptr
|
nullptr
|
||||||
numberbox
|
numberbox
|
||||||
@@ -1530,6 +1533,7 @@ powercfg
|
|||||||
powerlauncher
|
powerlauncher
|
||||||
powerpreview
|
powerpreview
|
||||||
powerrename
|
powerrename
|
||||||
|
POWERRENAMECONTEXTMENU
|
||||||
POWERRENAMETEST
|
POWERRENAMETEST
|
||||||
powertoy
|
powertoy
|
||||||
powertoysinterop
|
powertoysinterop
|
||||||
@@ -1740,6 +1744,7 @@ RUNLEVEL
|
|||||||
runsettings
|
runsettings
|
||||||
runtimeclass
|
runtimeclass
|
||||||
runtimeconfig
|
runtimeconfig
|
||||||
|
runtimeobject
|
||||||
runtimes
|
runtimes
|
||||||
RUS
|
RUS
|
||||||
rvalue
|
rvalue
|
||||||
@@ -1932,6 +1937,7 @@ stl
|
|||||||
stoi
|
stoi
|
||||||
stol
|
stol
|
||||||
stoll
|
stoll
|
||||||
|
storelogo
|
||||||
stoul
|
stoul
|
||||||
stoull
|
stoull
|
||||||
strcmp
|
strcmp
|
||||||
@@ -2133,6 +2139,7 @@ unregister
|
|||||||
unregistering
|
unregistering
|
||||||
unremapped
|
unremapped
|
||||||
unsubscribe
|
unsubscribe
|
||||||
|
unvirtualized
|
||||||
Updatelayout
|
Updatelayout
|
||||||
UPGRADINGPRODUCTCODE
|
UPGRADINGPRODUCTCODE
|
||||||
upto
|
upto
|
||||||
@@ -2330,6 +2337,7 @@ wregex
|
|||||||
WResize
|
WResize
|
||||||
writefile
|
writefile
|
||||||
Wrk
|
Wrk
|
||||||
|
wrl
|
||||||
wsf
|
wsf
|
||||||
wsh
|
wsh
|
||||||
wsl
|
wsl
|
||||||
|
|||||||
@@ -186,7 +186,6 @@ private:
|
|||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
CAtlFile writePipe(hWritePipe);
|
CAtlFile writePipe(hWritePipe);
|
||||||
MessageBox(parent, L"AAAAAAAAAAAAA", path.c_str(), MB_OK);
|
|
||||||
|
|
||||||
CString commandLine;
|
CString commandLine;
|
||||||
commandLine.Format(_T("\"%s\""), lpApplicationName);
|
commandLine.Format(_T("\"%s\""), lpApplicationName);
|
||||||
@@ -215,16 +214,9 @@ private:
|
|||||||
NULL,
|
NULL,
|
||||||
&startupInfo,
|
&startupInfo,
|
||||||
&processInformation);
|
&processInformation);
|
||||||
HWND parent2 = nullptr;
|
|
||||||
if (m_site)
|
|
||||||
{
|
|
||||||
RETURN_IF_FAILED(IUnknown_GetWindow(m_site.Get(), &parent2));
|
|
||||||
|
|
||||||
MessageBox(parent, path.c_str(), L"IMA SAJT", MB_OK);
|
|
||||||
}
|
|
||||||
RunNonElevatedEx(path.c_str(), {}, get_module_folderpath(g_hInst));
|
RunNonElevatedEx(path.c_str(), {}, get_module_folderpath(g_hInst));
|
||||||
MessageBox(parent, path.c_str(), L"asd352432424", MB_OK);
|
|
||||||
ShellExecute(parent2, L"open", L"C:\\Users\\stefan\\Projects\\PowerToys\\x64\\Debug\\modules\\PowerRename\\PowerToys.PowerRename.exe", nullptr, nullptr, SW_SHOWNORMAL);
|
|
||||||
delete[] lpszCommandLine;
|
delete[] lpszCommandLine;
|
||||||
if (!CloseHandle(processInformation.hProcess))
|
if (!CloseHandle(processInformation.hProcess))
|
||||||
{
|
{
|
||||||
@@ -236,7 +228,6 @@ private:
|
|||||||
hr = HRESULT_FROM_WIN32(GetLastError());
|
hr = HRESULT_FROM_WIN32(GetLastError());
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
MessageBox(parent, path.c_str(), L"CCCCCCCCCCCCCCCC", MB_OK);
|
|
||||||
|
|
||||||
//m_pdtobj will be NULL when invoked from the MSIX build as Initialize is never called (IShellExtInit functions aren't called in case of MSIX).
|
//m_pdtobj will be NULL when invoked from the MSIX build as Initialize is never called (IShellExtInit functions aren't called in case of MSIX).
|
||||||
DWORD fileCount = 0;
|
DWORD fileCount = 0;
|
||||||
@@ -256,10 +247,6 @@ private:
|
|||||||
// Write the file path into the input stream for image resizer
|
// Write the file path into the input stream for image resizer
|
||||||
writePipe.Write(fileName, fileName.GetLength() * sizeof(TCHAR));
|
writePipe.Write(fileName, fileName.GetLength() * sizeof(TCHAR));
|
||||||
}
|
}
|
||||||
std::wstring asd = L"asdasdasd";
|
|
||||||
asd += L" " + std::to_wstring( fileCount) + L" SDASDASDAD";
|
|
||||||
MessageBox(parent, asd.c_str(), L"CCCCCCCCCCCCCCCC", MB_OK);
|
|
||||||
|
|
||||||
writePipe.Close();
|
writePipe.Close();
|
||||||
}
|
}
|
||||||
Trace::InvokedRet(hr);
|
Trace::InvokedRet(hr);
|
||||||
|
|||||||
@@ -195,8 +195,8 @@ public:
|
|||||||
if (deploymentOperation.Status() == AsyncStatus::Error)
|
if (deploymentOperation.Status() == AsyncStatus::Error)
|
||||||
{
|
{
|
||||||
auto deploymentResult{ deploymentOperation.GetResults() };
|
auto deploymentResult{ deploymentOperation.GetResults() };
|
||||||
auto asd = deploymentOperation.ErrorCode();
|
auto errorCode = deploymentOperation.ErrorCode();
|
||||||
auto asd1 = deploymentResult.ErrorText().c_str();
|
auto errorText = deploymentResult.ErrorText().c_str();
|
||||||
returnValue = 1;
|
returnValue = 1;
|
||||||
}
|
}
|
||||||
else if (deploymentOperation.Status() == AsyncStatus::Canceled)
|
else if (deploymentOperation.Status() == AsyncStatus::Canceled)
|
||||||
|
|||||||
Reference in New Issue
Block a user