Skip to content

Latest commit

 

History

History
68 lines (56 loc) · 2.3 KB

nf-shobjidl_core-ishelltaskscheduler-counttasks.md

File metadata and controls

68 lines (56 loc) · 2.3 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shobjidl_core.IShellTaskScheduler.CountTasks
IShellTaskScheduler::CountTasks (shobjidl_core.h)
Counts tasks with the same owner ID in the scheduler's queue.
CountTasks
CountTasks method [Windows Shell]
CountTasks method [Windows Shell]
IShellTaskScheduler interface
IShellTaskScheduler interface [Windows Shell]
CountTasks method
IShellTaskScheduler.CountTasks
IShellTaskScheduler::CountTasks
_win32_IShellTaskScheduler_CountTasks
shell.IShellTaskScheduler_CountTasks
shobjidl_core/IShellTaskScheduler::CountTasks
shell\IShellTaskScheduler_CountTasks.htm
shell
41c0af40-35c2-4ce2-b9c3-246ee6268f49
12/05/2018
CountTasks, CountTasks method [Windows Shell], CountTasks method [Windows Shell],IShellTaskScheduler interface, IShellTaskScheduler interface [Windows Shell],CountTasks method, IShellTaskScheduler.CountTasks, IShellTaskScheduler::CountTasks, _win32_IShellTaskScheduler_CountTasks, shell.IShellTaskScheduler_CountTasks, shobjidl_core/IShellTaskScheduler::CountTasks
shobjidl_core.h
Shobjidl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Shobjidl.idl
Shell32.dll (version 5.0 or later)
Windows
19H1
IShellTaskScheduler::CountTasks
shobjidl_core/IShellTaskScheduler::CountTasks
c++
APIRef
kbSyntax
COM
Shell32.dll
IShellTaskScheduler.CountTasks

IShellTaskScheduler::CountTasks

-description

Counts tasks with the same owner ID in the scheduler's queue.

-parameters

-param rtoid [in]

Type: REFTASKOWNERID

A GUID identifying the owner of the tasks. Supplying a specific ID will count only those tasks tagged with that owner ID. To count all items in the queue, pass TOID_NULL.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.