ReactOS 0.4.16-dev-334-g4d9f67c
CShellTaskScheduler.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS browseui
3 * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4 * PURPOSE: IShellTaskScheduler implementation
5 * COPYRIGHT: Copyright 2020 Oleg Dubinskiy (oleg.dubinskij30@gmail.com)
6 */
7
8#pragma once
9
11 public CComCoClass<CShellTaskScheduler, &CLSID_ShellTaskScheduler>,
12 public CComObjectRootEx<CComMultiThreadModelNoCS>,
14{
15private:
16public:
19
20 // *** IShellTaskScheduler methods ***
21 STDMETHODIMP AddTask(IRunnableTask *pTask, REFGUID rtoid, DWORD_PTR lParam, DWORD dwPriority) override;
22 STDMETHODIMP RemoveTasks(REFGUID rtoid, DWORD_PTR lParam, BOOL fWaitIfRunning) override;
24 STDMETHODIMP Status(DWORD dwReleaseStatus, DWORD dwThreadTimeout) override;
25
26public:
27
30
32
34 COM_INTERFACE_ENTRY_IID(IID_IShellTaskScheduler, IShellTaskScheduler)
36};
#define STDMETHODIMP
Definition: basetyps.h:43
STDMETHODIMP RemoveTasks(REFGUID rtoid, DWORD_PTR lParam, BOOL fWaitIfRunning) override
STDMETHODIMP_(UINT) CountTasks(REFGUID rtoid) override
STDMETHODIMP AddTask(IRunnableTask *pTask, REFGUID rtoid, DWORD_PTR lParam, DWORD dwPriority) override
LPARAM lParam
Definition: combotst.c:139
#define IDR_SHELLTASKSCHEDULER
Definition: resource.h:111
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
Status
Definition: gdiplustypes.h:25
UINT CountTasks([in] REFGUID rtoid)
#define BEGIN_COM_MAP(x)
Definition: atlcom.h:581
#define COM_INTERFACE_ENTRY_IID(iid, x)
Definition: atlcom.h:601
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
Definition: atlcom.h:679
#define DECLARE_NOT_AGGREGATABLE(x)
Definition: atlcom.h:651
#define DECLARE_REGISTRY_RESOURCEID(x)
Definition: atlcom.h:645
#define END_COM_MAP()
Definition: atlcom.h:592
unsigned int UINT
Definition: ndis.h:50
Definition: scsiwmi.h:51
uint32_t DWORD_PTR
Definition: typedefs.h:65