[BROWSEUI] Use override keyword and STDMETHODIMP_

CORE-19469
This commit is contained in:
Katayama Hirofumi MZ 2024-07-14 10:59:10 +09:00
parent 7bec458077
commit 0574987b20
2 changed files with 8 additions and 8 deletions

View File

@ -18,10 +18,10 @@ public:
~CShellTaskScheduler();
// *** IShellTaskScheduler methods ***
STDMETHODIMP AddTask(IRunnableTask *pTask, REFGUID rtoid, DWORD_PTR lParam, DWORD dwPriority);
STDMETHODIMP RemoveTasks(REFGUID rtoid, DWORD_PTR lParam, BOOL fWaitIfRunning);
virtual UINT STDMETHODCALLTYPE CountTasks(REFGUID rtoid);
STDMETHODIMP Status(DWORD dwReleaseStatus, DWORD dwThreadTimeout);
STDMETHODIMP AddTask(IRunnableTask *pTask, REFGUID rtoid, DWORD_PTR lParam, DWORD dwPriority) override;
STDMETHODIMP RemoveTasks(REFGUID rtoid, DWORD_PTR lParam, BOOL fWaitIfRunning) override;
STDMETHODIMP_(UINT) CountTasks(REFGUID rtoid) override;
STDMETHODIMP Status(DWORD dwReleaseStatus, DWORD dwThreadTimeout) override;
public:

View File

@ -19,11 +19,11 @@ public:
~CUserAssist();
// *** IUserAssist methods ***
STDMETHODIMP FireEvent(GUID const *guid, INT param1, ULONG param2, WPARAM wparam, LPARAM lparam);
STDMETHODIMP FireEvent(GUID const *guid, INT param1, ULONG param2, WPARAM wparam, LPARAM lparam) override;
// FIXME: PVOID should point to undocumented UEMINFO structure.
STDMETHODIMP QueryEvent(GUID const *guid, INT param, WPARAM wparam, LPARAM lparam, PVOID ptr);
STDMETHODIMP SetEvent(GUID const *guid, INT param, WPARAM wparam, LPARAM lparam, PVOID ptr);
STDMETHODIMP Enable(BOOL bEnable);
STDMETHODIMP QueryEvent(GUID const *guid, INT param, WPARAM wparam, LPARAM lparam, PVOID ptr) override;
STDMETHODIMP SetEvent(GUID const *guid, INT param, WPARAM wparam, LPARAM lparam, PVOID ptr) override;
STDMETHODIMP Enable(BOOL bEnable) override;
public: