[EXPLORER] Use STDMETHODIMP and override (#7645)

Follow the standard way.
JIRA issue: CORE-19469
- Use STDMETHODIMP and override keyword
  instead of virtual HRESULT STDMETHODCALLTYPE.
- Delete CTaskBand::ProcessMessage and
  CTaskBand::ContainsWindow methods.
  I think they are useless.
This commit is contained in:
Katayama Hirofumi MZ 2025-01-21 10:03:52 +09:00 committed by GitHub
parent 56988ffbf8
commit 853b8ebd02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 201 additions and 149 deletions

View file

@ -496,7 +496,10 @@ public:
return GetParent().SendMessage(WM_NOTIFY, 0, (LPARAM)hdr);
}
HRESULT WINAPI GetWindow(HWND* phwnd)
// *** IOleWindow methods ***
STDMETHODIMP
GetWindow(HWND* phwnd) override
{
if (!phwnd)
return E_INVALIDARG;
@ -504,7 +507,8 @@ public:
return S_OK;
}
HRESULT WINAPI ContextSensitiveHelp(BOOL fEnterMode)
STDMETHODIMP
ContextSensitiveHelp(BOOL fEnterMode) override
{
return E_NOTIMPL;
}