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::SetParameterizedInterface method

Assigns a parameterized interface to the metadata builder.

Syntax


HRESULT SetParameterizedInterface(
   GUID   piid,
   UINT32 numArgs
);

Parameters

piid

Type: GUID

The IID of the specified parameterized interface type.

numArgs

Type: UINT32

The number of type arguments required by the specified parameterized interface type.

Return value

Type: HRESULT

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

Remarks

This method is only for the non-instantiated parameterized interface. Instances are handled by RoGetParameterizedTypeInstanceIID, and the caller does not need to parse them.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Roparameterizediid.h

See also

IRoSimpleMetaDataBuilder

 

 

Show:
© 2016 Microsoft