ITypeLib::GetDocumentation method (oaidl.h)
Retrieves the documentation string for the library, the complete Help file name and path, and the context identifier for the library Help topic in the Help file.
Syntax
HRESULT GetDocumentation(
[in] INT index,
[out] BSTR *pBstrName,
[out] BSTR *pBstrDocString,
[out] DWORD *pdwHelpContext,
[out] BSTR *pBstrHelpFile
);
Parameters
[in] index
The index of the type description whose documentation is to be returned. If index is -1, then the documentation for the library itself is returned.
[out] pBstrName
The name of the specified item. If the caller does not need the item name, then pBstrName can be null.
[out] pBstrDocString
The documentation string for the specified item. If the caller does not need the documentation string, then pBstrDocString can be null..
[out] pdwHelpContext
The Help context identifier (ID) associated with the specified item. If the caller does not need the Help context ID, then pdwHelpContext can be null.
[out] pBstrHelpFile
The fully qualified name of the Help file. If the caller does not need the Help file name, then pBstrHelpFile can be null.
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. |
Remarks
The caller should free the parameters pBstrName, pBstrDocString, and pBstrHelpFile.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for