ICreateErrorInfo::SetHelpFile method (oaidl.h)

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

Syntax

HRESULT SetHelpFile(
  [in] LPOLESTR szHelpFile
);

Parameters

[in] szHelpFile

The fully qualified path of the Help file that describes the error.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_OUTOFMEMORY
Insufficient memory to complete the operation.

Remarks

This method sets the fully qualified path of the Help file that describes the current error. Use ICreateErrorInfo::SetHelpContext to set the Help context ID for the error in the Help file.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ICreateErrorInfo