Skip to content

Commit

Permalink
[SHELL32] -CShellDispatch: Properly register Shell.Application. Imple…
Browse files Browse the repository at this point in the history
…ment CShellDispatch::ShutdownWindows. CORE-13010

svn path=/trunk/; revision=74268
  • Loading branch information
yagoulas committed Apr 2, 2017
1 parent 29d8855 commit fbfd0e5
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reactos/dll/win32/shell32/CShellDispatch.cpp
Expand Up @@ -142,8 +142,8 @@ HRESULT STDMETHODCALLTYPE CShellDispatch::TileHorizontally()

HRESULT STDMETHODCALLTYPE CShellDispatch::ShutdownWindows()
{
TRACE("(%p)\n", this);
return E_NOTIMPL;
ExitWindowsDialog(NULL);
return S_OK;
}

HRESULT STDMETHODCALLTYPE CShellDispatch::Suspend()
Expand Down
27 changes: 27 additions & 0 deletions reactos/dll/win32/shell32/res/rgs/shell.rgs
Expand Up @@ -8,6 +8,33 @@ HKCR
{
val ThreadingModel = s 'Apartment'
}
ProgID = s 'Shell.Application.1'
TypeLib = s '{50a7e9b0-70ef-11d1-b75a-00a0c90564fe}'
Version = s '1.1'
VersionIndependentProgID = s 'Shell.Application'
}
}

NoRemove TypeLib
{
ForceRemove {50A7E9B0-70EF-11D1-B75A-00A0C90564FE}
{
'1.1' = s 'Shell Controls And Automation'
{
'0' { win32 = s '%MODULE%' }
FLAGS = s '0'
}
}
}

'Shell.Application' = s 'Shell Automation Service'
{
CLSID = s '{13709620-C279-11CE-A49E-444553540000}'
CurVer = s 'Shell.Application.1'
}

'Shell.Application.1' = s 'Shell Automation Service'
{
CLSID = s '{13709620-C279-11CE-A49E-444553540000}'
}
}

0 comments on commit fbfd0e5

Please sign in to comment.