ICreateTypeInfo::SetDocString method (oaidl.h)
Sets the documentation string displayed by type browsers.
Syntax
HRESULT SetDocString(
[in] LPOLESTR pStrDoc
);
Parameters
[in] pStrDoc
A brief description of the type description.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
Insufficient memory to complete the operation. |
|
Cannot write to the destination. |
|
Insufficient memory to complete the operation. |
|
The state of the type library is not valid for this operation. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |