ITaskScheduler::IsOfType method (mstask.h)
[[This API may be altered or unavailable in subsequent versions of the operating system or product. Please use the Task Scheduler 2.0 Interfaces instead.] ]
The IsOfType method checks the object's type to verify that it supports a particular interface.
Syntax
HRESULT IsOfType(
[in] LPCWSTR pwszName,
[in] REFIID riid
);
Parameters
[in] pwszName
A null-terminated string that contains the name of the object to check.
[in] riid
The reference identifier of the interface to be matched.
Return value
The IsOfType method returns S_OK if the object named by pwszName supports the interface specified in riid. Otherwise, S_FALSE is returned.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | mstask.h |
Library | Mstask.lib |
DLL | Mstask.dll |
Redistributable | Internet Explorer 4.0 or later on Windows NT 4.0 and Windows 95 |