mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:02:56 +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
|
@ -104,8 +104,10 @@ private:
|
|||
VOID PaintLine(IN HDC hDC, IN OUT RECT *rcClient, IN UINT LineNumber, IN UINT szLinesIndex);
|
||||
|
||||
public:
|
||||
// *** IOleWindow methods ***
|
||||
|
||||
HRESULT WINAPI GetWindow(HWND* phwnd)
|
||||
STDMETHODIMP
|
||||
GetWindow(HWND* phwnd) override
|
||||
{
|
||||
if (!phwnd)
|
||||
return E_INVALIDARG;
|
||||
|
@ -113,7 +115,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