mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 17:01:53 +00:00
[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:
parent
56988ffbf8
commit
853b8ebd02
9 changed files with 201 additions and 149 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue