Revert debug stuff

This commit is contained in:
Stefan Markovic 2024-02-23 11:01:57 +01:00
parent 0388c629c7
commit eb3be6ad49
2 changed files with 3 additions and 23 deletions

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="4.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
@ -41,27 +42,6 @@
<None Include="Assets\FileLocksmith\**">
<Filter>Resource Files</Filter>
</None>
<None Include="Assets\FileLocksmith\**">
<Filter>Resource Files</Filter>
</None>
<None Include="Assets\FileLocksmith\**">
<Filter>Resource Files</Filter>
</None>
<None Include="Assets\FileLocksmith\**">
<Filter>Resource Files</Filter>
</None>
<None Include="Assets\FileLocksmith\**">
<Filter>Resource Files</Filter>
</None>
<None Include="Assets\FileLocksmith\**">
<Filter>Resource Files</Filter>
</None>
<None Include="Assets\FileLocksmith\**">
<Filter>Resource Files</Filter>
</None>
<None Include="Assets\FileLocksmith\**">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="FileLocksmithContextMenu.base.rc">

View File

@ -151,7 +151,7 @@ HRESULT CPowerRenameMenu::RunPowerRename(CMINVOKECOMMANDINFO* pici, IShellItemAr
sa.nLength = sizeof(SECURITY_ATTRIBUTES);
sa.lpSecurityDescriptor = NULL;
sa.bInheritHandle = TRUE;
if (!CreatePipe(&hReadPipe, &hWritePipe, NULL, 0))
if (!CreatePipe(&hReadPipe, &hWritePipe, &sa, 0))
{
hr = HRESULT_FROM_WIN32(GetLastError());
return hr;