IErrorInfo::GetHelpContext method (oaidl.h)

Returns the Help context identifier (ID) for the error.

Syntax

HRESULT GetHelpContext(
  [out] DWORD *pdwHelpContext
);

Parameters

[out] pdwHelpContext

The Help context ID for the error.

Return value

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

Remarks

This method returns the Help context ID for the error. To find the Help file to which it applies, use IErrorInfo::GetHelpFile.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

IErrorInfo