Files
reactos/dll/win32/shell32/CUserEventTimer.h
T
095860df57 [SDK][SHELL32] A big bundle of NT6+ shell32 implementations and stubs (#8834)
Split off CShellitemArray
stub out CShellLibrary
stub out CUserEventTimer
rewrite some vista shellitem APIs
Misc stubs for vista
AddITaskbarList3/ITaskbarList4

---------

Co-authored-by: Oleb Dubinskiy <[email protected]>
Co-authored-by: Mikhail Tyukin <[email protected]>
2026-07-21 12:11:29 -07:00

41 lines
1.4 KiB
C++

/*
* PROJECT: shell32
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
* PURPOSE: IUserEventTimer header
* COPYRIGHT: Copyright 2021 Oleg Dubinskiy ([email protected])
*/
#ifndef _CUSEREVENTTIMER_H_
#define _CUSEREVENTTIMER_H_
class CUserEventTimer :
public CComCoClass<CUserEventTimer, &CLSID_UserEventTimer>,
public CComObjectRootEx<CComMultiThreadModelNoCS>,
public IUserEventTimer
{
public:
/*** IUserEventTimerCallback methods ***/
virtual STDMETHODIMP UserEventTimerProc(ULONG uUserEventTimerID, UINT uTimerElapse) override;
/*** IUserEventTimer methods ***/
virtual STDMETHODIMP SetUserEventTimer(HWND hWnd, UINT uCallbackMsg, UINT uTimerElapse,
IUserEventTimerCallback *pUserEventTimerCallback,
ULONG *puUserEventTimerID) override;
virtual STDMETHODIMP KillUserEventTimer(HWND hWnd, ULONG uUserEventTimerID) override;
virtual STDMETHODIMP GetUserEventTimerElapsed(HWND hWnd, ULONG uUserEventTimerID, UINT *puTimerElapsed) override;
virtual STDMETHODIMP InitTimerTickInterval(UINT uTimerTickIntervalMs) override;
DECLARE_REGISTRY_RESOURCEID(IDR_USEREVENTTIMER)
DECLARE_NOT_AGGREGATABLE(CUserEventTimer)
DECLARE_PROTECT_FINAL_CONSTRUCT()
BEGIN_COM_MAP(CUserEventTimer)
COM_INTERFACE_ENTRY_IID(IID_IUserEventTimer, IUserEventTimer)
END_COM_MAP()
};
#endif // _CUSEREVENTTIMER_H_