IRoSimpleMetaDataBuilder::SetInterfaceGroupParameterizedDefault method

Assigns an interface group with a parameterized interface as the default interface to the metadata builder.

Syntax

HRESULT SetInterfaceGroupParameterizedDefault(
       PCWSTR name,
       UINT32 elementCount,
  [in] PCWSTR defaultInterfaceNameElements
);

Parameters

  • name
    Type: PCWSTR

    The fully qualified name of the specified interface group type.

  • elementCount
    Type: UINT32

    The number of elements in the defaultInterfaceNameElements array.

  • defaultInterfaceNameElements [in]
    Type: PCWSTR

    An array, as would be returned by RoParseTypeName, that specifies a parameterized type instance.

Return value

Type: HRESULT

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

Remarks

Call this method when an interface group has a parameterized interface as its default interface.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Roparameterizediid.h

See also

IRoSimpleMetaDataBuilder