Windows apps
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::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

 

 

Show:
© 2017 Microsoft