Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRoSimpleMetaDataBuilder::SetInterfaceGroupSimpleDefault method

Assigns an interface group to the metadata builder.

Syntax


HRESULT SetInterfaceGroupSimpleDefault(
                  PCWSTR name,
                  PCWSTR defaultInterfaceName,
  [in, out] const GUID   defaultInterfaceIID
);

Parameters

name

Type: PCWSTR

The fully qualified name of the specified interface group type.

defaultInterfaceName

Type: PCWSTR

The fully qualified name of the default interface (must be a non-parametric type).

defaultInterfaceIID [in, out]

Type: const GUID

Optional. If null, a separate call will be made to resolve the default interface type. If not null, pointer to a GUID that contains the IID for the default interface named by defaultInterfaceName.

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 default interface that is a non-parametric type.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Roparameterizediid.h

See also

IRoSimpleMetaDataBuilder

 

 

Show:
© 2016 Microsoft