Windows apps
Collapse the table of content
Expand the table of content

IErrorInfo::GetHelpFile Function

Returns the path of the Help file that describes the error.

HRESULT GetHelpFile(
  BSTR  *pBstrHelpFile
);

pBstrHelpFile

Pointer to a string that contains the fully qualified path of the Help file.

The return value obtained from the returned HRESULT is:

Return value

Meaning

S_OK

Success.

IErrorInfo::GetHelpFile returns the fully qualified path of the Help file that describes the current error. IErrorInfo::GetHelpContext should be used to find the Help context ID for the error in the Help file.

Show:
© 2017 Microsoft