ICreateTypeInfo::SetTypeDescAlias method (oaidl.h)
Sets the type description for which this type description is an alias, if TYPEKIND=TKIND_ALIAS.
Syntax
HRESULT SetTypeDescAlias(
[in] TYPEDESC *pTDescAlias
);
Parameters
[in] pTDescAlias
The type description.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
One or more of the arguments is not valid. |
|
Insufficient memory to complete the operation. |
|
Cannot write to the destination. |
|
Insufficient memory to complete the operation. |
|
Type mismatch. |
Remarks
To set the type for an alias, call SetTypeDescAlias for a type description whose TYPEKIND is TKIND_ALIAS.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |