IRoSimpleMetaDataBuilder::SetWinRtInterface method

Assigns a Windows Runtime interface to the metadata builder.

Syntax

HRESULT SetWinRtInterface(
   GUID iid
);

Parameters

  • iid
    Type: GUID

    The IID for the interface.

Return value

Type: HRESULT

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

Remarks

IInspectable and other non-Windows Runtime interfaces are not allowed. Not for use with parameterized type instances.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Roparameterizediid.h

See also

IRoSimpleMetaDataBuilder