IErrorInfo::GetHelpFile method (oaidl.h)

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

Syntax

HRESULT GetHelpFile(
  [out] BSTR *pBstrHelpFile
);

Parameters

[out] pBstrHelpFile

The fully qualified path of the Help file.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method 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.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

IErrorInfo