IWDTFTargets2::GetInterfaces method (wdtf.h)

Returns a collection of actions that support the interface - one IWDTFAction2 for each item that has one.

Syntax

HRESULT GetInterfaces(
                 BSTR          WDTFInterfaceName,
  [in, optional] VARIANT       MoreTargets,
  [in, optional] VARIANT       MonikerSuffix,
  [out, retval]  IWDTFActions2 **ppInterface
);

Parameters

WDTFInterfaceName

[in, optional] MoreTargets

Optional extra arguments that you can use to define additional targets to attach to the returned interface.

This parameter is not currently implemented. Set MoreTargets to a VARIANT that contains VT_EMPTY.

[in, optional] MonikerSuffix

An optional moniker that defines more options about how the interface should be instantiated.

This parameter is not yet implemented. Set MonikerSuffix to a VARIANT that contains VT_EMPTY.

[out, retval] ppInterface

The address of a variable that will receive the collection of actions.

Return value

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

Remarks

If any items in the collection fail to return an action, this method fails.

Requirements

Requirement Value
Minimum supported client Windows XP Professional
Minimum supported server Windows Server 2008
Target Platform Desktop
Header wdtf.h

See also

IWDTFTargets2