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 |
|
See also