ITaskScheduler::IsOfType method

[[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(
  LPCWSTR pwszName,
  REFIID  riid
);

Parameters

pwszName

A null-terminated string that contains the name of the object to check.

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

   
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

See Also

ITaskScheduler