IWDTFTargets2::GetInterfaces method

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

Syntax


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

Parameters

ProgID [in]

The WDTF ProgID of the requested interface.

MoreTargets [in, optional]

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.

MonikerSuffix [in, optional]

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.

ppInterface [out, retval]

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

Minimum supported client

Windows XP Professional

Minimum supported server

Windows Server 2008

Namespace

Microsoft.WDTF

Assembly

WDTF.Interop.metadata_dll

Header

WDTF.h

IDL

WDTF.idl

See also

IWDTFTargets2

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft