ICreateTypeInfo2::SetCustData method (oaidl.h)
Sets a value for custom data.
Syntax
HRESULT SetCustData(
[in] REFGUID guid,
[in] VARIANT *pVarVal
);
Parameters
[in] guid
The unique identifier that can be used to identify the data.
[in] pVarVal
The data to store (any variant except an object).
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. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |