ICreateTypeLib::SetDocString method (oaidl.h)

Sets the documentation string associated with the library.

Syntax

HRESULT SetDocString(
  [in] LPOLESTR szDoc
);

Parameters

[in] szDoc

A brief description of the type library.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
One or more of the arguments is not valid.
E_OUTOFMEMORY
Insufficient memory to complete the operation.
STG_E_INSUFFICIENTMEMORY
Insufficient memory to complete the operation.

Remarks

The documentation string is a brief description of the library intended for use by type information browsing tools.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ICreateTypeLib