IErrorInfo::GetHelpContext method (oaidl.h)

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

Syntax

HRESULT GetHelpContext(
  DWORD *pdwHelpContext
);

Parameters

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

   
Target Platform Windows
Header oaidl.h

See also

IErrorInfo