ICreateTypeLib::SetName method (oaidl.h)
Sets the name of the type library.
Syntax
HRESULT SetName(
[in] LPOLESTR szName
);
Parameters
[in] szName
The name to be assigned to the library.
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. |
|
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 |