Skip to content

Commit

Permalink
# This is a combination of 2 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

powerrename: implement shellext support for UWP

# The commit message #2 will be skipped:

# fixup shellext
  • Loading branch information
yuyoyuppe committed Dec 20, 2019
1 parent e6c5125 commit 5fe746c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/powerrename/dll/PowerRenameExt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ DWORD WINAPI CPowerRenameMenu::s_PowerRenameUIThreadProc(_In_ void* pData)

if (SUCCEEDED(hr))
{
IDataObject * dummy;
// If we're running on a local COM server, we need to decrement previously incremented in ::Invoke() module ref.
IDataObject* dummy;
// If we're running on a local COM server, we need to decrement module refcount, which was previously incremented in CPowerRenameMenu::Invoke.
if (SUCCEEDED(dataSource->QueryInterface(IID_IShellItemArray, reinterpret_cast<void**>(&dummy))))
{
ModuleRelease();
Expand Down

0 comments on commit 5fe746c

Please sign in to comment.